-
Notifications
You must be signed in to change notification settings - Fork 85
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
avalonia.xplat template replaces spaces with underscores in project references #240
Comments
For additional context, this is a follow up to this discussion: AvaloniaUI/Avalonia#13726 |
Please note that Avalonia itself doesn't care about the spaces. Nor does MSBuild. I believe it's an issue with the project templates, where the spaces were replaced with underscores at creation. Can you please confirm that you were using the In the meantime, you should be able to replace the underscores with spaces in the .sln and .csproj and get everything to compile (it might be faster to simply create a project without spaces from the templates though). |
I added the Avalonia extension to Visual Studio and created a new project with the "Avalonia Cross Platform Application (AvaloniaUI) template. As I'm new to this, I don't know if that matches avalonia.xplat. |
Yes, that's the one. I can clearly reproduce the problem with it. |
Duplicate of #165 |
Describe the bug
The picture below says it all. The path itself remains without spaces, while internally Avalonia expects underscores.
To Reproduce
Make a new solution with spaces in its name and try to compile
Expected behavior
Avalonia should either refrain from making changes or change the path as well.
Screenshots
Environment
Additional context
None
The text was updated successfully, but these errors were encountered: