2008年7月21日星期一

wince学习 pb5.0启动错误"No primary processors are avaible",然后new project时,它提示没有能用的BSPs

学习地址:http://topic.csdn.net/t/20061226/18/5257679.html#
问题描述:
以前机子上装过pb5.0,那会都可以用的.但后来把机子还原到安装pb5.0之前的状态时,由于我的pb不是装在系统盘,所以我想看看pb是不是还能用,启动了pb后.
pb会提示: "No primary processors are avaibile. The build system will be disabled. It is likely that a build system 'add-on' processor (.pkg),installed by setup, failed to load".
点确定后又弹出: "The selected configuration does not have an installed debugger. You cannot debug this configuration.",
然后点确定后,pb倒是可以启动,但在new platform (即project时),
pb会提示: "The platform Wizard could not locate any valid BSPs. Check that your catalog contains BSP entries and verify that cec files for any BSP entries are correct".
然后可以看到的确是没有Available BSPs.
这是系统还原后的错误,而我在编译时出错,后来就卸载掉PB,然后再重新安装。其错误是一摸一样的。
郁闷啊。
试试下面的方法:
After reinstalling Microsoft Platform Builder 5.0 could happen that you get the following errors: "No primary processors are available. The build system will be disabled. "The selected configuration does not have an installed debugger. You cannot debug this configuration." This is probably caused by a re-install bug in PB, especially if you picked a different install directory.
Please try this:
* Uninstall PB
* Look in the registry under HKEY_LOCAL_MACHINE\Software\Microsoft\PlatformBuilder
* and look in the registry under HKEY_CURRENT_USER\Software\Microsoft\PlatformBuilder
* Delete the 5.0 registry keys.
They should have been removed by the uninstall but weren't
* Reinstall PB After uninstalling your previous version, make sure you go through the registry and delete all the keys that were created by the PB (under HKLM AND HKCU\Software\MSPB\*).
=======================================
If even you get the following different error System.TypeInitializationException: "The type initializer for "System.Xml.Schema.XsdBuilder" threw an exception The workspace could not be loaded.
* Download an updated version of .NET Framework Version 1.1 Redistributable Package.
* Remove the existing version of .NET Framework
* Install the new version of .NET Framework

没有评论: