Nordgaren / Elden-Ring-Debug-Tool

Debug tool for Elden Ring modding
GNU General Public License v3.0
131 stars 21 forks source link

MSBuild error #30

Closed parthnaik92 closed 1 year ago

parthnaik92 commented 1 year ago

When I open the project using VS2019, it gives me the following error (and rightfully so since VS 2019 supports MSBuild up to 16.11)- Version 6.0.400 of the .NET SDK requires at least version 17.0.0 of MSBuild.

Is it possible to open and build the project using VS2019 or will I have to download VS2022? My work requires me to work in VS2019 so I would prefer if there is a way to open this project with it. Also, is there a way to manually update MSBuild?

Nordgaren commented 1 year ago

Sounds like you need to get the .net 6.0.4 SDK.

https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/sdk-6.0.406-windows-x64-installer

parthnaik92 commented 1 year ago

I did that. Since MSBuild 17 ships with it, I had also thought it would solve the issue but it did not.

parthnaik92 commented 1 year ago

I was able to figure it out. I did 2 things so it could be either one that helped 🤣

  1. I restated my PC after installing .NET 6.0.4 sdk
  2. I opened VS Installer and checked .NET SDK (out of support)
Nordgaren commented 1 year ago

Yea, it could have been either of those. Microsoft is really annoying.

Just to download older visual studios, you have to sign up for some "dev essentials" program, now.

So it's not like they are making things easy on anyone. :P