issue #140: Register via commandline, generate interop assembly explicitly.
authorMarkus Schaber <markus@pep-security.net>
Wed, 20 Apr 2016 23:14:03 +0200
changeset 63e6e8d27aa9a1
parent 62 e01f81c9c881
child 64 4eb297e99140
issue #140: Register via commandline, generate interop assembly explicitly.
pEpCOMServerAdapter.vcxproj
pEpCOMServerAdapter.vcxproj.filters
     1.1 --- a/pEpCOMServerAdapter.vcxproj	Mon Mar 07 15:28:09 2016 +0100
     1.2 +++ b/pEpCOMServerAdapter.vcxproj	Wed Apr 20 23:14:03 2016 +0200
     1.3 @@ -73,10 +73,19 @@
     1.4      <Link>
     1.5        <SubSystem>Windows</SubSystem>
     1.6        <GenerateDebugInformation>true</GenerateDebugInformation>
     1.7 -      <RegisterOutput>true</RegisterOutput>
     1.8 +      <RegisterOutput>false</RegisterOutput>
     1.9        <AdditionalDependencies>comsuppwd.lib;%(AdditionalDependencies)</AdditionalDependencies>
    1.10        <PerUserRedirection>true</PerUserRedirection>
    1.11      </Link>
    1.12 +    <PostBuildEvent>
    1.13 +      <Command>echo "registering server $(TargetPath)"
    1.14 +"$(TargetPath)" /Regserver
    1.15 +
    1.16 +echo "generating interop assembly $(TargetDir)\pEpCOMServerAdapter.Interop.dll"
    1.17 +"$(SDK40ToolsPath)x64\TlbImp.exe" $(TargetPath) /out:$(TargetDir)\pEpCOMServerAdapter.Interop.dll /namespace:pEpCOMServerAdapterLib /primary /keyfile:"$(SolutionDir)\pep\pEp_test.snk" /machine:Agnostic
    1.18 +
    1.19 +</Command>
    1.20 +    </PostBuildEvent>
    1.21    </ItemDefinitionGroup>
    1.22    <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
    1.23      <ClCompile>
    1.24 @@ -157,6 +166,7 @@
    1.25      <Text Include="ReadMe.txt" />
    1.26    </ItemGroup>
    1.27    <ItemGroup>
    1.28 +    <None Include="..\..\pep_for_outlook\pep\pep_test.snk" />
    1.29      <None Include="pEpCOMServerAdapter.rgs" />
    1.30      <None Include="pEpEngine.rgs" />
    1.31    </ItemGroup>
     2.1 --- a/pEpCOMServerAdapter.vcxproj.filters	Mon Mar 07 15:28:09 2016 +0100
     2.2 +++ b/pEpCOMServerAdapter.vcxproj.filters	Wed Apr 20 23:14:03 2016 +0200
     2.3 @@ -88,6 +88,7 @@
     2.4      <None Include="pEpEngine.rgs">
     2.5        <Filter>Resource Files</Filter>
     2.6      </None>
     2.7 +    <None Include="..\..\pep_for_outlook\pep\pep_test.snk" />
     2.8    </ItemGroup>
     2.9    <ItemGroup>
    2.10      <Midl Include="pEpCOMServerAdapter.idl">