kubuntUO - RunUO linux for human beings

Friday, February 02, 2007

-d:MONO

Greetings,

I think I have narrowed down the current problem. The server will compile now. When I run the server.exe, I get an error. From the look of it server.exe is not sending the "define:MONO" command when it tries to compile the script and data folders. It will compile only to scripts before it crashes.

If I modify ScriptCompiler.cs I can see what file it stops on...

using( CSharpCodeProvider provider = new CSharpCodeProvider() )
{
string path = GetUnusedPath( "Scripts.CS" );

CompilerParameters parms = new CompilerParameters( GetReferenceAssemblies(), path, debug );

string defines = GetDefines();

if( defines != null )
parms.CompilerOptions = string.Format( "-d:{0}", defines );
Console.Write( "What is Defined(224): -d:{0}", defines );
if( Core.HaltOnWarning )
parms.WarningLevel = 4;

Console.Write (" CompilerResults(228) Reading {0} {1}" + parms, files);
CompilerResults results = provider.CompileAssemblyFromFile( parms, files );

Not sure how to fix this or where to go next. Good thing it's Friday.

-Ravon

0 Comments:

Post a Comment

<< Home