Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

share|improve this question
    
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 '12 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" –  Akshat Mittal Aug 14 '12 at 8:57
    
Yes it is, and does that even matter? –  Akshat Mittal Aug 14 '12 at 8:59
    
I have Genuine Windows 7 Ultimate (OEM) and original copy of VS ultimate. –  Akshat Mittal Aug 14 '12 at 9:00

2 Answers 2

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.

share|improve this answer
    
@Dave Rook thanks for the edit,i try to correct myself from next post –  BlueBerry - vignesh4303 Aug 14 '12 at 10:56
    
I just created a new BLANK project "Windows Phone Application" so, how can there be a Code related problem? –  Akshat Mittal Aug 14 '12 at 13:57
    
I will try to repair the Whole Visual Studio –  Akshat Mittal Aug 14 '12 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 –  BlueBerry - vignesh4303 Aug 14 '12 at 14:00
    
But how can there be a code problem in NEW project? –  Akshat Mittal Aug 14 '12 at 14:02

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).

share|improve this answer
    
Shows HRESULT: 0x89721200 error. –  Akshat Mittal Aug 14 '12 at 9:03
    
I assume VS worked as expected previously - therefore I would re-install the W7 SDK –  Dave Aug 14 '12 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 –  Akshat Mittal Aug 14 '12 at 9:07
    
Anyhow Update installation did not succeed, here is the log file jsfiddle.net/MuD8B/show –  Akshat Mittal Aug 14 '12 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 '12 at 9:17

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.