Add post build event to copy required .dlls to the output directory.
authorDean
Tue, 02 Aug 2016 19:05:59 +0200
changeset 1483f860ba5d22d
parent 147 688f3fb88688
child 149 612d5093fe9c
Add post build event to copy required .dlls to the output directory.
This is needed for dev systems where they may not already be registred.
pEpCOMServerAdapter.vcxproj
     1.1 --- a/pEpCOMServerAdapter.vcxproj	Tue Aug 02 19:04:53 2016 +0200
     1.2 +++ b/pEpCOMServerAdapter.vcxproj	Tue Aug 02 19:05:59 2016 +0200
     1.3 @@ -53,6 +53,12 @@
     1.4  echo "generating interop assembly $(TargetDir)pEpCOMServerAdapter.Interop.dll"
     1.5  "$(SDK40ToolsPath)x64\TlbImp.exe" "$(TargetPath)" /out:"$(TargetDir)pEpCOMServerAdapter.Interop.dll" /namespace:pEpCOMServerAdapterLib /primary /keyfile:"$(SolutionDir)pEpForOutlook\pEp_test.snk" /machine:Agnostic
     1.6  
     1.7 +echo "copying required .dll to output directory"
     1.8 +xcopy /y "..\Dependencies\iconv-1.9.2.win32\bin\iconv.dll" "$(OutDir)"
     1.9 +xcopy /y "..\Dependencies\openssl\out32dll\libeay32.dll" "$(OutDir)"
    1.10 +xcopy /y "..\Dependencies\cyrus-sasl-2.1.25\lib\libsasl.dll" "$(OutDir)"
    1.11 +xcopy /y "..\Dependencies\openssl\out32dll\ssleay32.dll" "$(OutDir)"
    1.12 +xcopy /y "..\Dependencies\zlib-1.2.8\zlib1.dll" "$(OutDir)"
    1.13  </Command>
    1.14      </PostBuildEvent>
    1.15    </ItemDefinitionGroup>