问题描述
我有一个类,计算机都使用VS 2015,但是当我下载VS社区版本时,我才能获得2017年。 现在我已经在VS 2017中编写了一个程序,我需要它能够在学校的VS 2015中运行。
I have a class that the computers all use VS 2015, but when I downloaded the VS Community version, I was only able to get 2017. Now that I've written a program in VS 2017, I need it to be able to run in VS 2015 at school.
如何使我的VS 2017项目与VS兼容2015?
How do I make my VS 2017 project compatible with VS 2015?
推荐答案
欢迎来到MSDN论坛。
Welcome to MSDN forum.
这取决于项目的类型。对于大多数(标准)类型,例如Web项目(完整.NET Framework),Windows项目VS 2017可以在VS 2015中运行,解决方案和项目格式是相同的。但是与.NET Core项目不兼容,Visual Studio 2015不支持
新的基于csproj的.NET Core项目。有关于它的讨论
here 。
It depends on the type of project. For most (standard) types, for example web projects (Full .NET Framework), Windows projects VS 2017 can work in VS 2015, solutions and projects formats are the same. But not compatible for .NET Core projects, the new csproj-based projects for .NET Core aren't supported in Visual Studio 2015. There's a discussion about ithere.
参考:
您可以免费加入并找到 visual studio 2015 在下载中。
You could join free Visual Studio Dev Essentials and find visual studio 2015 in the Downloads.
祝你好运,
Joyce
这篇关于将Visual Studio 2017项目保存为VS 2015兼容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!