Unable to debug Silverlight Application


Here we are going to see how to debug a Silverlight 4 Application in Visual Studio 2010 IDE. Some times you will not be able to debug the Silverlight Application due to some settings which are missing in the Silverlight 4 Project. Please try the following steps to resolve this issue.

Unable to debug Silverlight application.

Some times you will not be able to debug the Silverlight Application due to some settings which are missing in the Silverlight 4 Project. Please try the following steps to resolve this issue.
1.Go to Solution Explorer (Ctrl +Alt + L) of your Silverlight project.
2.Right Click on Silverlight Web(ProjectName.web ) project and click on properties . Then on the left hand side click on Silverlight Applications tab and if you don't find any entry in the list click on Add button.
3.Add Silverlight Application window will be open. Select "Use an existing project in the solution" option then select your Project name from the drop down.
4.By Default the Destination Folder will be ClientBin. ( The .xap file of the Silverlight application is placed in the ClientBin folder. The .xap file is the compiled Silverlight application).
5.Make sure Enable Silverlight debugging option is checked.
6.Then click on Add.
7.Press F5 . you will be able to debug the application.


Article by Vaishali Jain
Miss. Jain Microsoft Certified Technology Specialist in .Net(Windows and Web Based application development)

Follow Vaishali Jain or read 127 articles authored by Vaishali Jain

Comments

No responses found. Be the first to comment...


  • Do not include your name, "with regards" etc in the comment. Write detailed comment, relevant to the topic.
  • No HTML formatting and links to other web sites are allowed.
  • This is a strictly moderated site. Absolutely no spam allowed.
  • Name:
    Email: