elhacker.net cabecera Bienvenido(a), Visitante. Por favor Ingresar o Registrarse
¿Perdiste tu email de activación?.

 

 


Tema destacado: Usando Git para manipular el directorio de trabajo, el índice y commits (segunda parte)


+  Foro de elhacker.net
|-+  Programación
| |-+  Programación General
| | |-+  .NET (C#, VB.NET, ASP) (Moderador: kub0x)
| | | |-+  Error en C#
0 Usuarios y 1 Visitante están viendo este tema.
Páginas: [1] Ir Abajo Respuesta Imprimir
Autor Tema: Error en C#  (Leído 2,595 veces)
PFLOPS


Desconectado Desconectado

Mensajes: 327



Ver Perfil
Error en C#
« en: 9 Octubre 2008, 21:10 pm »

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 :)


« Última modificación: 10 Octubre 2008, 01:28 am por Lukario » En línea

The Last Pollo       
Mi Blog


Pollo.exe

[/
Rentero
Ex-Staff
*
Desconectado Desconectado

Mensajes: 1.164


La paciencia es la madre de la ciencia.


Ver Perfil
Re: Error en C#
« Respuesta #1 en: 11 Octubre 2008, 14:17 pm »

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

Citar
Hi 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
Citar
I 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.


En línea

Firmado.
Páginas: [1] Ir Arriba Respuesta Imprimir 

Ir a:  
WAP2 - Aviso Legal - Powered by SMF 1.1.21 | SMF © 2006-2008, Simple Machines