Permalink
Browse files

Fix samples

  • Loading branch information...
nikhilk committed Jul 28, 2012
1 parent 540600e commit d9911763eeac18837609a04b67c99c87ddddcb14
@@ -2,7 +2,7 @@
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<RestoreNugetPackages Condition="'$(RestoreNugetPackages)' == ''">false</RestoreNugetPackages>
- <PackagesDir>$([System.IO.Directory]::GetParent($(MSBuildThisFile)))</PackagesDir>
+ <PackagesDir>$([System.IO.Directory]::GetParent($(MSBuildThisFileDirectory)))</PackagesDir>
<RestoreCommand>$(MSBuildThisFileDirectory)nuget.exe install "$(MSBuildProjectDirectory)\packages.config" -o "$(PackagesDir)"</RestoreCommand>
<BuildDependsOn Condition="$(RestoreNugetPackages) == 'true'">
RestorePackages;
@@ -2,7 +2,7 @@
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<RestoreNugetPackages Condition="'$(RestoreNugetPackages)' == ''">false</RestoreNugetPackages>
- <PackagesDir>$([System.IO.Directory]::GetParent($(MSBuildThisFile)))</PackagesDir>
+ <PackagesDir>$([System.IO.Directory]::GetParent($(MSBuildThisFileDirectory)))</PackagesDir>
<RestoreCommand>$(MSBuildThisFileDirectory)nuget.exe install "$(MSBuildProjectDirectory)\packages.config" -o "$(PackagesDir)"</RestoreCommand>
<BuildDependsOn Condition="$(RestoreNugetPackages) == 'true'">
RestorePackages;
Binary file not shown.
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <RestoreNugetPackages Condition="'$(RestoreNugetPackages)' == ''">false</RestoreNugetPackages>
+ <PackagesDir>$([System.IO.Directory]::GetParent($(MSBuildThisFileDirectory)))</PackagesDir>
+ <RestoreCommand>$(MSBuildThisFileDirectory)nuget.exe install "$(MSBuildProjectDirectory)\packages.config" -o "$(PackagesDir)"</RestoreCommand>
+ <BuildDependsOn Condition="$(RestoreNugetPackages) == 'true'">
+ RestorePackages;
+ $(BuildDependsOn);
+ </BuildDependsOn>
+ </PropertyGroup>
+
+ <Target Name="RestorePackages">
+ <Exec Command="$(RestoreCommand)" LogStandardErrorAsError="true" />
+ </Target>
+</Project>
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="utf-8"?>
+<repositories>
+ <repository path="..\PhotoGrid\packages.config" />
+ <repository path="..\PhotoList\packages.config" />
+ <repository path="..\PhotoListTests\packages.config" />
+ <repository path="..\Photos\packages.config" />
+ <repository path="..\PhotosWeb\packages.config" />
+ <repository path="..\Plugins\packages.config" />
+</repositories>

0 comments on commit d991176

Please sign in to comment.