Skip to content

Commit

Permalink
WIP RestoreDir
Browse files Browse the repository at this point in the history
  • Loading branch information
knocte committed Aug 12, 2023
1 parent 973511b commit 4254bd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion NuGet.Restore.targets
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
<Target Name="RestoreSolutions" Inputs="@(RestoreSolution)" Outputs="%(RestoreSolution.Identity)-BATCH">
<PropertyGroup>
<!-- The base restore directory can be overriden via the Before.*.targets file, but we default to the solution path, like NuGet does -->
<RestoreDir Condition=" '$(RestoreDir)' == '' And '$(SolutionPath)' != '' ">$([System.IO.Path]::GetDirectoryName('$(SolutionPath)'))</RestoreDir>
<RestoreDir Condition=" '$(RestoreDir)' == '' And '$(SolutionPath)' != '' ">$([System.IO.Path]::GetDirectoryName('$(SolutionPath)'))\..</RestoreDir>
</PropertyGroup>

<PropertyGroup>
Expand Down

0 comments on commit 4254bd9

Please sign in to comment.