Blazor compile in dotnet 6 not working when path has a '#' #33832
Labels
area-razor.compiler
This issue is related to the Razor compiler (now external)
bug
This issue describes a behavior which is not expected - a bug.
Done
This issue has been fixed
Milestone
Describe the bug
When the project's path has a hashtag (#), there is a compilation error when compiling with dotnet 6:
This error doesn't happen with dotnet 5
To Reproduce
In dotnet 6, create and compile a new blazor wasm project in a path with
You will get the error. This won't happen with other project types, like console or web. If you try the same with dotnet 5, the error won't occur. In this case, I created the path with a '#', but the error also occurs if the path is something like "C:\Projects\C#\Blazor'
Further technical details
The text was updated successfully, but these errors were encountered: