From 62f43698f2258d10db685acda70ffe01bd4b1762 Mon Sep 17 00:00:00 2001 From: "Charles E. Rolke" Date: Wed, 7 Dec 2011 21:45:50 +0000 Subject: QPID-2643 Visual Studio 2010 Modify the VS2008 variants of dotnet_examples to work with new directory structure. Restore copying dotnet_example solutions/projects to WinSDK. TODO: Get VS2010 solutions/projects working. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1211649 13f79535-47bb-0310-9956-ffa450edef68 --- .../csharp.direct.receiver.csproj | 26 +++++++++------- .../csharp.direct.sender.csproj | 22 +++++++++----- .../csharp.example.client.csproj | 26 +++++++++------- .../csharp.example.declare_queues.csproj | 26 +++++++++------- .../csharp.example.drain.csproj | 26 +++++++++------- .../csharp.example.helloworld.csproj | 28 +++++++++-------- .../csharp.example.server.csproj | 26 +++++++++------- .../csharp.example.spout.csproj | 31 +++++++++++-------- .../csharp.map.callback.receiver.csproj | 35 ++++++++++++++-------- .../csharp.map.callback.sender.csproj | 31 +++++++++++-------- .../csharp.map.receiver/csharp.map.receiver.csproj | 26 +++++++++------- .../csharp.map.sender/csharp.map.sender.csproj | 26 +++++++++------- qpid/cpp/bld-winsdk.ps1 | 27 +++++++++-------- 13 files changed, 218 insertions(+), 138 deletions(-) (limited to 'qpid/cpp') diff --git a/qpid/cpp/bindings/qpid/dotnet/winsdk_sources/msvc9/examples/csharp.direct.receiver/csharp.direct.receiver.csproj b/qpid/cpp/bindings/qpid/dotnet/winsdk_sources/msvc9/examples/csharp.direct.receiver/csharp.direct.receiver.csproj index 8a45098f73..45258fa843 100644 --- a/qpid/cpp/bindings/qpid/dotnet/winsdk_sources/msvc9/examples/csharp.direct.receiver/csharp.direct.receiver.csproj +++ b/qpid/cpp/bindings/qpid/dotnet/winsdk_sources/msvc9/examples/csharp.direct.receiver/csharp.direct.receiver.csproj @@ -21,7 +21,7 @@ under the License. Debug x86 - 9.0.21022 + 9.0.30729 2.0 {52F880E7-D677-4C91-8516-D679CE0F46A8} Exe @@ -35,7 +35,7 @@ under the License. true full false - $(ProjectDir)..\..\..\bin\ + $(ProjectDir)..\..\..\bin\$(Configuration) DEBUG;TRACE prompt 4 @@ -43,21 +43,21 @@ under the License. pdbonly true - $(ProjectDir)..\..\..\bin\ + $(ProjectDir)..\..\..\bin\$(Configuration) TRACE prompt 4 true - $(ProjectDir)..\..\..\bin\ + $(ProjectDir)..\..\..\bin\$(Configuration) DEBUG;TRACE full x86 prompt - $(ProjectDir)..\..\..\bin\ + $(ProjectDir)..\..\..\bin\$(Configuration) TRACE true pdbonly @@ -66,24 +66,30 @@ under the License. true - $(ProjectDir)..\..\..\bin\ + $(ProjectDir)..\..\..\bin\$(Configuration) DEBUG;TRACE full x64 prompt - $(ProjectDir)..\..\..\bin\ + $(ProjectDir)..\..\..\bin\$(Configuration) TRACE true pdbonly x64 prompt - - + + + False + ..\..\..\bin\$(Configuration)\org.apache.qpid.messaging.dll + + + + False - $(ProjectDir)..\..\..\bin\org.apache.qpid.messaging.dll + ..\..\..\bin\$(Configuration)\org.apache.qpid.messaging.dll diff --git a/qpid/cpp/bindings/qpid/dotnet/winsdk_sources/msvc9/examples/csharp.direct.sender/csharp.direct.sender.csproj b/qpid/cpp/bindings/qpid/dotnet/winsdk_sources/msvc9/examples/csharp.direct.sender/csharp.direct.sender.csproj index 5f39484ee0..f11603ac69 100644 --- a/qpid/cpp/bindings/qpid/dotnet/winsdk_sources/msvc9/examples/csharp.direct.sender/csharp.direct.sender.csproj +++ b/qpid/cpp/bindings/qpid/dotnet/winsdk_sources/msvc9/examples/csharp.direct.sender/csharp.direct.sender.csproj @@ -21,7 +21,7 @@ under the License. Debug x86 - 9.0.21022 + 9.0.30729 2.0 {7B71CE78-8E78-4632-ADBE-F4D5DFAE0068} Exe @@ -33,14 +33,14 @@ under the License. true - $(ProjectDir)..\..\..\bin\ + $(ProjectDir)..\..\..\bin\$(Configuration) DEBUG;TRACE full x86 prompt - $(ProjectDir)..\..\..\bin\ + $(ProjectDir)..\..\..\bin\$(Configuration) TRACE true pdbonly @@ -49,24 +49,30 @@ under the License. true - $(ProjectDir)..\..\..\bin\ + $(ProjectDir)..\..\..\bin\$(Configuration) DEBUG;TRACE full x64 prompt - $(ProjectDir)..\..\..\bin\ + $(ProjectDir)..\..\..\bin\$(Configuration) TRACE true pdbonly x64 prompt - - + + + False + ..\..\..\bin\$(Configuration)\org.apache.qpid.messaging.dll + + + + False - $(ProjectDir)..\..\..\bin\org.apache.qpid.messaging.dll + ..\..\..\bin\$(Configuration)\org.apache.qpid.messaging.dll diff --git a/qpid/cpp/bindings/qpid/dotnet/winsdk_sources/msvc9/examples/csharp.example.client/csharp.example.client.csproj b/qpid/cpp/bindings/qpid/dotnet/winsdk_sources/msvc9/examples/csharp.example.client/csharp.example.client.csproj index f07274c339..1d78ff1a66 100644 --- a/qpid/cpp/bindings/qpid/dotnet/winsdk_sources/msvc9/examples/csharp.example.client/csharp.example.client.csproj +++ b/qpid/cpp/bindings/qpid/dotnet/winsdk_sources/msvc9/examples/csharp.example.client/csharp.example.client.csproj @@ -21,7 +21,7 @@ under the License. Debug x86 - 9.0.21022 + 9.0.30729 2.0 {0DE01712-C2D1-4CA4-B42C-5856456A8696} Exe @@ -35,7 +35,7 @@ under the License. true full false - $(ProjectDir)..\..\..\bin\ + $(ProjectDir)..\..\..\bin\$(Configuration) DEBUG;TRACE prompt 4 @@ -43,21 +43,21 @@ under the License. pdbonly true - $(ProjectDir)..\..\..\bin\ + $(ProjectDir)..\..\..\bin\$(Configuration) TRACE prompt 4 true - $(ProjectDir)..\..\..\bin\ + $(ProjectDir)..\..\..\bin\$(Configuration) DEBUG;TRACE full x86 prompt - $(ProjectDir)..\..\..\bin\ + $(ProjectDir)..\..\..\bin\$(Configuration) TRACE true pdbonly @@ -66,24 +66,30 @@ under the License. true - $(ProjectDir)..\..\..\bin\ + $(ProjectDir)..\..\..\bin\$(Configuration) DEBUG;TRACE full x64 prompt - $(ProjectDir)..\..\..\bin\ + $(ProjectDir)..\..\..\bin\$(Configuration) TRACE true pdbonly x64 prompt - - + + + False + ..\..\..\bin\$(Configuration)\org.apache.qpid.messaging.dll + + + + False - $(ProjectDir)..\..\..\bin\org.apache.qpid.messaging.dll + ..\..\..\bin\$(Configuration)\org.apache.qpid.messaging.dll diff --git a/qpid/cpp/bindings/qpid/dotnet/winsdk_sources/msvc9/examples/csharp.example.declare_queues/csharp.example.declare_queues.csproj b/qpid/cpp/bindings/qpid/dotnet/winsdk_sources/msvc9/examples/csharp.example.declare_queues/csharp.example.declare_queues.csproj index e520a3351f..d3082838ef 100644 --- a/qpid/cpp/bindings/qpid/dotnet/winsdk_sources/msvc9/examples/csharp.example.declare_queues/csharp.example.declare_queues.csproj +++ b/qpid/cpp/bindings/qpid/dotnet/winsdk_sources/msvc9/examples/csharp.example.declare_queues/csharp.example.declare_queues.csproj @@ -21,7 +21,7 @@ under the License. Debug x86 - 9.0.21022 + 9.0.30729 2.0 {E31B349C-830C-4583-8BD9-30DA4398349F} Exe @@ -35,7 +35,7 @@ under the License. true full false - $(ProjectDir)..\..\..\bin\ + $(ProjectDir)..\..\..\bin\$(Configuration) DEBUG;TRACE prompt 4 @@ -43,21 +43,21 @@ under the License. pdbonly true - $(ProjectDir)..\..\..\bin\ + $(ProjectDir)..\..\..\bin\$(Configuration) TRACE prompt 4 true - $(ProjectDir)..\..\..\bin\ + $(ProjectDir)..\..\..\bin\$(Configuration) DEBUG;TRACE full x86 prompt - $(ProjectDir)..\..\..\bin\ + $(ProjectDir)..\..\..\bin\$(Configuration) TRACE true pdbonly @@ -66,24 +66,30 @@ under the License. true - $(ProjectDir)..\..\..\bin\ + $(ProjectDir)..\..\..\bin\$(Configuration) DEBUG;TRACE full x64 prompt - $(ProjectDir)..\..\..\bin\ + $(ProjectDir)..\..\..\bin\$(Configuration) TRACE true pdbonly x64 prompt - - + + + False + ..\..\..\bin\$(Configuration)\org.apache.qpid.messaging.dll + + + + False - $(ProjectDir)..\..\..\bin\org.apache.qpid.messaging.dll + ..\..\..\bin\$(Configuration)\org.apache.qpid.messaging.dll diff --git a/qpid/cpp/bindings/qpid/dotnet/winsdk_sources/msvc9/examples/csharp.example.drain/csharp.example.drain.csproj b/qpid/cpp/bindings/qpid/dotnet/winsdk_sources/msvc9/examples/csharp.example.drain/csharp.example.drain.csproj index 8b4b89541c..0f6832b069 100644 --- a/qpid/cpp/bindings/qpid/dotnet/winsdk_sources/msvc9/examples/csharp.example.drain/csharp.example.drain.csproj +++ b/qpid/cpp/bindings/qpid/dotnet/winsdk_sources/msvc9/examples/csharp.example.drain/csharp.example.drain.csproj @@ -21,7 +21,7 @@ under the License. Debug x86 - 9.0.21022 + 9.0.30729 2.0 {C43DEB69-8088-420B-B0CA-C699535E6D08} Exe @@ -35,7 +35,7 @@ under the License. true full false - $(ProjectDir)..\..\..\bin\ + $(ProjectDir)..\..\..\bin\$(Configuration) DEBUG;TRACE prompt 4 @@ -43,21 +43,21 @@ under the License. pdbonly true - $(ProjectDir)..\..\..\bin\ + $(ProjectDir)..\..\..\bin\$(Configuration) TRACE prompt 4 true - $(ProjectDir)..\..\..\bin\ + $(ProjectDir)..\..\..\bin\$(Configuration) DEBUG;TRACE full x86 prompt - $(ProjectDir)..\..\..\bin\ + $(ProjectDir)..\..\..\bin\$(Configuration) TRACE true pdbonly @@ -66,24 +66,30 @@ under the License. true - $(ProjectDir)..\..\..\bin\ + $(ProjectDir)..\..\..\bin\$(Configuration) DEBUG;TRACE full x64 prompt - $(ProjectDir)..\..\..\bin\ + $(ProjectDir)..\..\..\bin\$(Configuration) TRACE true pdbonly x64 prompt - - + + + False + ..\..\..\bin\$(Configuration)\org.apache.qpid.messaging.dll + + + + False - $(ProjectDir)..\..\..\bin\org.apache.qpid.messaging.dll + ..\..\..\bin\$(Configuration)\org.apache.qpid.messaging.dll diff --git a/qpid/cpp/bindings/qpid/dotnet/winsdk_sources/msvc9/examples/csharp.example.helloworld/csharp.example.helloworld.csproj b/qpid/cpp/bindings/qpid/dotnet/winsdk_sources/msvc9/examples/csharp.example.helloworld/csharp.example.helloworld.csproj index 627495348b..a8b1b1465e 100644 --- a/qpid/cpp/bindings/qpid/dotnet/winsdk_sources/msvc9/examples/csharp.example.helloworld/csharp.example.helloworld.csproj +++ b/qpid/cpp/bindings/qpid/dotnet/winsdk_sources/msvc9/examples/csharp.example.helloworld/csharp.example.helloworld.csproj @@ -1,4 +1,4 @@ - + - + \ No newline at end of file diff --git a/qpid/cpp/bindings/qpid/dotnet/winsdk_sources/msvc9/examples/csharp.example.server/csharp.example.server.csproj b/qpid/cpp/bindings/qpid/dotnet/winsdk_sources/msvc9/examples/csharp.example.server/csharp.example.server.csproj index 473078f7ca..d3958ef68f 100644 --- a/qpid/cpp/bindings/qpid/dotnet/winsdk_sources/msvc9/examples/csharp.example.server/csharp.example.server.csproj +++ b/qpid/cpp/bindings/qpid/dotnet/winsdk_sources/msvc9/examples/csharp.example.server/csharp.example.server.csproj @@ -21,7 +21,7 @@ under the License. Debug x86 - 9.0.21022 + 9.0.30729 2.0 {090A081D-E8B5-4949-AA43-EE182B7101E3} Exe @@ -35,7 +35,7 @@ under the License. true full false - $(ProjectDir)..\..\..\bin\ + $(ProjectDir)..\..\..\bin\$(Configuration) DEBUG;TRACE prompt 4 @@ -43,21 +43,21 @@ under the License. pdbonly true - $(ProjectDir)..\..\..\bin\ + $(ProjectDir)..\..\..\bin\$(Configuration) TRACE prompt 4 true - $(ProjectDir)..\..\..\bin\ + $(ProjectDir)..\..\..\bin\$(Configuration) DEBUG;TRACE full x86 prompt - $(ProjectDir)..\..\..\bin\ + $(ProjectDir)..\..\..\bin\$(Configuration) TRACE true pdbonly @@ -66,24 +66,30 @@ under the License. true - $(ProjectDir)..\..\..\bin\ + $(ProjectDir)..\..\..\bin\$(Configuration) DEBUG;TRACE full x64 prompt - $(ProjectDir)..\..\..\bin\ + $(ProjectDir)..\..\..\bin\$(Configuration) TRACE true pdbonly x64 prompt - - + + + False + ..\..\..\bin\$(Configuration)\org.apache.qpid.messaging.dll + + + + False - $(ProjectDir)..\..\..\bin\org.apache.qpid.messaging.dll + ..\..\..\bin\$(Configuration)\org.apache.qpid.messaging.dll diff --git a/qpid/cpp/bindings/qpid/dotnet/winsdk_sources/msvc9/examples/csharp.example.spout/csharp.example.spout.csproj b/qpid/cpp/bindings/qpid/dotnet/winsdk_sources/msvc9/examples/csharp.example.spout/csharp.example.spout.csproj index 26009880a4..b009ddbf1d 100644 --- a/qpid/cpp/bindings/qpid/dotnet/winsdk_sources/msvc9/examples/csharp.example.spout/csharp.example.spout.csproj +++ b/qpid/cpp/bindings/qpid/dotnet/winsdk_sources/msvc9/examples/csharp.example.spout/csharp.example.spout.csproj @@ -1,4 +1,4 @@ - + - + \ No newline at end of file diff --git a/qpid/cpp/bindings/qpid/dotnet/winsdk_sources/msvc9/examples/csharp.map.callback.receiver/csharp.map.callback.receiver.csproj b/qpid/cpp/bindings/qpid/dotnet/winsdk_sources/msvc9/examples/csharp.map.callback.receiver/csharp.map.callback.receiver.csproj index 02f8a63282..ddd5523ba6 100644 --- a/qpid/cpp/bindings/qpid/dotnet/winsdk_sources/msvc9/examples/csharp.map.callback.receiver/csharp.map.callback.receiver.csproj +++ b/qpid/cpp/bindings/qpid/dotnet/winsdk_sources/msvc9/examples/csharp.map.callback.receiver/csharp.map.callback.receiver.csproj @@ -21,7 +21,7 @@ under the License. Debug x86 - 9.0.21022 + 9.0.30729 2.0 {68A43817-2358-4A31-8FDF-FE21722BFBCF} Exe @@ -35,7 +35,7 @@ under the License. true full false - $(ProjectDir)..\..\..\bin\ + $(ProjectDir)..\..\..\bin\$(Configuration) DEBUG;TRACE prompt 4 @@ -43,21 +43,21 @@ under the License. pdbonly true - $(ProjectDir)..\..\..\bin\ + $(ProjectDir)..\..\..\bin\$(Configuration) TRACE prompt 4 true - $(ProjectDir)..\..\..\bin\ + $(ProjectDir)..\..\..\bin\$(Configuration) DEBUG;TRACE full x86 prompt - $(ProjectDir)..\..\..\bin\ + $(ProjectDir)..\..\..\bin\$(Configuration) TRACE true pdbonly @@ -66,28 +66,39 @@ under the License. true - $(ProjectDir)..\..\..\bin\ + $(ProjectDir)..\..\..\bin\$(Configuration) DEBUG;TRACE full x64 prompt - $(ProjectDir)..\..\..\bin\ + $(ProjectDir)..\..\..\bin\$(Configuration) TRACE true pdbonly x64 prompt - - + + + False + ..\..\..\bin\$(Configuration)\org.apache.qpid.messaging.dll + + + False + ..\..\..\bin\$(Configuration)\org.apache.qpid.messaging.sessionreceiver.dll + + + + + False - $(ProjectDir)..\..\..\bin\org.apache.qpid.messaging.dll + ..\..\..\bin\$(Configuration)\org.apache.qpid.messaging.dll - + False - $(ProjectDir)..\..\..\bin\org.apache.qpid.messaging.sessionreceiver.dll + ..\..\..\bin\$(Configuration)\org.apache.qpid.messaging.sessionreceiver.dll diff --git a/qpid/cpp/bindings/qpid/dotnet/winsdk_sources/msvc9/examples/csharp.map.callback.sender/csharp.map.callback.sender.csproj b/qpid/cpp/bindings/qpid/dotnet/winsdk_sources/msvc9/examples/csharp.map.callback.sender/csharp.map.callback.sender.csproj index 56b9f285a3..747ca6fb3f 100644 --- a/qpid/cpp/bindings/qpid/dotnet/winsdk_sources/msvc9/examples/csharp.map.callback.sender/csharp.map.callback.sender.csproj +++ b/qpid/cpp/bindings/qpid/dotnet/winsdk_sources/msvc9/examples/csharp.map.callback.sender/csharp.map.callback.sender.csproj @@ -1,4 +1,4 @@ - + - + \ No newline at end of file diff --git a/qpid/cpp/bindings/qpid/dotnet/winsdk_sources/msvc9/examples/csharp.map.receiver/csharp.map.receiver.csproj b/qpid/cpp/bindings/qpid/dotnet/winsdk_sources/msvc9/examples/csharp.map.receiver/csharp.map.receiver.csproj index ac0a4e144d..b71e1667b9 100644 --- a/qpid/cpp/bindings/qpid/dotnet/winsdk_sources/msvc9/examples/csharp.map.receiver/csharp.map.receiver.csproj +++ b/qpid/cpp/bindings/qpid/dotnet/winsdk_sources/msvc9/examples/csharp.map.receiver/csharp.map.receiver.csproj @@ -21,7 +21,7 @@ under the License. Debug x86 - 9.0.21022 + 9.0.30729 2.0 {AD9E53D7-DB10-4DA2-84D2-A81BE09B04E9} Exe @@ -35,7 +35,7 @@ under the License. true full false - $(ProjectDir)..\..\..\bin\ + $(ProjectDir)..\..\..\bin\$(Configuration) DEBUG;TRACE prompt 4 @@ -43,21 +43,21 @@ under the License. pdbonly true - $(ProjectDir)..\..\..\bin\ + $(ProjectDir)..\..\..\bin\$(Configuration) TRACE prompt 4 true - $(ProjectDir)..\..\..\bin\ + $(ProjectDir)..\..\..\bin\$(Configuration) DEBUG;TRACE full x86 prompt - $(ProjectDir)..\..\..\bin\ + $(ProjectDir)..\..\..\bin\$(Configuration) TRACE true pdbonly @@ -66,24 +66,30 @@ under the License. true - $(ProjectDir)..\..\..\bin\ + $(ProjectDir)..\..\..\bin\$(Configuration) DEBUG;TRACE full x64 prompt - $(ProjectDir)..\..\..\bin\ + $(ProjectDir)..\..\..\bin\$(Configuration) TRACE true pdbonly x64 prompt - - + + + False + ..\..\..\bin\$(Configuration)\org.apache.qpid.messaging.dll + + + + False - $(ProjectDir)..\..\..\bin\org.apache.qpid.messaging.dll + ..\..\..\bin\$(Configuration)\org.apache.qpid.messaging.dll diff --git a/qpid/cpp/bindings/qpid/dotnet/winsdk_sources/msvc9/examples/csharp.map.sender/csharp.map.sender.csproj b/qpid/cpp/bindings/qpid/dotnet/winsdk_sources/msvc9/examples/csharp.map.sender/csharp.map.sender.csproj index eef669291b..6775913ede 100644 --- a/qpid/cpp/bindings/qpid/dotnet/winsdk_sources/msvc9/examples/csharp.map.sender/csharp.map.sender.csproj +++ b/qpid/cpp/bindings/qpid/dotnet/winsdk_sources/msvc9/examples/csharp.map.sender/csharp.map.sender.csproj @@ -21,7 +21,7 @@ under the License. Debug x86 - 9.0.21022 + 9.0.30729 2.0 {5D8252F5-E1D3-44A0-94C7-7CB75E843C10} Exe @@ -35,7 +35,7 @@ under the License. true full false - $(ProjectDir)..\..\..\bin\ + $(ProjectDir)..\..\..\bin\$(Configuration) DEBUG;TRACE prompt 4 @@ -43,21 +43,21 @@ under the License. pdbonly true - $(ProjectDir)..\..\..\bin\ + $(ProjectDir)..\..\..\bin\$(Configuration) TRACE prompt 4 true - $(ProjectDir)..\..\..\bin\ + $(ProjectDir)..\..\..\bin\$(Configuration) DEBUG;TRACE full x86 prompt - $(ProjectDir)..\..\..\bin\ + $(ProjectDir)..\..\..\bin\$(Configuration) TRACE true pdbonly @@ -66,24 +66,30 @@ under the License. true - $(ProjectDir)..\..\..\bin\ + $(ProjectDir)..\..\..\bin\$(Configuration) DEBUG;TRACE full x64 prompt - $(ProjectDir)..\..\..\bin\ + $(ProjectDir)..\..\..\bin\$(Configuration) TRACE true pdbonly x64 prompt - - + + + False + ..\..\..\bin\$(Configuration)\org.apache.qpid.messaging.dll + + + + False - $(ProjectDir)..\..\..\bin\org.apache.qpid.messaging.dll + ..\..\..\bin\$(Configuration)\org.apache.qpid.messaging.dll diff --git a/qpid/cpp/bld-winsdk.ps1 b/qpid/cpp/bld-winsdk.ps1 index 7c691c99d9..51c1879974 100644 --- a/qpid/cpp/bld-winsdk.ps1 +++ b/qpid/cpp/bld-winsdk.ps1 @@ -305,13 +305,16 @@ function BuildAPlatform $dst = Resolve-Path "$install_dir/dotnet_examples" Copy-Item "$src\" -destination "$dst\" -recurse -force - Remove-Item -recurse "$install_dir/dotnet_examples/examples/msvc9" - Remove-Item -recurse "$install_dir/dotnet_examples/examples/msvc10" + Get-ChildItem * -include *.csv -recurse | remove-item + # Remove-Item -recurse "$install_dir/dotnet_examples/examples/msvc9" + # Remove-Item -recurse "$install_dir/dotnet_examples/examples/msvc10" + cmd /c "rd /s /q ""$install_dir/dotnet_examples/examples/msvc9""" + cmd /c "rd /s /q ""$install_dir/dotnet_examples/examples/msvc10""" # TODO: Fix up the .NET binding example solution/projects before including them. - # $src = Resolve-Path "$qpid_cpp_src/bindings/qpid/dotnet/winsdk_sources/$msvcVer" - # $dst = Resolve-Path "$install_dir/dotnet_examples" - # Copy-Item "$src\*" -destination "$dst\" -recurse -force + $src = Resolve-Path "$qpid_cpp_src/bindings/qpid/dotnet/winsdk_sources/$msvcVer" + $dst = Resolve-Path "$install_dir/dotnet_examples" + Copy-Item "$src\*" -destination "$dst\" -recurse -force # For the C++ examples: install a CMakeLists.txt file so customers can build # their own Visual Studio solutions and projects. @@ -322,13 +325,13 @@ function BuildAPlatform # Create a batch file that will run examples-cmake with the correct generator $dst = Join-Path $install_dir "examples\examples-cmake\run-cmake.bat" - "REM" | Out-File -filepath $dst - "REM run-cmake.bat" | Out-File -filepath $dst -append - "REM" | Out-File -filepath $dst -append - "REM Runs cmake to build native C++ example solution and" | Out-File -filepath $dst -append - "REM projects for this WinSDK: $platform $vsName" | Out-File -filepath $dst -append - "REM" | Out-File -filepath $dst -append - "cmake -G ""$cmakeGenerator"" ." | Out-File -filepath $dst -append + "REM" | Out-File -filepath $dst -encoding ASCII + "REM run-cmake.bat" | Out-File -filepath $dst -encoding ASCII -append + "REM" | Out-File -filepath $dst -encoding ASCII -append + "REM Runs cmake to build native C++ example solution and" | Out-File -filepath $dst -encoding ASCII -append + "REM projects for this WinSDK: $platform $vsName" | Out-File -filepath $dst -encoding ASCII -append + "REM" | Out-File -filepath $dst -encoding ASCII -append + "cmake -G ""$cmakeGenerator"" ." | Out-File -filepath $dst -encoding ASCII -append # Zip the /bin PDB files &'7z' a -mx9 ".\$install_dir\bin\Debug\symbols-debug.zip" ".\$install_dir\bin\DebugPDB\*.pdb" -- cgit v1.2.1