Skip to content

Commit 4f09795

Browse files
committed
try fix include of unmanged dlls in nugets (need to be checked)
1 parent 9bff215 commit 4f09795

File tree

1 file changed

+9
-11
lines changed

1 file changed

+9
-11
lines changed

src/S7CommPlusDriver/S7CommPlusDriver.csproj

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,6 @@
88
<PropertyGroup>
99
<StartupObject />
1010
</PropertyGroup>
11-
<ItemGroup>
12-
<Content Include="x64\libcrypto-3.dll">
13-
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
14-
</Content>
15-
<Content Include="x64\libssl-3.dll">
16-
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
17-
</Content>
18-
</ItemGroup>
1911
<ItemGroup>
2012
<PackageReference Include="Microsoft.CSharp" Version="4.7.0" />
2113
<PackageReference Include="System.Data.DataSetExtensions" Version="4.5.0" />
@@ -24,11 +16,17 @@
2416
<ProjectReference Include="..\Zlib.net\Zlib.net.csproj" />
2517
</ItemGroup>
2618
<ItemGroup>
27-
<None Update="x86\libcrypto-3.dll">
19+
<Content Include="x64\*">
2820
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
29-
</None>
30-
<None Update="x86\libssl-3.dll">
21+
<Pack>true</Pack>
22+
<PackagePath>runtimes/native/x64</PackagePath>
23+
</Content>
24+
</ItemGroup>
25+
<ItemGroup>
26+
<None Include="x86\*">
3127
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
28+
<Pack>true</Pack>
29+
<PackagePath>runtimes/native/x86</PackagePath>
3230
</None>
3331
</ItemGroup>
3432
<PropertyGroup>

0 commit comments

Comments
 (0)