summaryrefslogtreecommitdiff
path: root/cpp/bld-winsdk.ps1
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/bld-winsdk.ps1')
-rw-r--r--cpp/bld-winsdk.ps18
1 files changed, 8 insertions, 0 deletions
diff --git a/cpp/bld-winsdk.ps1 b/cpp/bld-winsdk.ps1
index 7aa6df81cd..ef9c263f1b 100644
--- a/cpp/bld-winsdk.ps1
+++ b/cpp/bld-winsdk.ps1
@@ -60,6 +60,10 @@ devenv qpid-cpp.sln /build "Release|Win32" /project docs-user-api
devenv qpid-cpp.sln /build "Debug|Win32" /project INSTALL
devenv qpid-cpp.sln /build "RelWithDebInfo|Win32" /project INSTALL
+# Build the .NET binding
+devenv .\bindings\qpid\dotnet\org.apache.qpid.messaging.sln /build "Debug|x86" /project org.apache.qpid.messaging
+devenv .\bindings\qpid\dotnet\org.apache.qpid.messaging.sln /build "Debug|x86" /project org.apache.qpid.messaging.sessionreceiver
+
# This would be kludgy if we have only one entry as the array declaration syntax
# can't cope with just one nested array
# Target must be a directory
@@ -126,6 +130,10 @@ foreach ($pattern in $preserve) {
}
Remove-Item -recurse $preserve_dir
+# Install the .NET binding
+Copy-Item -force -path "./src/Debug/org.apache.qpid.messaging*.dll" -destination "$install_dir/bin"
+Copy-Item -force -path "./src/Debug/org.apache.qpid.messaging*.pdb" -destination "$install_dir/bin/DebugPDB"
+
# Zip the /bin PDB files into two zip files.
# we previously arranged that the Debug pdbs go in the DebugPDB subdirectory
# and the Release pdbs go in the ReleasePDB subdirectory