MSB3971: The reference assemblies for 'name' were not found
The full error is:
The reference assemblies for 'framework-version' were not found. You might be using an older .NET SDK to target .NET 5.0 or higher. Update Visual Studio and/or your .NET SDK.
This error occurs when you're building for .NET 5 or later, but you're using an older version of the .NET SDK. This issue can usually be resolved by upgrading to a newer version of your build tools.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for