VS2012编译出来的程序,在XP上运行,出现“.exe 不是有效的 win32 应用程序” “not a valid win32 application”
来源:互联网 发布:win7网络打印机离线 编辑:程序博客网 时间:2024/05/17 07:04
参考CSDN论坛中的方法,找到下面这篇文章:
http://blogs.msdn.com/b/vsnetsetup/archive/2012/10/16/setup-exe-is-not-a-valid-win32-application.aspx
You would receive the below error message while running a ClickOnce bootstrapper created using Visual Studio 2012 on Windows XP systems.
Clickonce bootstrapper engine (setup.exe) that was shipped with Visual Studio 2012 is NOT compatible with any OS below Windows Vista. So, the above error message is expected and by design. The reason for this behavior is because the bootstrapper is compiled using the VC compiler and the Dev11 VC compiler does not support Windows XP.
So the workaround is to install all the prerequisites manually and launch the ClickOnce application directly from deployment manifest file (.application). Another workaround would be to create a sample ClickOnce application using Visual Studio 2010 OR Visual Studio 2008 with the same name as mentioned in Visual Studio 2012 and publish it. From the published location take the setup.exe bootstrapper and replace the existing setup.exe bootstrapper created using Visual Studio 2012
Microsoft VC development team has done work to make VC compilers work on Windows XP in Visual Studio 2012 Update 1 CTP 3 http://www.microsoft.com/en-us/download/details.aspx?id=34818 This Visual Studio 2012 Update 1 CTP 3 patch provides an opportunity to users in building VS2012 C++ project for Win XP OS. For the users who want to develop their applications using Dev11 VC compiler (v110) for Windows XP OS, would need to install Visual Studio 2012 Update 1 CTP 3 patch.
文章提示,dev11 VC complier 已经不在支持XP,如果想要支持XP系统,需要更新至 VS2012 Update1,同时,在
Properties -> Configuration Properties -> General -> PlatForm ToolSet
选择
Visual Studio 2012 - windows XP (v110_xp)
这样compiler生成的exe文件方可在XP系统上运行。
转载网址:http://blog.csdn.net/jtujtujtu/article/details/8756865
VS2012 update1 下载参考
http://www.microsoft.com/visualstudio/eng/downloads#d-visual-studio-2012-update
- VS2012编译出来的程序,在XP上运行,出现“.exe 不是有效的 win32 应用程序” “not a valid win32 application”
- VS2012编译出来的程序,在XP上运行,出现“.exe 不是有效的 win32 应用程序” “not a valid win32 application”
- VS2012编译出来的程序,在XP上运行,出现“.exe 不是有效的 win32 应用程序” “not a valid win32 application”
- VS2012编译出来的程序,在XP上运行,出现“.exe 不是有效的 win32 应用程序” “not a valid win32 application”
- vs2012编译的程序无法在xp下运行(不是有效的WIN32 应用程序)
- 如何解决在Win7,VS2012环境中生成的c++程序在XP上提示“XXXX.exe不是有效的Win32应用程序”的问题
- vs2012下编译生成的release版无法在xp下运行,不是有效的win32应用程序
- 用VS2012或VS2013在win7下编写的程序在XP下运行就出现“不是有效的win32应用程序
- 用VS2012或VS2013在win7下编写的程序在XP下运行就出现“不是有效的win32应用程序
- 用VS2012或VS2013在win7下编写的程序在XP下运行就出现“不是有效的win32应用程序
- 用VS2012或VS2013在win7下编写的程序在XP下运行就出现“不是有效的win32应用程序
- 用VS2012或VS2013在win7下编写的程序在XP下运行就出现“不是有效的win32应用程序
- vs开发的程序在xp下显示 xxx.exe不是有效的win32程序问题解决
- xp下报错“不是有效的win32应用程序”
- find_java.exe不是有效的Win32应用程序
- explorer.exe不是有效的Win32应用程序
- vs2015+Qt5.7编译生成的程序在xp中运行提示不是有效的win32程序解决方案
- 安装wampserver出现"httpd.exe不是有效的win32程序"
- java 程序加载过程---3--类中申明同时申明类的静态对象 创建类的实例 访问类的静态变量 调用类的静态方法 使用反射方法 初始化类的子类对象 直接使用java.exe 调用某个类
- extjs4.0 Ext.Array 函数方法大全
- 使用OpenGL实现三维坐标的鼠标拣选
- I can't add PPA repository behind the proxy
- android生命周期
- VS2012编译出来的程序,在XP上运行,出现“.exe 不是有效的 win32 应用程序” “not a valid win32 application”
- 解决extjs中chart显示不下legend的问题
- javascript使用call方式实现对象继承
- win7 IIS服务发布网站
- vmware安装mac的maverick 10.9系统后ios7开发环境xcode 5项目的运行(run不了项目)的解决方法
- kindle资源下载
- 1071. Speech Patterns (25)
- ASIHTTPRequest库实现图片下载
- 1.cocos2d-x斗地主实现-发牌