Disable CommandLine custom assembly attributes since they crash Mono.
parent
9c6478f6ac
commit
638b035ac1
|
@ -21,7 +21,7 @@
|
|||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<DefineConstants>TRACE;DEBUG;NO_COMMANDLINE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
|
@ -31,7 +31,7 @@
|
|||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<DefineConstants>TRACE;NO_COMMANDLINE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
|
|
|
@ -46,9 +46,13 @@ namespace CitizenMP.Server.Installer
|
|||
}
|
||||
|
||||
help.AddPreOptionsLine(" ");
|
||||
#if NO_COMMANDLINE
|
||||
help.AddPreOptionsLine(((AssemblyLicenseAttribute)assembly
|
||||
.GetCustomAttributes(typeof(AssemblyLicenseAttribute), false)
|
||||
.Single()).Value.Trim());
|
||||
#endif
|
||||
help.AddPreOptionsLine(
|
||||
"This is free software. You may redistribute copies of it under the terms of the MIT License <http://www.opensource.org/licenses/mit-license.php>.");
|
||||
help.AddPreOptionsLine(" ");
|
||||
help.AddPreOptionsLine(string.Format("{0}{1} [options...] \"<targetpath>\"",
|
||||
Process.GetCurrentProcess().ProcessName,
|
||||
|
|
Loading…
Reference in New Issue