Reply to All
Show messages
Messages
Inbox
Search
Login
1–5
C# broken source + phantom exe
From: Peter (BOUGHTONP)
15 Feb 2009 16:33
To: ALL
2 of 5
35772.2
I found a forum post suggesting I need to do this:
code:
mcs Program.cs -r:System.Windows.Forms.dll -r:System.Drawing.dll -v2
But the -v2 argument doesn't work, and without it I get 28 errors relating to other missing namespaces.
:/
From: Peter (BOUGHTONP)
15 Feb 2009 17:09
To: ALL
3 of 5
35772.3
The solution is to use
gmcs
:
quote:
gmcs Program.cs -r:System.Windows.Forms.dll -r:System.Drawing.dll
EDITED: 15 Feb 2009 17:09 by BOUGHTONP
From: Rowan
15 Feb 2009 17:51
To: Peter (BOUGHTONP)
4 of 5
35772.4
In reply to
35772.3
The solution is to use
gmcs
:
an IDE that allows you deal with references as part of the project configuration, rather than making you fuck around with the command line just to build a trivial proof-of-concept app.
From: Peter (BOUGHTONP)
15 Feb 2009 18:18
To: Rowan
5 of 5
35772.5
In reply to
35772.4
IDEs are for wimps.
SharpDevelop is
still
not working even after adding those two references and telling it I want Mono 2.0 not Mono 1.1
So I'm going to use it to throw together the interface, and then stick to jEdit for writing the code with the simple batch file I created for compiling.
:P