When I try to debug my WPF application in visual studio 2010 it launches two versions of my application. Both are linked to the debugger. has anyone seen this before or knows a way to fix it.
Any help is appreciated.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can actually have multiple startup projects in a VS solution, so it could be that your application was somehow added twice.
Right-click on the solution and select
Set Startup Projects.... Ensure in this dialog that you have theSingle startup projectradio button selected and that the dropdown is pointing to your project.If this is currently how your app is setup, I would select a different project, save, then reselect your current project in the hope that maybe VS will clear out any incorrect config.
Note that this information is stored in the
.suofile associated with your solution, so another possible solution is to close the solution, delete this file, and reopen the solution. I have had more than one inexplicable problem fixed by deleting this file.