Search code examples
c#asp.netvisual-studiodllprojects-and-solutions

How to change the csproj file back to old format in VS 2017


I have the problem when I make a new class library in VS 2017 the csproj file has always the new format but I want the old format

This is the format I get

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

but I want

<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">

And how can I stop that VS 2017 do this automatically?

This would help my by this question

I hope someone can help me?


Solution

  • As in the comments to solve the problem i create the project in VS 2015 and open it with VS 2017