Skip to content

.NET Framework project with Visual Studio 2017 csproj

April 18, 2017

In Visual Studio 2017 you have the following project-templates (among others):

  • Class Library (.NET Core)
  • Class Library (.NET Framework)
  • Class Library (.NET Standard)

If you create a .NET Core or .NET Standard class-library you get the new “skinny” project-file-format. If you create a .NET Framework class-library you get the “old” format. But it is easy to change a clean .NET Core or .NET Standard project to a .NET Framework project. Just change the TargetFramework-tag in the project file.

.NET Core

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

.NET Standard

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

.NET Framework

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

A list of the target-frameworks is found here: Target frameworks

Other csproj-links


From → .NET, Visual Studio

Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: