Skip to content

Commit 33c9da7

Browse files
committed
Attempt to fix packing of native DLLs
1 parent 944b0ce commit 33c9da7

File tree

4 files changed

+4
-7
lines changed

4 files changed

+4
-7
lines changed

BinaryObjectScanner/BinaryObjectScanner.csproj

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -54,16 +54,13 @@
5454
</PropertyGroup>
5555

5656
<!-- These are needed for dealing with native Windows DLLs -->
57-
<ItemGroup Condition="!$(TargetFramework.StartsWith(`net2`)) AND !$(TargetFramework.StartsWith(`net3`)) AND $(RuntimeIdentifier.StartsWith(`win-x86`))">
58-
<Content Include="*.dll">
59-
<Pack>true</Pack>
60-
<PackagePath>contentFiles;content</PackagePath>
61-
<IncludeInPackage>true</IncludeInPackage>
62-
<CopyToOutput>true</CopyToOutput>
57+
<ItemGroup>
58+
<Content Include="runtimes\**\*">
6359
<BuildAction>Content</BuildAction>
64-
<copyToOutput>true</copyToOutput>
6560
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
6661
<CopyToPublishDirectory>Always</CopyToPublishDirectory>
62+
<PackagePath>%(Identity)</PackagePath>
63+
<Pack>true</Pack>
6764
</Content>
6865
</ItemGroup>
6966

File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)