Added yet another workaround for assembly signing in Visual Studio.
This commit is contained in:
parent
e8e80ab1a8
commit
543d255482
3 changed files with 6 additions and 3 deletions
BIN
Build.exe
BIN
Build.exe
Binary file not shown.
|
@ -87,7 +87,8 @@ Assembly signing:
|
|||
|
||||
RootPath = Directory.GetCurrentDirectory();
|
||||
|
||||
string sign_assembly = CheckKeyFile(keyfile) ? "SIGN_ASSEMBLY" : "";
|
||||
//string sign_assembly = CheckKeyFile(keyfile) ? "SIGN_ASSEMBLY" : "";
|
||||
string sign_assembly = CheckKeyFile(keyfile) ? @"<KeyFile>../../" + keyfile + @"</KeyFile>" : "";
|
||||
|
||||
File.WriteAllText(bindings, String.Format(Resources.Generator, sign_assembly));
|
||||
File.WriteAllText(opentk, String.Format(Resources.OpenTK, sign_assembly));
|
||||
|
|
|
@ -5,17 +5,19 @@
|
|||
|
||||
<Configuration name="Debug">
|
||||
<Options>
|
||||
<CompilerDefines>DEBUG;TRACE;{0}</CompilerDefines>
|
||||
<CompilerDefines>DEBUG;TRACE;</CompilerDefines>
|
||||
<OptimizeCode>false</OptimizeCode>
|
||||
<DebugInformation>true</DebugInformation>
|
||||
{0} <!-- KeyFile -->
|
||||
</Options>
|
||||
</Configuration>
|
||||
|
||||
<Configuration name="Release">
|
||||
<Options>
|
||||
<CompilerDefines>TRACE;{0}</CompilerDefines>
|
||||
<CompilerDefines>TRACE;</CompilerDefines>
|
||||
<OptimizeCode>true</OptimizeCode>
|
||||
<DebugInformation>false</DebugInformation>
|
||||
{0} <!-- KeyFile -->
|
||||
</Options>
|
||||
</Configuration>
|
||||
|
||||
|
|
Loading…
Reference in a new issue