Visual studio the project needs to be deployed before it can be started

29.3k Views Asked by At

When starting to test the application on Windows Phone (even a blank app) on emulator or device, this error is poping out "The project needs to be deployed before it can be started". "verify the project is selected to be deployed in the solution configuration manager, or depoly it explicitly by clicking one of the deploy commands in the Build menu" The emulator will be started & run successfully, still no luck in deploying app on emulator.

enter image description here2>Error: The specified module could not be found. (Exception from HRESULT: 0x8007007E)

4

There are 4 best solutions below

9
mindOfAi On BEST ANSWER

Probably the reason for this is that your Build and Deploy configurations aren't enabled. To enable these configurations. Do these steps:

Step 1: Open the Configuration Manager by clicking the active solution configuration. The default is <Debug>:

enter image description here

Step 2: Enable the Build and Deploy configurations by checking the boxes for Any CPU. enter image description here

After this, you can try running you app. It should be working properly.

1
Rok Rodič On

One of possible errors is incomplete or partially complete Package.appxmanifest. Check the file. I had a red X next to an incomplete field.

0
rs77can On

I had a similar error

Error       DEP0700: Registration of the app failed. [0x80073D1F] Deployment operation failed.

I added en-us as the language in Package.appxmanifest, but that did not fix the problem. Both 'Build' and 'Deploy' were already tagged by default.

I moved the app to a local drive, as opposed to a server shared drive, and then it deployed and ran OK

0
Jithin Palepu On

The solution for this would possibly be either one of the following:

  1. Checking in the Debug & Build tick marks in the configuration manager (from Debug -> Config Manager -> Debug & Build) which works in most of the time.
  2. Cross checking the deployment environment with the file systems and everything (Windows/Android/ios). This can be checked from the drop down menu.

However, in some cases everything might be in the right place (having the checked in build & deploy, choosing the right managers) in my case what worked for me the naming convention. When I created the project, i was using the wrong convention. (Maybe we have to follow platform specific naming conventions). You can view it here in the following link.