Rastikan
Rastikan

Reputation: 532

How do you debug deploy error in Visual Studio 2015?

I've create the simplest project from the new project wizard. It compiles just fine but fails deploying. How can I find why? Is there a more comprhensive window or place where I can find the actual reason? The only message I get is a simple failure from Visual Studio 2015.

`
1>------ Build started: Project: App2, Configuration: Debug x86 ------
1>  App2 -> c:\users\testuser\documents\visual studio 2015\Projects\App2\App2\bin\x86\Debug\App2.exe
2>------ Deploy started: Project: App2, Configuration: Debug x86 ------
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
========== Deploy: 0 succeeded, 1 failed, 0 skipped ==========
`

Upvotes: 4

Views: 9638

Answers (2)

Mannan Bahelim
Mannan Bahelim

Reputation: 1365

  1. Open Configuration Manager under the Build tab.
  2. Click Any CPU dropdown (Next to Debug) in VS.
  3. Navigate to Build tab and you will see Configuration manager as the last option.
  4. check Deploy option.

Upvotes: 6

manikanta
manikanta

Reputation: 1

I experienced the following error while Debugging.Kindly help us if you could.

The project blinkyCpp needs to be deploy before it can be started

verify the project is selected to be deployed in the solution configuration manager, or deploy it explicitly by clicking on the deploy command in the build menu

Upvotes: -2

Related Questions