pEpCOMServerAdapter.vcxproj
changeset 64 4eb297e99140
parent 63 e6e8d27aa9a1
child 69 8e47cec9271b
     1.1 --- a/pEpCOMServerAdapter.vcxproj	Wed Apr 20 23:14:03 2016 +0200
     1.2 +++ b/pEpCOMServerAdapter.vcxproj	Thu Apr 21 18:16:34 2016 +0200
     1.3 @@ -45,6 +45,17 @@
     1.4      <IgnoreImportLibrary>true</IgnoreImportLibrary>
     1.5      <LinkIncremental>false</LinkIncremental>
     1.6    </PropertyGroup>
     1.7 +  <ItemDefinitionGroup Condition="'$(Platform)'=='Win32'">
     1.8 +    <PostBuildEvent>
     1.9 +      <Command>echo "registering server $(TargetPath)"
    1.10 +"$(TargetPath)" /Regserver
    1.11 +
    1.12 +echo "generating interop assembly $(TargetDir)pEpCOMServerAdapter.Interop.dll"
    1.13 +"$(SDK40ToolsPath)x64\TlbImp.exe" "$(TargetPath)" /out:"$(TargetDir)pEpCOMServerAdapter.Interop.dll" /namespace:pEpCOMServerAdapterLib /primary /keyfile:"$(SolutionDir)pEp\pEp_test.snk" /machine:Agnostic
    1.14 +
    1.15 +</Command>
    1.16 +    </PostBuildEvent>
    1.17 +  </ItemDefinitionGroup>
    1.18    <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
    1.19      <ClCompile>
    1.20        <PrecompiledHeader>Use</PrecompiledHeader>
    1.21 @@ -77,15 +88,6 @@
    1.22        <AdditionalDependencies>comsuppwd.lib;%(AdditionalDependencies)</AdditionalDependencies>
    1.23        <PerUserRedirection>true</PerUserRedirection>
    1.24      </Link>
    1.25 -    <PostBuildEvent>
    1.26 -      <Command>echo "registering server $(TargetPath)"
    1.27 -"$(TargetPath)" /Regserver
    1.28 -
    1.29 -echo "generating interop assembly $(TargetDir)\pEpCOMServerAdapter.Interop.dll"
    1.30 -"$(SDK40ToolsPath)x64\TlbImp.exe" $(TargetPath) /out:$(TargetDir)\pEpCOMServerAdapter.Interop.dll /namespace:pEpCOMServerAdapterLib /primary /keyfile:"$(SolutionDir)\pep\pEp_test.snk" /machine:Agnostic
    1.31 -
    1.32 -</Command>
    1.33 -    </PostBuildEvent>
    1.34    </ItemDefinitionGroup>
    1.35    <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
    1.36      <ClCompile>