简体   繁体   中英

How to run .xproj file in vs2019

I have .xproj project and Visual Studio throws " This project is incompatible with the current edition of Visual Studio " exception. How can I run this project?

As microsoft says you can not open with VS2019 16.3 and later

Visual Studio 2019: In version 16.3 and later, you cannot load or migrate xproj projects. For more information, see Migrating .NET Core projects to the csproj format.

https://docs.microsoft.com/tr-tr/visualstudio/porting/port-migrate-and-upgrade-visual-studio-projects?view=vs-2019

You have to one way migrate VS2017 or VS2019 16.2 or earlier

When you open an.xproj file or a solution file that references.xproj files in Visual Studio 2017 or Visual Studio 2019 version 16.2 and earlier, the One-way upgrade dialog appears. The dialog displays the projects to be migrated. If you open a solution file, all the projects specified in the solution file are listed. Review the list of projects to be migrated and select OK.

https://docs.microsoft.com/en-us/dotnet/core/migration/#visual-studio

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