Posted: Wed Mar 31, 2010 12:15 pm Post subject: Error When trying to run the app in C#
I get this error when i try to debug or run it . and in the release it is a .dll not a .exe and when i try to switch it to .exe it says its not a valid application. anyone know what this means?
NINTENDO Grandmaster Cheater Supreme Reputation: 0
Joined: 02 Nov 2007 Posts: 1371
Posted: Wed Mar 31, 2010 2:23 pm Post subject:
You cannot run a class library. (This is a dll not an exe)
A class library is a set of classes that a program can access
You get the error message becuase :
A)
You have more than one project and forget to set the gui as startup project
B)
You created a class library by mistake
C)
You changed the output to class lib _________________
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum