Skip to content

Commit

Permalink
Updated Nuget for better build support
Browse files Browse the repository at this point in the history
  • Loading branch information
evest committed Dec 2, 2016
1 parent 955c91c commit 4074ae3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
Binary file modified src/.nuget/NuGet.exe
Binary file not shown.
9 changes: 7 additions & 2 deletions src/.nuget/NuGet.targets
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,14 @@

<PaddedSolutionDir Condition=" '$(OS)' == 'Windows_NT'">"$(SolutionDir) "</PaddedSolutionDir>
<PaddedSolutionDir Condition=" '$(OS)' != 'Windows_NT' ">"$(SolutionDir)"</PaddedSolutionDir>

<!-- Commands -->
<RestoreCommand>$(NuGetCommand) install "$(PackagesConfig)" -source "$(PackageSources)" $(NonInteractiveSwitch) $(RequireConsentSwitch) -solutionDir $(PaddedSolutionDir)</RestoreCommand>
<!--
<RestoreCommand Condition=" '$(PackageSources)' == '' ">$(NuGetCommand) install "$(PackagesConfig)" $(NonInteractiveSwitch) $(RequireConsentSwitch) -solutionDir $(PaddedSolutionDir)</RestoreCommand>
<RestoreCommand Condition=" '$(PackageSources)' != '' ">$(NuGetCommand) install "$(PackagesConfig)" -source "$(PackageSources)" $(NonInteractiveSwitch) $(RequireConsentSwitch) -solutionDir $(PaddedSolutionDir)</RestoreCommand>
-->
<RestoreCommand>$(NuGetCommand) install "$(PackagesConfig)" $(NonInteractiveSwitch) $(RequireConsentSwitch) -solutionDir $(PaddedSolutionDir)</RestoreCommand>

<BuildCommand>$(NuGetCommand) pack "$(ProjectPath)" -Properties "Configuration=$(Configuration);Platform=$(Platform)" $(NonInteractiveSwitch) -OutputDirectory "$(PackageOutputDir)" -symbols</BuildCommand>

<!-- We need to ensure packages are restored prior to assembly resolve -->
Expand Down

0 comments on commit 4074ae3

Please sign in to comment.