MSBuildForUnity icon indicating copy to clipboard operation
MSBuildForUnity copied to clipboard

Doesn't work with projects with spaces in the name

Open rgonzalezVW opened this issue 5 years ago • 1 comments

If the Unity project has spaces in the name, or the added csproj files contains spaces, it's unable to compile the projects. For example, if I create a project with the default Unity name "New Unity Project", the resulting compile command line is "C:\Program Files\dotnet\dotnet.exe msbuild New Unity Project.Dependencies.msb4u.csproj -restore -v:minimal -p:NuGetInteractive=true -t:Build -p:Configuration=Release", which causes "MSBUILD : error MSB1008: Only one project can be specified.". Adding quotes around the project name should solve this issue.

rgonzalezVW avatar Feb 06 '20 10:02 rgonzalezVW

This is a problem for us as well. Our setup requires space in product name. Is this something planned to fix?

mgrman avatar May 11 '20 14:05 mgrman