Permalink
Browse files

Only import msbuild nuget config if BuildPackage is true.

  • Loading branch information...
1 parent 5615c37 commit 58b87971c747ab6a3241c35e1cd1e57c1d0df820 Dan Kendall committed Mar 5, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Spreedly.Net/Spreedly.Net.csproj
View
2 Spreedly.Net/Spreedly.Net.csproj
@@ -91,7 +91,7 @@
<None Include="Spreedly.Net.nuspec" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
- <Import Project="$(SolutionDir)\.nuget\NuGet.targets" />
+ <Import Condition="$(BuildPackage) == 'true'" Project="$(SolutionDir)\.nuget\NuGet.targets" />
<!-- 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">

0 comments on commit 58b8797

Please sign in to comment.