使用 VS2010 支持 VS2008 应用程序
Visual Studio 2010 将允许您升级 2008 项目,并且还可以针对该框架的早期版本(即 3.5)。
但我假设如果我要在 VS2010 中修改项目,那么只使用 2008 的人在打开项目时会遇到问题,是吗?
Visual Studio 2010 will allow you to upgrade a 2008 project and also to target a previous version of the framework, i.e, 3.5.
But I assume that if I were to modify the project in VS2010 that people using only 2008 would have an issue opening the project, eh?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
据我所知,你是对的。
You are correct, as far as I know.
通常,您可以将项目从较新的 VS 版本“向下转换”回来,并且可以在旧版本中加载 - 尽管在转换中可能会丢失一些较新的功能,但在大多数情况下它工作正常。
主要问题是每次来回切换时都必须进行转换。您可以尝试使用此之类的方法来转换项目。或者,您可以创建项目的两个版本(2008 和 2010),并确保在添加/删除文件时保持它们同步。
Generally you can "down-convert" a project back from newer VS versions and it will be loadable in the older version - although there are some newer features that may be lost in the conversion, in most cases it works fine.
The main problem is that you have to convert each time you switch back and forth. You could try something like this for converting the projects. Or you can create two versions (2008 and 2010) of the projects and just make sure you keep them in sync if you add/remove files.