VS2012 Update 2: 0x80040154 corrupt install when starting the debugger

来源:互联网 发布:2013软件设计师 编辑:程序博客网 时间:2024/05/29 05:10

使用VS2012開發console program ,发现生成32位的exe文件在別的机上不能正确运行,有文章說update1可以解決這個問題,如下

Setup.exe is not a valid Win32 application
http://blogs.msdn.com/b/vsnetsetup/archive/2012/10/16/setup-exe-is-not-a-valid-win32-application.aspx

於是就在官網下載了更新,後來發現依然找不到那個platform tookit,甚至導致了原來的web application不能debug,報錯:
无法启动 IIS Express Web
以爲是IIS express有問題,可是卸載了IIS express並且刪除下面文件也依然如此
C:\Users\UserName\Documents\IISExpress

也試過重新安裝VS2012,問題依然存在
当在web屬性去掉Use IIS Express,選擇Use Visual Studio Development Server時候顯示0x80040154錯誤,於是找到了下面的文章

http://social.msdn.microsoft.com/Forums/vstudio/zh-CN/914c5795-cf49-4e51-a20f-6e4e14f6c8d2/vs2012-update-2-0x80040154-corrupt-install-when-starting-the-debugger

如此這般刪除註冊表以及原安裝文件后,重新安裝的VS2012終于恢復了正常!
至於那個Configuration Properties,則還是沒有找到,我後來是用VS2010來開發才行的.

0 0