issue #140: Register via commandline, generate interop assembly explicitly.

COM-121
Markus Schaber 7 years ago
parent c351a79da3
commit 968192d57f
  1. 12
      pEpCOMServerAdapter.vcxproj
  2. 1
      pEpCOMServerAdapter.vcxproj.filters

@ -73,10 +73,19 @@
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<RegisterOutput>true</RegisterOutput>
<RegisterOutput>false</RegisterOutput>
<AdditionalDependencies>comsuppwd.lib;%(AdditionalDependencies)</AdditionalDependencies>
<PerUserRedirection>true</PerUserRedirection>
</Link>
<PostBuildEvent>
<Command>echo "registering server $(TargetPath)"
"$(TargetPath)" /Regserver
echo "generating interop assembly $(TargetDir)\pEpCOMServerAdapter.Interop.dll"
"$(SDK40ToolsPath)x64\TlbImp.exe" $(TargetPath) /out:$(TargetDir)\pEpCOMServerAdapter.Interop.dll /namespace:pEpCOMServerAdapterLib /primary /keyfile:"$(SolutionDir)\pep\pEp_test.snk" /machine:Agnostic
</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
@ -157,6 +166,7 @@
<Text Include="ReadMe.txt" />
</ItemGroup>
<ItemGroup>
<None Include="..\..\pep_for_outlook\pep\pep_test.snk" />
<None Include="pEpCOMServerAdapter.rgs" />
<None Include="pEpEngine.rgs" />
</ItemGroup>

@ -88,6 +88,7 @@
<None Include="pEpEngine.rgs">
<Filter>Resource Files</Filter>
</None>
<None Include="..\..\pep_for_outlook\pep\pep_test.snk" />
</ItemGroup>
<ItemGroup>
<Midl Include="pEpCOMServerAdapter.idl">

Loading…
Cancel
Save