Added yet another workaround for assembly signing in Visual Studio.

This commit is contained in:
the_fiddler 2009-09-05 20:01:44 +00:00
parent e8e80ab1a8
commit 543d255482
3 changed files with 6 additions and 3 deletions

BIN
Build.exe

Binary file not shown.

View file

@ -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));

View file

@ -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>