Hey #dotnet developers, how do you uninstall the .NET 9 SDK. It’s causing compatibility issues with one of my projects and I can’t seem to uninstall it without breaking Visual Studio and Rider.
As an FYI, I still have .NET 6 and 8 installed, so I would figure they should fall back to that.
=> More informations about this toot | More toots from kpwags@hachyderm.io
@kpwags have you tried creating a global json for your project? That should control which SDK version is used for the project. https://learn.microsoft.com/en-us/dotnet/core/tools/global-json
=> More informations about this toot | More toots from adeese@hachyderm.io
@adeese That worked for the CLI, but it didn’t work for VS or Rider
=> More informations about this toot | More toots from kpwags@hachyderm.io
@kpwags @adeese Rider should pick up the global.json
file. Make sure it is at the root of your solution. Right-click the solution and choose "Manage SDK" at the bottom.
=> More informations about this toot | More toots from khalidabuhakmeh@mastodon.social
@khalidabuhakmeh @adeese That actually got it to work.
Thanks so much, I really appreciate it
=> More informations about this toot | More toots from kpwags@hachyderm.io
@kpwags @adeese Awesome! Yeah, the global.json file is finicky. I joke that it's the cause of and solution to all your #dotnet problems.
=> More informations about this toot | More toots from khalidabuhakmeh@mastodon.social This content has been proxied by September (3851b).Proxy Information
text/gemini