I have a solution with mostly C# Class Library (.NET Framework) projects. I have added a new project to the solution (called Training
) for same the Target Framework (i.e. .NET Framework 4.7.2). But as shown in the screenshot below, if I compare the properties of an old project (called Programming
) w.r.t the new project (called Training
) then, the different structure of the menu appears (maybe the information is same).
Question: Why the Properties information look different for the same project type (class library) and same Target type in Visual Studio 2022?
CodePudding user response:
The different dialogs are due to the project files being different kinds - there's the "old style" one (which is typically huge and lists every source file) and the "SDK-style" one (which is typically much smaller).
To create a new SDK-style project, target .NET Core or .NET 5 in the wizard - you can always change the TargetFramework
property to net472
or similar later.