Build fail on windows 11 after .NET 5.0 update (Unoffical 4.x works, All deps including .NET 5.0 is installed.)
See original GitHub issueHave you checked Github Issues for similar errors? Yes
Exception
The process failed to execute!
Error:
CSC : error CS1705: Assembly 'IL2CPU.Debug.Symbols' with identity 'IL2CPU.Debug.Symbols, Version=10.0.0.0, Culture=neutral, PublicKeyToken=d73cc016e472ae16' uses 'System.Runtime, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' which has a higher version than referenced assembly 'System.Runtime' with identity 'System.Runtime, Version=4.1.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' [C:\Users\Malte0621\Downloads\build\Cosmos\source\Cosmos.VS.DebugEngine\Cosmos.VS.DebugEngine.csproj]
VS Output Logs https://pastebin.com/raw/2j3xvHQX
To Reproduce
Attempt to build the project using install-VS2019.bat
on windows 11, with .NET 5.0 and all deps installed.
(All repos cloned, everything setup as told)
Screenshots
Context Before posting please confirm that the following are in order [ x ] Both Cosmos VS Extensions are installed [ x ] In the NuGet Package Manager “Include prerelease” is selected [ x ] The Cosmos NuGet package store is selected (NOT nuget.org) in ‘Manage NuGet Packages’ [ x ] The Cosmos NuGet packages are installed
Add any other context about the problem which might be helpful. Only occuress after .NET 5.0 upgrade, unofficial 4.x ones I used compiles without problem. (I have .NET 5.0 SDK and Runtime installed.) I am however on windows 11.
Unoffical Ones I used: https://github.com/xccoreco
Issue Analytics
- State:
- Created 2 years ago
- Comments:9 (4 by maintainers)
Top GitHub Comments
restart the install bat with admin permissions
This does work, for me at least. Running the two commands, not as admin, then opening
install-VS2019.bat
as admin. Even if errors are listed in the two commands. Cloned the 4 repo’s today.I am on Windows 11, version 21H2, build 22000.318. 👍