Error en C#

Iniciado por PFLOPS, 9 Octubre 2008, 21:10 PM

0 Miembros y 1 Visitante están viendo este tema.

PFLOPS

Estoy trabajando en C# pero hay algo que no puedo solucionar, cuando voy a ejecutar el form me da este error:

Gracias por la ayuda que me puedan brindar :)
The Last Pollo       
Mi Blog


Pollo.exe

[/

Rentero

No se si funcionaran.
http://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/1a89d2df-0c57-4bb2-8c1a-b619e6cbb065/

CitarHi all

Seems Like I have found the Solution, Here is what you do........

Open solution  in V2005, then go to Project -> Properties.

In this, Go to build, and then check the "Output" section at the bottom End

Browse for correct Directory Path. "Default is Bin\debug" you may want to change it where the actual exe / dll is.

this has solved my problem as my Build environment was keeping the Target Exe Somewhere else and the code somewhere else..

Let me Know

Amol Wankhede
CitarI had the same problem and the real solution was embarrassingly easy:

If, in your project, Visual Studio has never successfully compiled the program (before finding the first bug), you will get this error. What I did was remove all offending code (in my case, leaving just a simple button1_Click with no code). Run/Compile the code one time; exit the running program, and this message goes away.

The Compiler builds various directories and files on a first successful compile and these are used by the debugger.  I am now recommending with all new projects, define the form, compile, close, and then begin coding.
Firmado.