You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you store this git repo in a path that contains a space, running init.ps1 will fail with a series of error messages.
Repro steps
Clone this repository into a directory with a space in the name and run init.ps1.
Expected behavior
init.ps1 runs without errors.
Actual behavior
This:
PS C:\Users\Jesse\Unshared Code\MessagePack-CSharp> ./init -WhatIf
The netcore Credential Provider is already in C:\Users\Jesse\.nuget\plugins
Installing .NET Core SDK and runtimes to C:\Users\Jesse\.dotnet
What if: Performing the operation "Install" on target ".NET Core SDK 3.1.301".
C:\Users\Jesse\Unshared : The term 'C:\Users\Jesse\Unshared' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ C:\Users\Jesse\Unshared Code\MessagePack-CSharp\obj\tools/dotnet-inst ...
+ ~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (C:\Users\Jesse\Unshared:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
What if: Performing the operation "Install" on target ".NET Core runtime 2.1".
C:\Users\Jesse\Unshared : The term 'C:\Users\Jesse\Unshared' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ C:\Users\Jesse\Unshared Code\MessagePack-CSharp\obj\tools/dotnet-inst ...
+ ~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (C:\Users\Jesse\Unshared:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
What if: Performing the operation "Install" on target ".NET Core runtime 3.1".
C:\Users\Jesse\Unshared : The term 'C:\Users\Jesse\Unshared' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ C:\Users\Jesse\Unshared Code\MessagePack-CSharp\obj\tools/dotnet-inst ...
+ ~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (C:\Users\Jesse\Unshared:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
What if: Performing the operation "Install" on target ".NET Core runtime 3.0".
C:\Users\Jesse\Unshared : The term 'C:\Users\Jesse\Unshared' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ C:\Users\Jesse\Unshared Code\MessagePack-CSharp\obj\tools/dotnet-inst ...
+ ~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (C:\Users\Jesse\Unshared:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
What if: Performing the operation "Install" on target ".NET Core runtime 3.1".
C:\Users\Jesse\Unshared : The term 'C:\Users\Jesse\Unshared' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ C:\Users\Jesse\Unshared Code\MessagePack-CSharp\obj\tools/dotnet-inst ...
+ ~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (C:\Users\Jesse\Unshared:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
What if: Performing the operation "Install" on target ".NET Core runtime 2.1".
C:\Users\Jesse\Unshared : The term 'C:\Users\Jesse\Unshared' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ CategoryInfo : ObjectNotFound: (C:\Users\Jesse\Unshared:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
What if: Performing the operation "Install" on target ".NET Core runtime 3.1".
C:\Users\Jesse\Unshared : The term 'C:\Users\Jesse\Unshared' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ C:\Users\Jesse\Unshared Code\MessagePack-CSharp\obj\tools/dotnet-inst ...
+ ~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (C:\Users\Jesse\Unshared:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
What if: Performing the operation "Install" on target ".NET Core runtime 2.2".
C:\Users\Jesse\Unshared : The term 'C:\Users\Jesse\Unshared' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ C:\Users\Jesse\Unshared Code\MessagePack-CSharp\obj\tools/dotnet-inst ...
+ ~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (C:\Users\Jesse\Unshared:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
What if: Performing the operation "Install" on target ".NET Core runtime 2.1".
C:\Users\Jesse\Unshared : The term 'C:\Users\Jesse\Unshared' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ C:\Users\Jesse\Unshared Code\MessagePack-CSharp\obj\tools/dotnet-inst ...
+ ~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (C:\Users\Jesse\Unshared:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
What if: Performing the operation "Install" on target ".NET Core runtime 3.1".
C:\Users\Jesse\Unshared : The term 'C:\Users\Jesse\Unshared' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ C:\Users\Jesse\Unshared Code\MessagePack-CSharp\obj\tools/dotnet-inst ...
+ ~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (C:\Users\Jesse\Unshared:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
What if: Performing the operation "Install-DotNetSdk.ps1" on target "Set DOTNET environment variables to discover these installed runtimes?".
What if: Performing the operation "Restore" on target "NuGet packages".
Environment variables set:
Name Value
---- -----
PROCDUMP_PATH C:\Users\Jesse\Unshared Code\MessagePack-CSharp\obj\tools\procdump.0.0.1\bin
What if: Performing the operation "Set Item" on target "Item: PROCDUMP_PATH Value: C:\Users\Jesse\Unshared Code\MessagePack-CSharp\obj\tools\procdump.0.0.1\bin".
PS C:\Users\Jesse\Unshared Code\MessagePack-CSharp>
Bug description
If you store this git repo in a path that contains a space, running
init.ps1
will fail with a series of error messages.Repro steps
Clone this repository into a directory with a space in the name and run
init.ps1
.Expected behavior
init.ps1
runs without errors.Actual behavior
This:
The text was updated successfully, but these errors were encountered: