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:24 UTC
[09/22] ignite git commit: wip
wip
Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/846a9b65
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/846a9b65
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/846a9b65
Branch: refs/heads/ignite-1626
Commit: 846a9b6577e9466ad606a19c9bd7bfc851668135
Parents: b7b1fb6
Author: Pavel Tupitsyn <pt...@gridgain.com>
Authored: Thu Nov 12 16:57:09 2015 +0300
Committer: Pavel Tupitsyn <pt...@gridgain.com>
Committed: Thu Nov 12 16:57:09 2015 +0300
----------------------------------------------------------------------
.../dotnet/Apache.Ignite.nuspec.Install.ps1 | 24 ++++++++++++--------
1 file changed, 15 insertions(+), 9 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ignite/blob/846a9b65/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 33115d0..4793498 100644
--- a/modules/platforms/dotnet/Apache.Ignite.nuspec.Install.ps1
+++ b/modules/platforms/dotnet/Apache.Ignite.nuspec.Install.ps1
@@ -12,13 +12,19 @@
param($installPath, $toolsPath, $package, $project)
-ForEach ($item in $project.ProjectItems)
-{
- # Copy Always = 1
- # Copy if Newer = 2
- # $item.Properties.Item("CopyToOutputDirectory").Value = 2
- Write-Host $item.Name
+Write-Host "Welcome to Apache Ignite .NET!"
+
+SetProperties $project.ProjectItems.Item["Content"].Item["default-config.xml"]
- #$buildAction = $item.Properties.Item("BuildAction")
- #$buildAction.Value = 2
-}
+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