Don't copy over packages if there are no packages to copy.
This commit is contained in:
parent
194cdca506
commit
64ba96eac4
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@
|
|||
<PackageReference Include="$(PackageToRestore)" Version="$(PackageVersionToRestore)" />
|
||||
</ItemGroup>
|
||||
|
||||
<Target Name="LayoutTool" DependsOnTargets="Restore">
|
||||
<Target Name="LayoutTool" DependsOnTargets="Restore" Condition="'$(PackageToRestore)' != ''">
|
||||
|
||||
<PropertyGroup>
|
||||
<RestoredToolRoot>$([System.IO.Path]::GetFullPath('$(NuGetPackageRoot)/$(PackageToRestore)/$(PackageVersionToRestore)'))</RestoredToolRoot>
|
||||
|
|
Loading…
Add table
Reference in a new issue