Ancestors

Written by Keith Wagner :csharp: on 2024-12-13 at 13:56

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

Written by Andy on 2024-12-13 at 14:10

@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

Toot

Written by Keith Wagner :csharp: on 2024-12-13 at 14:33

@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

Descendants

Written by Khalid Pro Max⚡️ on 2024-12-13 at 15:27

@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.

=> View attached media

=> More informations about this toot | More toots from khalidabuhakmeh@mastodon.social

Written by Keith Wagner :csharp: on 2024-12-13 at 16:36

@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

Written by Khalid Pro Max⚡️ on 2024-12-13 at 16:48

@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.

=> View attached media

=> More informations about this toot | More toots from khalidabuhakmeh@mastodon.social

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113646004998573497
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
607.323275 milliseconds
Gemini-to-HTML Time
1.529973 milliseconds

This content has been proxied by September (3851b).