Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to convert a non-core csproj to VS2017 format [duplicate]

Tags:

I have two projects in VS2015

  1. One .NET Core (project.json, xproj)
  2. One regular .NET csproj

When I open project 1 with VS2017, it nicely migrates to the new csproj format.

Project 2 works in VS2017, but I like to convert/migrate/update this csproj to the new project file format to benefit from the new csproj features (multi target, no large file list, readable csproj, NuSpec info in csproj etc)

How could I do that? I cannot find an option in VS2017 for that.

Using: VS2017 RTM

like image 857
Julian Avatar asked Feb 17 '17 21:02

Julian


1 Answers

It may be worth your time to look at these. It looks like it can't be done for more complex project types but console and libraries appear to be upgradable http://www.natemcmaster.com/blog/2017/03/09/vs2015-to-vs2017-upgrade/

https://github.com/NickCraver/PerfBenchmarks/commit/53c3013b1774056363dcab867bceb1b89ce9592c

And regarding the addition of the more complex sdk types you can watch this github issue.

https://github.com/dotnet/sdk/issues/491

like image 100
SkyrawrCode Avatar answered Oct 23 '22 15:10

SkyrawrCode