Familiar Realms
Sorceror
It compiles fine and it starts fine, however it halts on any warnings while compiling scripts. No errors, just warnings. I have looked around ScriptCompiler.cs and tried to change this behavior but to no use.
EDIT--------------
on advice of Shino I added the warnings numbers !MONO block (which i did not even realize was for NOT mono) and it works great now.
Having changed:
to this:
If you get this just add the warning numbers to the /nowarn
EDIT--------------
on advice of Shino I added the warnings numbers !MONO block (which i did not even realize was for NOT mono) and it works great now.
Having changed:
Code:
#if !MONO
CompilerResults results = provider.CompileAssemblyFromFile( parms, files );
#else
parms.CompilerOptions = String.Format( "{0} /nowarn:169,219,414 /recurse:Scripts/*.cs", parms.CompilerOptions );
CompilerResults results = provider.CompileAssemblyFromFile( parms, "" );
#endif
to this:
Code:
#if !MONO
CompilerResults results = provider.CompileAssemblyFromFile( parms, files );
#else
parms.CompilerOptions = String.Format( "{0} /nowarn:169,219,414,618,429,162,252,849,1717,612,108 /recurse:Scripts/*.cs", parms.CompilerOptions );
CompilerResults results = provider.CompileAssemblyFromFile( parms, "" );
#endif
If you get this just add the warning numbers to the /nowarn