IGNITE-12604 .NET: Fix file copy logic in build script

Fix missing .NET Core publish directory
diff --git a/modules/platforms/dotnet/build.ps1 b/modules/platforms/dotnet/build.ps1
index 15a91c6..c89d85e 100644
--- a/modules/platforms/dotnet/build.ps1
+++ b/modules/platforms/dotnet/build.ps1
@@ -249,6 +249,7 @@
         if ($projName.StartsWith("Apache.Ignite")) {
             $target = "$projName\bin\Release"
             Make-Dir($target)
+            Copy-Item -Force $_ $target
         }
     }    
 }
@@ -258,11 +259,12 @@
 
 Get-ChildItem *.csproj -Recurse | where Name -NotLike "*Examples*" `
                      | where Name -NotLike "*Tests*" `
+                     | where Name -NotLike "*DotNetCore*" `
                      | where Name -NotLike "*Benchmarks*" | % {
-    $binDir = if (($platform -eq "Any CPU") -or ($_.Name -ne "Apache.Ignite.Core.csproj") -or $IsLinux) `
-                {"bin\$configuration"} else {"bin\$platform\$configuration"}
-    $dir = join-path (split-path -parent $_) $binDir
-    Copy-Item -Force $dir\*.* bin
+    $projDir = split-path -parent $_.FullName 
+    $dir = [IO.Path]::Combine($projDir, "bin", $configuration, "*")
+    echo "Copying files to bin from '$dir'"
+    Copy-Item -Force -Recurse $dir bin
 }