0

I have just installed Windows Phone Developer Tools on this machine which had Visual Studio 2010 Ultimate already installed. As soon as the installation completed and I created a new project, I noticed that the option to run the app on the emulator is not present.

No Emulator

How to solve the Problem?

4
  • Just opening debug will automatically load in the emulator as you've created a WP7 app. Or is it not doing this either?
    – Dave
    Aug 14, 2012 at 8:19
  • It shows "There were Deployment errors. Continue?" when I click no, nothing happens, and when I click yes it shows this error "HRESULT: 0x89721200" Aug 14, 2012 at 8:57
  • Yes it is, and does that even matter? Aug 14, 2012 at 8:59
  • I have Genuine Windows 7 Ultimate (OEM) and original copy of VS ultimate. Aug 14, 2012 at 9:00

2 Answers 2

1

Well you can run the program as dave rook mentioned,

According to your error HRESULT: 0x89721200 it was occurred due to the following

About hresult HRESULT is a 32-bit value, divided into three different fields: a severity code, a facility code, and an error code. The severity code indicates whether the return value represents information, warning, or error. The facility code identifies the area of the system responsible for the error. The error code is a unique number that is assigned to represent the exception. Each exception is mapped to a distinct HRESULT. When managed code throws an exception, the runtime passes the HRESULT to the COM client. When unmanaged code returns an error, the HRESULT is converted to an exception, which is then thrown by the runtime.

To solve your problem try to find and reinstall mscorlib.dll file in your VS2010 and for more reference about your error code:

About your hresult error code

At last I like to clarify that the program written by you caused the error and the software is working fine.

10
  • @Dave Rook thanks for the edit,i try to correct myself from next post Aug 14, 2012 at 10:56
  • 1
    I just created a new BLANK project "Windows Phone Application" so, how can there be a Code related problem? Aug 14, 2012 at 13:57
  • I will try to repair the Whole Visual Studio Aug 14, 2012 at 13:57
  • @AkshatMittal as you mentioned that t shows "There were Deployment errors. Continue?" when I click no, nothing happens, and when I click yes it shows this error "HRESULT: 0x89721200" so according to your comment the project gets deployed and it has the error,so i clarified the error code 0x89721200 Aug 14, 2012 at 14:00
  • 1
    But how can there be a code problem in NEW project? Aug 14, 2012 at 14:02
0

Right click on the Solution you are working with > Configuration Manager > Un-check all the Deploy checks.

Or either repair or re-download .net 4.0 (even re-install it).

19
  • Shows HRESULT: 0x89721200 error. Aug 14, 2012 at 9:03
  • I assume VS worked as expected previously - therefore I would re-install the W7 SDK
    – Dave
    Aug 14, 2012 at 9:04
  • I just saw on the internet that there is update available for the SDK, First I will try to install that, if it fails I will reinstall and post updates as soon as possible Aug 14, 2012 at 9:07
  • Anyhow Update installation did not succeed, here is the log file jsfiddle.net/MuD8B/show Aug 14, 2012 at 9:16
  • What anti-malware are you running? Also, try again with Windows Defender off! Are you using Microsoft Security Essentials?
    – Dave
    Aug 14, 2012 at 9:17

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .