Visual C++ 2010 与 VC 2008 的兼容性
我正在使用 Visual C++ 2010 编译一个程序,但我不希望每个人都必须下载可再发行包来运行我的程序。大多数使用我的程序的人都已经有了 VC++ 2008 可再发行包,那么有没有办法可以编译它并与 VC 2008 兼容?或者有地方可以下载VC 2008 Express吗?
I am compiling a program with Visual C++ 2010 but I don't want everyone to have to download the redistributable package to run my programs. Most people that will be using my program already have the VC++ 2008 redistributable package though, so is there a way I can compile it with compatibility with VC 2008? Or is there a place I can download VC 2008 express?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
Visual Studio 2010 可以选择使用 Visual Studio 2008 工具集进行编译。您可以在项目设置下找到它。我认为该选项只是在常规属性页面中标记为“平台工具集”。
Visual Studio 2010 has an option to compile with Visual Studio 2008 toolset. You can find it under your project settings. I think the option is just labeled 'Platform Toolset' in the general properties page.
如果将“平台工具集”设置为“从父级或项目默认值继承”,它将在大多数情况下起作用。
If you set the 'Platform Toolset' to "inherit from parent or project defaults" it will work in most of the cases.