vs2008在编译wm程序时,无法启动调试。问了几个论坛,还没找到解决办法,只好卸载vs2008准备重新安装。
结果在卸载时,总是出现加载安装组件失败的错误。按照网上完全卸载vs2008的办法
版本一:
Remove "MSDN Library for Visual Studio 2008 Beta"
Remove "Microsoft SQL Server Compact Edition 3.5"
Remove "Microsoft SQL Server Compact Edition 3.5 Design Tools"
Remove "Microsoft SQL Server Compact Edition 3.5 for Devices"
Remove "Microsoft Visual Studio Performance Collection Tools"
Remove "Windows Mobile 5.0 SDK R2 for Pocket PC"
Remove "Windows Mobile 5.0 SDK R2 for Smartphone"
Remove "Crystal Reports 2007"
Remove "Visual Studio Asset System"
Remove "Microsoft Visual Studio Web Authoring Component / Microsoft Web Designer Tools"
Remove "Microsoft Visual Studio 2005 Tools for the 2007 Microsoft Office System Runtime"
Remove "Microsoft Visual Studio 2005 Tools for the 2007 Microsoft Office System Runtime Language Pack" (non-English editions only)
Remove "Microsoft Visual Studio Tools for Office Runtime 3.0"
Remove "Microsoft Document Explorer"
Remove "Microsoft Document Explorer 2005 Language Pack" (non-English editions only)
Remove "Microsoft Device Emulator 3.0"
Remove "Microsoft .NET Compact Framework 3.5"
Remove "Microsoft .NET Compact Framework 2.0 SP1"
Remove ".NET Framework 2.0 SDK"
Remove "Microsoft Visual Studio Codename Orcas Remote Debugger"
Remove "Microsoft Visual Studio 64bit Prerequisites Beta" (64-bit platforms only)
Remove "Microsoft .NET Framework 3.5"
版本二:
将控制面板添加删除程序中带有以下字样的全部卸载。
带*的,说明带这个字符的不只一个项目。如果带有语言包先删语言包,如果带有有SP先删SP!
Microsoft Visual Studio 2008
Microsoft Document Explorer 2008 *
Microsoft Device Emulator 3.0版
Visual Studio Tools for the Office system 3.0 Runtime *
Microsoft SQL Server ***
Microsoft Windows SDK for Visual Studio 2008 ***
windows Mobile 5.0 **
Microsoft .NET Framework 3.5 *
如果装了MSDN,也要收到删掉。
仍然无法重新安装vs2008,最后找到“Windows install clean up(MSICUU2.exe)”,卸载vs2008,再运行安装程序,终于出现了安装选项。