c# - Pressing F5 in Visual Studio 2010 Builds but does not Launch Application -
i have click once application (wpf) in c#. when hit f5 debug/launch application worked smoothly. eventually, f5 build solution , not launch application (therefore not step through code). short while switched debug release mode , reason allowed application launch after using f5 , step through code again. no longer works either. long story short, cannot application run in manner allows me step through code. can start without debugging (ctrl + f5). doesn't me other tell me if application works or not.
you have lost start project in solution, or start project messed up, , no correct "item" defined startup.
right click on 1 of projects, , select : define startup project. retry should trick. if not, check in projects properties see if form or defined startup object project.
edit : dont define class library project startup project, choose ui :).
Comments
Post a Comment