首页 文章

在Visual Studio 2015中打开Visual Studio 2017项目

提问于
浏览
20

我已经转到Visual Studio 2017 RC,但我们仍然有人在Visual Studio 2015上工作 . 目前我在2017年创建一个项目时,它将无法在2015年运行 . 当项目在VS2015上打开时,我不断获得黄色三角形说有问题 . 它不会 Build .

enter image description here

与黄色三角形关联的错误消息是它无法找到这些文件 . 我认为问题是由于VS2017使用的新.csproj文件而不是.net核心一直使用的project.json文件 .

enter image description here

我认为在VS2017上创建的项目与2015年向后兼容 . 我猜他们不是 . 有谁知道是否有任何方法可以创建一个可以在VS2015和VS2017上工作的项目?谢谢!

1 回答

  • 16

    用于.NET Core的新的基于_1499415的项目是关于它的讨论here,但它的要点是:

    Rich Lander [MSFT]
    
    We are working to get the new .NET Core msbuild-based tools finished
    and at RTM quality as quickly as possible. They will be supported in
    Visual Studio 2017+ and will be shipped as RTM next year. The changes
    are significant, including to Visual Studio components, making it
    very challenging for us to support them in Visual Studio 2015.
    

相关问题