CodingC# broken source + phantom exe

 

Press Ctrl+Enter to quickly submit your post
Quick Reply  
 
 
  
 From:  Peter (BOUGHTONP)   
 To:  ALL
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.

:/
0/0
 Reply   Quote More 

 From:  Peter (BOUGHTONP)   
 To:  ALL
35772.3 
The solution is to use gmcs:

quote:
gmcs Program.cs -r:System.Windows.Forms.dll -r:System.Drawing.dll
0/0
 Reply   Quote More 

 From:  Rowan  
 To:  Peter (BOUGHTONP)      
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.
0/0
 Reply   Quote More 

 From:  Peter (BOUGHTONP)   
 To:  Rowan     
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
0/0
 Reply   Quote More 

Reply to All    
 

1–5

Rate my interest:

Adjust text size : Smaller 10 Larger

Beehive Forum 1.5.2 |  FAQ |  Docs |  Support |  Donate! ©2002 - 2024 Project Beehive Forum

Forum Stats