microsoft / vcperf

A build analysis tool for the MSVC toolchain.
MIT License
294 stars 33 forks source link

Build fails if project is built from a path containing spaces #38

Open annajayne opened 1 year ago

annajayne commented 1 year ago

Just to let you know that the build fails if the project is built from a path which contains spaces.

1>mc : error : errno 13 trying to open file <C:\Users\anna\OneDrive>.
1>C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(150,5): error MSB3073: The command "mc C:\Users\anna\OneDrive - CompanyName\Projects\Tools\vcperf\\src\CppBuildInsightsEtw.xml -h C:\Users\anna\OneDrive - CompanyName\Projects\Tools\vcperf\src\x64\Release\ -r C:\Users\anna\OneDrive - CompanyName\Projects\Tools\vcperf\src\x64\Release\
1>C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(150,5): error MSB3073: :VCEnd" exited with code 1.
1>Done building project "vcperf.vcxproj" -- FAILED.
tom-huntington commented 3 months ago
1> Touching "D:\Cloned Repos\vcperf\src\x64\Debug\vcperf.tlog\unsuccessfulbuild".
1>Target PreBuildEvent:
1> mc : error : errno 2 trying to open file <D:\Cloned>.