Whenever I create a new application in Visual Studio for Windows Phone 7, every time I build my application this error pops up:
The application could not be launched for debugging. Ensure that the target device screen is unlocked and that application is installed.
Due to this error my application is not running in the emulator. I tried reinstalling the SDK and Visual Studio but can't seem to solve this error.
When you say a 'new application', do you mean a completley new application, or have you added some code? I've heard this error occurring if you try and add non WP7 project to your WP7 solution. Right-click on your solution and select Properties
. Open the Configuration Properties
panel on the left and make sure that Build
and Deploy
are both selected.
Also, make sure your project is the startup project (right click on your project and select Set as Startup Project
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With