-HaltOnWarning added
This commit is contained in:
parent
d5b7c10e32
commit
27ad37a7c9
2 changed files with 14 additions and 0 deletions
|
|
@ -218,6 +218,9 @@ namespace Server
|
|||
if( defines != null )
|
||||
parms.CompilerOptions = string.Format( "/D:{0}", defines );
|
||||
|
||||
if( Core.HaltOnWarning )
|
||||
parms.WarningLevel = 4;
|
||||
|
||||
CompilerResults results = provider.CompileAssemblyFromFile( parms, files );
|
||||
m_AdditionalReferences.Add( path );
|
||||
|
||||
|
|
@ -338,6 +341,9 @@ namespace Server
|
|||
if( defines != null )
|
||||
parms.CompilerOptions = String.Format( "/D:{0}", defines );
|
||||
|
||||
if( Core.HaltOnWarning )
|
||||
parms.WarningLevel = 4;
|
||||
|
||||
CompilerResults results = provider.CompileAssemblyFromFile( parms, files );
|
||||
m_AdditionalReferences.Add( path );
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue