You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by vo...@apache.org on 2015/12/03 14:09:25 UTC
[10/22] ignite git commit: Install.ps1 done
Install.ps1 done
Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/608f92c8
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/608f92c8
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/608f92c8
Branch: refs/heads/ignite-1626
Commit: 608f92c8534e91cbae2e597da08f152152e54145
Parents: 846a9b6
Author: Pavel Tupitsyn <pt...@gridgain.com>
Authored: Thu Nov 12 17:07:43 2015 +0300
Committer: Pavel Tupitsyn <pt...@gridgain.com>
Committed: Thu Nov 12 17:07:43 2015 +0300
----------------------------------------------------------------------
.../dotnet/Apache.Ignite.nuspec.Install.ps1 | 20 +++++++++++---------
1 file changed, 11 insertions(+), 9 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ignite/blob/608f92c8/modules/platforms/dotnet/Apache.Ignite.nuspec.Install.ps1
----------------------------------------------------------------------
diff --git a/modules/platforms/dotnet/Apache.Ignite.nuspec.Install.ps1 b/modules/platforms/dotnet/Apache.Ignite.nuspec.Install.ps1
index 4793498..044a3e2 100644
--- a/modules/platforms/dotnet/Apache.Ignite.nuspec.Install.ps1
+++ b/modules/platforms/dotnet/Apache.Ignite.nuspec.Install.ps1
@@ -12,19 +12,21 @@
param($installPath, $toolsPath, $package, $project)
-Write-Host "Welcome to Apache Ignite .NET!"
-
-SetProperties $project.ProjectItems.Item["Content"].Item["default-config.xml"]
-
-ForEach ($item in $project.ProjectItems.Item["Libs"].Items)
- SetProperties $item
-
Function SetProperties
{
param ($projItem)
Write-Host $projItem.Name
- $projItem.Properties.Item("BuildAction") = 2 # content
$projItem.Properties.Item("CopyToOutputDirectory").Value = 2 # copy if newer
-}
\ No newline at end of file
+}
+
+SetProperties $project.ProjectItems.Item("Config").ProjectItems.Item("default-config.xml")
+
+ForEach ($item in $project.ProjectItems.Item("Libs").ProjectItems)
+{
+ SetProperties $item
+}
+
+
+Write-Host "Welcome to Apache Ignite.NET!"
\ No newline at end of file