When I try and run a Windows Phone 7 project it fails and displays a message box:
"CCHandler uninitialized"
In the errors 开发者_JAVA技巧window is a single error:
"No target is available for deploying."
And it won't run. I've tried a full uninstall+reinstall of both visual studio and all the WP7 tools and the problem remains.
It's the same for totally new projects and for several existing projects I have that run fine on my other PC.
Also, the options for where to deploy (Emulator/Device) seem to be missing from the project properties and toolbar.
WP7 silverlight projects also fail, but with a different popup (and no message in the errors window):
"Exception from HRESULT: 0x89721800"
I've tried just running the WP7 emulator from the start menu and nothing happens (no error, nothing)
Does anyone have any ideas?
Visual Studio 2010 pro. (I've tried with and without SP1) Windows 7 pro x64.
After some digging this appears to be caused by installation order of SP1.
If you install VS2010 SP1 before the phone 7 tools, it does not appear to correctly install, and even an uninstall and reinstall of VS does not appear to fix the problem. (although perhaps I wasn't finding everything that needed to be uninstalled)
I would recommend that you follow this install sequence:
- Visual Studio 2010
- Phone tools (all of them, from the app hub site, in the order they recommend)
- VS2010 SP1
[This applies to the initial releases of the phone 7 tools, I don't know what the situation is with the mango beta tools]
精彩评论