Permalink
Browse files

Fix the build for the version of MSBuild on teamcity.codebetter.com.

  • Loading branch information...
spraints committed Sep 14, 2012
1 parent 0e5c815 commit 8b563303cfa4c3849d9ac03deb3fe4c61d7d839c
Showing with 2 additions and 11 deletions.
  1. +2 −11 .nuget/nuget.targets
View
@@ -75,20 +75,11 @@
<Target Name="RestorePackages" DependsOnTargets="CheckPrerequisites">
<Exec Command="$(RestoreCommand)"
- Condition="'$(OS)' != 'Windows_NT' And Exists('$(PackagesConfig)')" />
-
- <Exec Command="$(RestoreCommand)"
- LogStandardErrorAsError="true"
- Condition="'$(OS)' == 'Windows_NT' And Exists('$(PackagesConfig)')" />
+ Condition="Exists('$(PackagesConfig)')" />
</Target>
<Target Name="BuildPackage" DependsOnTargets="CheckPrerequisites">
- <Exec Command="$(BuildCommand)"
- Condition=" '$(OS)' != 'Windows_NT' " />
-
- <Exec Command="$(BuildCommand)"
- LogStandardErrorAsError="true"
- Condition=" '$(OS)' == 'Windows_NT' " />
+ <Exec Command="$(BuildCommand)" />
</Target>
<UsingTask TaskName="DownloadNuGet" TaskFactory="CodeTaskFactory" AssemblyFile="$(MSBuildToolsPath)\Microsoft.Build.Tasks.v4.0.dll">

0 comments on commit 8b56330

Please sign in to comment.