View Single Post
Old 05-11-2008, 04:26 AM   #34 (permalink)
Scriptiz
Newbie
 
Scriptiz's Avatar
 
Join Date: Oct 2006
Location: Belgium
Posts: 37
Send a message via MSN to Scriptiz
Default

Quote:
Originally Posted by jdogherman View Post
When I try to compile it get:

error CS0006: cannot find metadata file `System.Windows.Forms'
Compilation failed: 1 error(s), 0 warnings


What am i doing wrong?
Wich version of Mono do you have? (type "mono -V" to know) ?

Do you get the RunUO Version from the SVN?

Can you give us the command you use to compile RunUO? Mine is this one in this one when the files are in the subdirectory Server/*.cs :

Code:
gmcs -out:runuo.exe -d:MONO -optimize+ -unsafe -r:System,System.Configuration.Install,System.Data,System.Drawing,System.EnterpriseServices,System.Management,System.Security,System.ServiceProcess,System.Web,System.Web.Services,System.Windows.Forms,System.Xml -nowarn:219 -recurse:Server/*.cs
And it work fine except from some warning of non-used code but finally I got my runuo.exe

Check if there is no whitespace between the namespaces used in your compile lines (like this : "System.Web.Services,System.Windows.Forms")

Last edited by Scriptiz; 05-11-2008 at 04:28 AM.
Scriptiz is offline   Reply With Quote