Jonathan Beerhalter
Jonathan Beerhalter

Reputation: 7407

Why can't I launch my winforms app in the debugger in release mode in VS2010?

I recently upgraded a WinForms project from VS2008 to VS2010, and now I can no longer launch the debugger in release mode. If I switch to the debug build I can, but not in release. If I press ctrl-F5 I can launch in release mode without the debugger.

I don't get any errors or anything. I'm guessing that something got messed up during the upgrade process, I'm just not sure what.

Upvotes: 1

Views: 1038

Answers (1)

competent_tech
competent_tech

Reputation: 44971

Open the Project Properties, select the Debug tab, and ensure the Configuration is set to Active (Release).

In this tab, ensure the Start Action is set to Start project.

Upvotes: 1

Related Questions