How to create an SDK-style .NET Framework project in VS?

We have to create a sdk-style .net framework project manually. By setting the TargetFramework to (for example) net472.

You can refer to the following steps to make it.

First, we need to create a Class Library (.NET Standard) project.

Second, we need to modify the csproj file.

The initial file:

<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <TargetFramework>netstandard2.0</TargetFramework>
  </PropertyGroup>

</Project>

You can edit it to:

<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
     <TargetFramework>net472</TargetFramework>
  </PropertyGroup>

</Project>

Finally, you can get a sdk-style .net framework project.

enter image description here

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)