Skip to content

Commit

Permalink
Fix path generated
Browse files Browse the repository at this point in the history
GeneratePathProperty does not work as seen in NuGet/Home#8476. Use workaround.
  • Loading branch information
Forgind committed May 12, 2020
1 parent a2d5a2f commit 66c82f6
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -15,11 +15,11 @@

<ItemGroup>
<PackageReference Include="Shouldly" />
<PackageDownload Include="NuGet.CommandLine" Version="[4.4.3]" GeneratePathProperty="true" />
<PackageDownload Include="NuGet.CommandLine" Version="[4.4.3]" />
</ItemGroup>

<ItemGroup>
<Content Condition="'$(MSBuildRuntimeType)' != 'Core' and '$(Configuration)' == 'Release'" Include="$(PkgNuGet_CommandLine)\tools\NuGet.exe" CopyToOutputDirectory="PreserveNewest" Link="nuget\NuGet.exe" />
<Content Condition="'$(MSBuildRuntimeType)' != 'Core' and '$(Configuration)' == 'Release'" Include="$(NuGetPackageRoot)\nuget.commandline\4.4.3\tools\NuGet.exe" CopyToOutputDirectory="PreserveNewest" Link="nuget\NuGet.exe" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFrameworkIdentifier)' != '.NETFramework'">
Expand Down

0 comments on commit 66c82f6

Please sign in to comment.