runtime: System.Private.CoreLib.csproj fails to load in System.Private.CoreLib.sln without global installations of nightly/preview SDK

The project fails to load with the log Project "C:\users\gotos\source\repos\runtime\src\coreclr\src\System.Private.CoreLib\codeOptimization.targets" was not imported by "C:\users\gotos\source\repos\runtime\src\coreclr\src\System.Private.CoreLib\System.Private.CoreLib.csproj" at (401,3), due to the file not existing.. This is after building Clr+Libs subset successfully, via build -subset Clr+Libs -runtimeConfig Release on a clean repo.

The said codeOptimization.targets file indeed does not seem to exist in the specified folder.

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 15 (15 by maintainers)

Most upvoted comments

No, I meant the link at the end of your last comment didn’t work…

Oh I see. We just recently branched off for P5, that might be the reason. @dsplaisted are you aware of the dotnet/installer’s P5 links not working correctly in the table? In example https://aka.ms/dotnet/net5/preview5/Sdk/dotnet-sdk-win-x64.exe.

Could do 🙂

Thanks 😃