解决CE6和CE5在Platform Builder的Connectivity Options上的冲突

    技术2022-05-20  55

    安装完CE6后,会发现Platform Builder for CE5的Connectivity Options不好用了,即使修改设置后点Apply也无法把新设置保存住在完全卸载CE6和VS2005后,点PB5的Connectivity Options会弹出这个错误即使把CE5和PB5完全卸载,然后再重装,改错误仍然存在。我在网上搜到了该问题的解决方法http://www.eggheadcafe.com/software/aspnet/29534746/cant-set-the-connectivit.aspx为了防止这个网页哪天就不见了,我还是把那些内容COPY到自己BLOG里比较安全,嘿嘿1) Shutdown all instances of PB (version 5.0 and later) and make sureCepb.exe, CeSvcHost.exe (CeSvcH~1.exe) and DeviceEmulator.exe are gone fromthe task manager.

    2) Back up the C:/Documents and Settings/<user>/local settings/applicationdata/microsoft/corecon folder  //我就直接DELETE掉,不用BACKUP了

    3) Purge that folder [This will destroy all previously configured devicesettings. It is important to make a backup as in step 2 if you need toretain the other device settings and revert back].

    4) Back up C:/Documents and Settings/all users/applicationdata/microsoft/corecon/1.0/addons folder to something outside of   //同样,直接DELETE掉

    5) Purge that addons folder under the corecon/1.0

    6) Create a new one by that name under the corecon/1.0 folder

    7) Copy C:/Program Files/<PB Install folder>/CoreCon/SDK/XSL/Addons/*.xsl tothe new .../coreCon/1.0/Addons folder you created.

    8) Also copy C:/Program Files/<PB Installfolder>/CEPB/bin/microsoft.platformbuilder500.servicecategory.xsl to theabove addons folder.

    9) Relaunch PB and try creating and configuring a new device.该方法经本人验证,正确可用。很显然,CE6修改了core connectivity的方法,但是在卸载时却没有清理干净。


    最新回复(0)