Rider updated to dotnet 11 preview, and now projects don't build

Rider has decided to install dotnet 11 preview, and now I can't build my projects.

0>Microsoft.NET.RuntimeIdentifierInference.targets(383,5): Message NETSDK1057 : You are using a preview version of .NET. See: https://aka.ms/dotnet-support-policy
0>Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(121,5): Error MSB4018 : The "ProcessFrameworkReferences" task failed unexpectedly.
System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Deployment.DotNet.Releases, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. The system cannot find the file specified.
 

How do I undo this so I can continue using the frameworks I have actually installed (8, 9, and 10)?

0
1 comment

Never mind. I found this

https://stackoverflow.com/questions/78068121/where-does-rider-install-net

and where I knew where it had installed dotnet, I didn't realise I could change it to point to the system one, so I could delete the folder. I just hope it doesn't try to reinstall it

0

Please sign in to leave a comment.