Browse Source

Do not register the server on dev machines for release builds

COM-121
Thomas 2 years ago
parent
commit
238a9da29f
1 changed files with 1 additions and 4 deletions
  1. +1
    -4
      pEpCOMServerAdapter.vcxproj

+ 1
- 4
pEpCOMServerAdapter.vcxproj View File

@ -54,10 +54,7 @@
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Platform)'=='Win32'">
<PostBuildEvent>
<Command>echo "registering server $(TargetPath)"
"$(TargetPath)" /Regserver
echo "generating interop assembly $(TargetDir)pEpCOMServerAdapter.Interop.dll"
<Command>echo "generating interop assembly $(TargetDir)pEpCOMServerAdapter.Interop.dll"
"$(SDK40ToolsPath)x64\TlbImp.exe" "$(TargetPath)" /out:"$(TargetDir)pEpCOMServerAdapter.Interop.dll" /namespace:pEpCOMServerAdapterLib /primary /keyfile:"$(ProjectDir)pEp_test.snk" /machine:Agnostic
echo "copying required .dll file(s) to output directory"


Loading…
Cancel
Save