Windows Phone 7 Error "Application could not be launched for debugging"

来源:互联网 发布:湖北网络爆料平台 编辑:程序博客网 时间:2024/05/16 12:43

 

While debugging my WP7 application(Chapter 5, debugging XnaAccelerometer sample), I got the following error: “Application could not be launched for debugging. 

But,deploy emulator success.

 

 

Have two way.

1. silverlight project。
Solved it by following these steps:

I verified that my WP7 application wasn't installed on the target device and that there wasn't any splash screen in the project.
Then, uninstall the application and in Visual Studio perform the following steps:
Add an image file with the name SplashScreenImage.jpg to the project.
In Solution Explorer, right-click the file and select Properties.
In the Properties pane, set Build Action to Content.
Rebuild the application and redeploy it.


2.XNA Project
Right-click solution, select debug, select start new instance.

 

Success..

 

This is my first english blog. heihei...

原创粉丝点击