You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've tried to clone this project and make it build on my windows 10 machine, but I'm having trouble.
At first I cloned the project into my usual dev directory, which is at C:\Users\Marius Gundersen\dev\dotnet-runtime, but when I rat the build I got the error MSBUILD : error MSB1008: Only one project can be specified.. A bit of googling revealed that this happens when there is a space in the path.
So I moved the project to C:\dev\dotnet-runtime and tried again. Now it fails when I run build -subsetCategory coreclr -c Release with the error LINK : fatal error LNK1266: error reading instrumentation file 'C:\Users\Marius'; Unhandled PDB error [C:\dev\dotnet-runtime\artifacts\obj\coreclr\Windows_NT.x64.Release\src\dlls\mscoree\coreclr\coreclr.vcxproj]. Again the space in the path seems to be the issue.
Specifically it seems to be a problem in pgosupport.cmake file, these lines:
This fixes building the project on systems where there is a space in the path of the user. For example on Windows where the user might (hypothetically) be called 'Marius Gundersen' and the path to their user folder is `C:\Users\Marius Gundersen\` the build would fail
This fixesdotnet#32165
This fixes building the project on systems where there is a space in the path of the user. For example on Windows where the user might (hypothetically) be called 'Marius Gundersen' and the path to their user folder is `C:\Users\Marius Gundersen\` the build would fail
This fixes#32165
ghost
locked as resolved and limited conversation to collaborators
Dec 10, 2020
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I've tried to clone this project and make it build on my windows 10 machine, but I'm having trouble.
At first I cloned the project into my usual dev directory, which is at
C:\Users\Marius Gundersen\dev\dotnet-runtime
, but when I rat the build I got the errorMSBUILD : error MSB1008: Only one project can be specified.
. A bit of googling revealed that this happens when there is a space in the path.So I moved the project to
C:\dev\dotnet-runtime
and tried again. Now it fails when I runbuild -subsetCategory coreclr -c Release
with the errorLINK : fatal error LNK1266: error reading instrumentation file 'C:\Users\Marius'; Unhandled PDB error [C:\dev\dotnet-runtime\artifacts\obj\coreclr\Windows_NT.x64.Release\src\dlls\mscoree\coreclr\coreclr.vcxproj]
. Again the space in the path seems to be the issue.Specifically it seems to be a problem in pgosupport.cmake file, these lines:
I wrapped the
${ProfilePath}
in these two lines with\"
(escaped since it's inside a string already), and now it seems to work.The text was updated successfully, but these errors were encountered: