简体   繁体   中英

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?

正如在解决问题的评论中一样,我在VS 2015中创建项目并使用VS 2017打开它

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM