win32: sign .net 2.0 assemblies with a default key
authorLars Op den Kamp <lars@opdenkamp.eu>
Fri, 13 Jan 2012 19:17:38 +0000 (20:17 +0100)
committerLars Op den Kamp <lars@opdenkamp.eu>
Fri, 13 Jan 2012 19:29:15 +0000 (20:29 +0100)
project/LibCecSharp.Net2-dev.snk [new file with mode: 0644]
project/LibCecSharp.Net2.vcproj
project/LibCecSharp.vcxproj
src/LibCecSharp/AssemblyInfo.cpp
src/LibCecSharp/LibCecSharp.cpp

diff --git a/project/LibCecSharp.Net2-dev.snk b/project/LibCecSharp.Net2-dev.snk
new file mode 100644 (file)
index 0000000..859e7bc
Binary files /dev/null and b/project/LibCecSharp.Net2-dev.snk differ
index 8ed9b3994dbb461e1e64304a525c23d9d287b8ea..3fdfcae8503eaf78420c0c15fcd5994df8608fd9 100644 (file)
@@ -67,6 +67,7 @@
                                GenerateDebugInformation="true"
                                AssemblyDebug="1"
                                TargetMachine="1"
+                               KeyFile="$(SolutionDir)LibCecSharp.Net2-dev.snk"
                        />
                        <Tool
                                Name="VCALinkTool"
                                LinkIncremental="1"
                                GenerateDebugInformation="true"
                                TargetMachine="1"
+                               KeyFile="$(SolutionDir)LibCecSharp.Net2-dev.snk"
                        />
                        <Tool
                                Name="VCALinkTool"
index bc49c0cf13497e476032cb00ad9452750c6ee187..0a3e575a56248c1d629f35d20e78076dad71a8ef 100644 (file)
     <IncludePath>$(SolutionDir)\..\include;$(IncludePath)</IncludePath>
     <TargetName>$(ProjectName)</TargetName>
     <OutDir>$(SolutionDir)..\</OutDir>
+    <LinkKeyFile>$(SolutionDir)LibCecSharp.Net2-dev.snk</LinkKeyFile>
   </PropertyGroup>
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
     <LinkIncremental>false</LinkIncremental>
     <IncludePath>$(SolutionDir)\..\include;$(IncludePath)</IncludePath>
+    <LinkKeyFile>$(SolutionDir)LibCecSharp.Net2-dev.snk</LinkKeyFile>
   </PropertyGroup>
   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
     <ClCompile>
index c5dd8e2e0025cb228a23e20026bb144bae9b111f..3f57ab2bcdd6ebb42752723e2e1baa1ce8b4a94d 100644 (file)
@@ -1,5 +1,3 @@
-#include "stdafx.h"
-
 using namespace System;
 using namespace System::Reflection;
 using namespace System::Runtime::CompilerServices;
index 3aa1253512034786373e2ad432bfeff429ae623a..6b1ba7a10dc7c881386fa34e2b129fb9b7e1a41f 100644 (file)
@@ -30,7 +30,6 @@
  *     http://www.pulse-eight.net/
  */
 
-#include "stdafx.h"
 #include <windows.h>
 #include <vcclr.h>
 #include <msclr/marshal.h>