Do not register the server on dev machines for release builds
authorThomas
Fri, 04 Dec 2020 09:05:26 +0100
changeset 465bede77ec9270
parent 464 9e22286f49e3
child 466 18189147e2ac
Do not register the server on dev machines for release builds
pEpCOMServerAdapter.vcxproj
     1.1 --- a/pEpCOMServerAdapter.vcxproj	Fri Dec 04 09:04:38 2020 +0100
     1.2 +++ b/pEpCOMServerAdapter.vcxproj	Fri Dec 04 09:05:26 2020 +0100
     1.3 @@ -54,10 +54,7 @@
     1.4    </PropertyGroup>
     1.5    <ItemDefinitionGroup Condition="'$(Platform)'=='Win32'">
     1.6      <PostBuildEvent>
     1.7 -      <Command>echo "registering server $(TargetPath)"
     1.8 -"$(TargetPath)" /Regserver
     1.9 -
    1.10 -echo "generating interop assembly $(TargetDir)pEpCOMServerAdapter.Interop.dll"
    1.11 +      <Command>echo "generating interop assembly $(TargetDir)pEpCOMServerAdapter.Interop.dll"
    1.12  "$(SDK40ToolsPath)x64\TlbImp.exe" "$(TargetPath)" /out:"$(TargetDir)pEpCOMServerAdapter.Interop.dll" /namespace:pEpCOMServerAdapterLib /primary /keyfile:"$(ProjectDir)pEp_test.snk" /machine:Agnostic
    1.13  
    1.14  echo "copying required .dll file(s) to output directory"