Unable to change the active target framework in Visual Studio
My C# class library targets several versions of .NET. <TargetFrameworks>net7.0;net6.0;net5.0;netstandard2.0</TargetFrameworks> But as I edit the code, it seems to show .NET Standard as the active target by graying out lines that are for non-.NET Standard targets. My question is: Where is this set? How does it determine which target is the active target. I’ve looked… Read More Unable to change the active target framework in Visual Studio