Update target to execute during packaging (#13521)

Co-authored-by: Nikolaj Geisle <70372949+Zeegaan@users.noreply.github.com>
This commit is contained in:
Ronald Barendse
2023-04-05 12:59:01 +02:00
committed by GitHub
parent 4cb46f06ae
commit 9223b5737e
2 changed files with 4 additions and 4 deletions

View File

@@ -50,10 +50,10 @@
</Target>
<!-- Create and pack empty file to add TFM dependency -->
<Target Name="PackTargetFrameworkFile" BeforeTargets="Build">
<Target Name="GetTargetFrameworkPackageFiles" BeforeTargets="GenerateNuspec">
<WriteLinesToFile File="$(IntermediateOutputPath)_._" />
<ItemGroup>
<None Include="$(IntermediateOutputPath)_._" Pack="true" PackagePath="lib\$(TargetFramework)" />
<_PackageFiles Include="$(IntermediateOutputPath)_._" PackagePath="lib\$(TargetFramework)" />
</ItemGroup>
</Target>
</Project>

View File

@@ -14,10 +14,10 @@
</ItemGroup>
<!-- Create and pack empty file to add TFM dependency -->
<Target Name="PackTargetFrameworkFile" BeforeTargets="Build">
<Target Name="GetTargetFrameworkPackageFiles" BeforeTargets="GenerateNuspec">
<WriteLinesToFile File="$(IntermediateOutputPath)_._" />
<ItemGroup>
<None Include="$(IntermediateOutputPath)_._" Pack="true" PackagePath="lib\$(TargetFramework)" />
<_PackageFiles Include="$(IntermediateOutputPath)_._" PackagePath="lib\$(TargetFramework)" />
</ItemGroup>
</Target>
</Project>