Fix pre-build event

Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/e32f0f01
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/e32f0f01
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/e32f0f01

Branch: refs/heads/ignite-1626
Commit: e32f0f0189b144064a2c7308c112acae0bd557e6
Parents: 76d52cd
Author: Pavel Tupitsyn <ptupit...@gridgain.com>
Authored: Thu Dec 24 21:20:05 2015 +0300
Committer: Pavel Tupitsyn <ptupit...@gridgain.com>
Committed: Thu Dec 24 21:20:05 2015 +0300

----------------------------------------------------------------------
 .../Apache.Ignite.Core.Tests.NuGet.csproj                        | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/e32f0f01/modules/platforms/dotnet/Apache.Ignite.Core.Tests.NuGet/Apache.Ignite.Core.Tests.NuGet.csproj
----------------------------------------------------------------------
diff --git 
a/modules/platforms/dotnet/Apache.Ignite.Core.Tests.NuGet/Apache.Ignite.Core.Tests.NuGet.csproj
 
b/modules/platforms/dotnet/Apache.Ignite.Core.Tests.NuGet/Apache.Ignite.Core.Tests.NuGet.csproj
index 17d093e..864dadd 100644
--- 
a/modules/platforms/dotnet/Apache.Ignite.Core.Tests.NuGet/Apache.Ignite.Core.Tests.NuGet.csproj
+++ 
b/modules/platforms/dotnet/Apache.Ignite.Core.Tests.NuGet/Apache.Ignite.Core.Tests.NuGet.csproj
@@ -65,6 +65,10 @@
     <PostBuildEvent>if not exist $(TargetDir)Libs md $(TargetDir)Libs
 xcopy /s /y  $(ProjectDir)packages\Apache.Ignite.NET\Jars 
$(TargetDir)Libs</PostBuildEvent>
   </PropertyGroup>
+  <PropertyGroup>
+    <PreBuildEvent>cd $(ProjectDir)
+if not exist packages install-package.cmd</PreBuildEvent>
+  </PropertyGroup>
   <!-- To modify your build process, add your task inside one of the targets 
below and uncomment it. 
        Other similar extension points exist, see Microsoft.Common.targets.
   <Target Name="BeforeBuild">

Reply via email to