C # console application does not debug, very strange

I created a new console application in an existing solution. Set a breakpoint and it will not be debugged.

It opens and closes immediately. The tested other console application in one solution works great.

Any ideas?

+2
source share
7 answers

Sometimes, when we have a problem, we avoid the most obvious solutions, but it is always useful to test them.

Have you tried to check if the configuration of this application is disabled?

+7
source

Try to clear the solution, and then manually clean the bin directory.

+6
source

Optimize code .

+4

, , , ?

+3

Visual Studio . , 10 .

+1

, " , , " "". "Full" .

+1

.

Console.ReadKey();
+1

All Articles