Update target to execute during packaging (#13521)
Co-authored-by: Nikolaj Geisle <70372949+Zeegaan@users.noreply.github.com>
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user