Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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)

like image 823
Dinithe Pieris Avatar asked Feb 03 '17 03:02

Dinithe Pieris


People also ask

What is deploy in Visual Studio?

When you deploy a project or solution in Visual Studio, the assemblies are automatically built and deployed into the specified application.

How do I deploy a solution in Visual Studio 2017?

To deploy and active from Visual Studio: Open the solution in Solution Explorer. Right-click the solution, and select Build. After the solution has been built, right-click the solution, and select Deploy.


1 Answers

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.

Hope this helps!

like image 67
mindOfAi Avatar answered Oct 12 '22 18:10

mindOfAi