mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-06-22 20:17:56 +00:00
Added yet another workaround for assembly signing in Visual Studio.
This commit is contained in:
parent
bed61a217f
commit
ae9639bfcd
|
@ -87,7 +87,8 @@ Assembly signing:
|
||||||
|
|
||||||
RootPath = Directory.GetCurrentDirectory();
|
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(bindings, String.Format(Resources.Generator, sign_assembly));
|
||||||
File.WriteAllText(opentk, String.Format(Resources.OpenTK, sign_assembly));
|
File.WriteAllText(opentk, String.Format(Resources.OpenTK, sign_assembly));
|
||||||
|
|
|
@ -5,17 +5,19 @@
|
||||||
|
|
||||||
<Configuration name="Debug">
|
<Configuration name="Debug">
|
||||||
<Options>
|
<Options>
|
||||||
<CompilerDefines>DEBUG;TRACE;{0}</CompilerDefines>
|
<CompilerDefines>DEBUG;TRACE;</CompilerDefines>
|
||||||
<OptimizeCode>false</OptimizeCode>
|
<OptimizeCode>false</OptimizeCode>
|
||||||
<DebugInformation>true</DebugInformation>
|
<DebugInformation>true</DebugInformation>
|
||||||
|
{0} <!-- KeyFile -->
|
||||||
</Options>
|
</Options>
|
||||||
</Configuration>
|
</Configuration>
|
||||||
|
|
||||||
<Configuration name="Release">
|
<Configuration name="Release">
|
||||||
<Options>
|
<Options>
|
||||||
<CompilerDefines>TRACE;{0}</CompilerDefines>
|
<CompilerDefines>TRACE;</CompilerDefines>
|
||||||
<OptimizeCode>true</OptimizeCode>
|
<OptimizeCode>true</OptimizeCode>
|
||||||
<DebugInformation>false</DebugInformation>
|
<DebugInformation>false</DebugInformation>
|
||||||
|
{0} <!-- KeyFile -->
|
||||||
</Options>
|
</Options>
|
||||||
</Configuration>
|
</Configuration>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue