Apr 10, 2013 at 9:48am UTC
I have just made a Windows form program, and it will not start.
This is the error i'm receiving:
"Unable to start program 'c:\users\****\documents\visual studio 2010\Projects\Windows_Form_Battleships\Debug\Windows_Form_Battleships.dll'."
I've looked through the configuration for the Debug but to be honest I have no idea what I'm doing...
Edit: I have looked in that directory and the file is most definitely there...
Last edited on
Apr 10, 2013 at 9:53am UTC
Apr 10, 2013 at 1:57pm UTC
On Windows, you execute executables, not dynamic link libraries.
Make sure you're building an application and not a DLL.
Apr 10, 2013 at 2:13pm UTC
I see... however I hadn't changed anything in my project properties or configuration... I was receiving this error the minute i tried to run it after just creating the project...
How would i ensure it is building as an Exe?
Apr 10, 2013 at 2:17pm UTC
Thank you for your help, I have just been informed i was using the wrong Project type.