Hi DW, I'm getting this error when I try to debug, it says it can't open "c:\users\myusername\Documents\Visual Studio 2010\Projects\myprojectname\debug\myprojectname.exe"

How can I solve this?

Given only this I won't be able to do more than comment how I use the Visual Studio system to debug my app.

  1. I open the project.
  2. I set the build to "Debug".
  3. I set breakpoints on lines of code I suspect to be problematic.
  4. I run the app while in Visual Studio.

That's usually enough to track down what I did wrong.

When you browse the file system, does that file exist and is it accessible by the logged-in user? (Sorry, no VS experience.)

commented: The file is not generated +8
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.