This is an automated email from the ASF dual-hosted git repository.

ptupitsyn pushed a commit to branch ignite-2.8-dotnet-build-fix
in repository https://gitbox.apache.org/repos/asf/ignite.git


The following commit(s) were added to refs/heads/ignite-2.8-dotnet-build-fix by 
this push:
     new 34b06ab  .NET: Fix build script - do not clean target for asmDirs
34b06ab is described below

commit 34b06ab728cc7a2f835079f57bc4bdadda3bd18a
Author: Pavel Tupitsyn <[email protected]>
AuthorDate: Wed Feb 26 11:36:03 2020 +0300

    .NET: Fix build script - do not clean target for asmDirs
---
 modules/platforms/dotnet/build.ps1 | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/modules/platforms/dotnet/build.ps1 
b/modules/platforms/dotnet/build.ps1
index ecac051..eaa4248 100644
--- a/modules/platforms/dotnet/build.ps1
+++ b/modules/platforms/dotnet/build.ps1
@@ -247,9 +247,10 @@ if ($asmDirs) {
         }
 
         if ($projName.StartsWith("Apache.Ignite")) {
-            $target = "$projName\bin\Release"
-            Make-Dir($target)
+            $target = [IO.Path]::Combine($projName, "bin", $configuration)
+            New-Item -Path $target -ItemType "directory" -Force
 
+            echo "Copying '$_' to '$target'"
             Copy-Item -Force $_.FullName $target
         }
     }    

Reply via email to