Visual Studio 2017 install breaks Visual Studio 2015 ASP.NET Core Projects

前端 未结 5 1676
情歌与酒
情歌与酒 2020-12-12 18:47

After installing Visual Studio 2017 Professional I can\'t build my ASP.NET Core in Visual Studio 2015 Professional anymore. I never opened this project in VS2017

I ge

5条回答
  •  不知归路
    2020-12-12 19:13

    @ClaudioNunes and @MegaTron have the correct answer. After reading that answer, I realized my .NET Core solution did not have a global.json file. I added a new solution folder and added a global.json file. Since none of my projects are nested in sub folders, I only had to remove "src" and "test" from the projects array:

    {
      "projects": [],
      "sdk": {
        "version": "1.0.0-preview2-003131"
      }
    }
    

    The project now opens correctly in VS 2015 with VS 2017 RC installed.

提交回复
热议问题