-
Notifications
You must be signed in to change notification settings - Fork 586
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FAKE bootstrap does not work with paths containing spaces+unicode characters #2054
Comments
Yes it looks like there is a bug in the template, or in the shell scripts to be exact |
Also I noticed that we still install version 5.0.0 of the runtime because we have /cc @kblohm |
Looks like you found two bugs: One is that in the matth@DESKTOP-FQBAN56 E:\Projects\FAKE\temp\Mikael Öhman\Reproduce
$ dotnet tool install fake-cli --tool-path ./.fake --version 5.*
MSBUILD : error MSB1006: Property is not valid.
Switch: hman\Reproduce\.fake\.store\.stage\24kqfmg2.aq2
For switch syntax, type "MSBuild /help"
The tool package could not be restored.
Tool 'fake-cli' failed to install. This failure may have been caused by:
* You are attempting to install a preview release and did not use the --version option to specify the version.
* A package by this name was found, but it was not a .NET Core tool.
* The required NuGet feed cannot be accessed, perhaps because of an Internet connection problem.
* You mistyped the name of the tool Can you please report this to the dotnet sdk repository? Also we cannot workaround as |
Thanks for quick response and investigation. Will link to this in that repo. |
I'm closing this since it is external and already fixed. |
Description
In trying to follow the steps here: https://fake.build/fake-template.html , I receive an error and the fake-cli cannot be installed.
Repro steps
Run:
1.
dotnet new -i "fake-template::*"
2.
dotnet new fake
3.
.\fake.cmd build
in the path: C:\Users\Mikael Öhman\Programming\ReproduceScaffold
Expected behavior
FAKE installs fake.exe in folder .fake.
Actual behavior
Following output is encountered:
Known workarounds
Use other bootstrap methods such as "none", and use a global install of fake cli. Or, install fake cli by setting the toolpath in a relative way, not referencing the problematic characters (Ö) and spaces.
Related information
The text was updated successfully, but these errors were encountered: