Disable CommandLine custom assembly attributes since they crash Mono.
parent
9c6478f6ac
commit
638b035ac1
|
@ -21,7 +21,7 @@
|
||||||
<DebugSymbols>true</DebugSymbols>
|
<DebugSymbols>true</DebugSymbols>
|
||||||
<DebugType>full</DebugType>
|
<DebugType>full</DebugType>
|
||||||
<Optimize>false</Optimize>
|
<Optimize>false</Optimize>
|
||||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
<DefineConstants>TRACE;DEBUG;NO_COMMANDLINE</DefineConstants>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
|
@ -31,7 +31,7 @@
|
||||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
<DebugType>pdbonly</DebugType>
|
<DebugType>pdbonly</DebugType>
|
||||||
<Optimize>true</Optimize>
|
<Optimize>true</Optimize>
|
||||||
<DefineConstants>TRACE</DefineConstants>
|
<DefineConstants>TRACE;NO_COMMANDLINE</DefineConstants>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
|
|
|
@ -46,9 +46,13 @@ namespace CitizenMP.Server.Installer
|
||||||
}
|
}
|
||||||
|
|
||||||
help.AddPreOptionsLine(" ");
|
help.AddPreOptionsLine(" ");
|
||||||
|
#if NO_COMMANDLINE
|
||||||
help.AddPreOptionsLine(((AssemblyLicenseAttribute)assembly
|
help.AddPreOptionsLine(((AssemblyLicenseAttribute)assembly
|
||||||
.GetCustomAttributes(typeof(AssemblyLicenseAttribute), false)
|
.GetCustomAttributes(typeof(AssemblyLicenseAttribute), false)
|
||||||
.Single()).Value.Trim());
|
.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(" ");
|
||||||
help.AddPreOptionsLine(string.Format("{0}{1} [options...] \"<targetpath>\"",
|
help.AddPreOptionsLine(string.Format("{0}{1} [options...] \"<targetpath>\"",
|
||||||
Process.GetCurrentProcess().ProcessName,
|
Process.GetCurrentProcess().ProcessName,
|
||||||
|
|
Loading…
Reference in New Issue