Skip to content

Commit 2d6e161

Browse files
committed
include native dlls in Nuget package
1 parent 33d18e8 commit 2d6e161

1 file changed

Lines changed: 25 additions & 31 deletions

File tree

Box2dNet/Box2dNet.csproj

Lines changed: 25 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,31 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

3-
<PropertyGroup>
4-
<TargetFramework>net8.0</TargetFramework>
5-
<ImplicitUsings>enable</ImplicitUsings>
6-
<Nullable>enable</Nullable>
7-
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
8-
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
9-
<Title>Box2d v3 for .NET</Title>
10-
<Authors>Thomas Vantroyen</Authors>
11-
<Description>A thin Box2D v3 .NET wrapper that stays true to the original API.</Description>
12-
<PackageProjectUrl>https://github.com/thomasvt/Box2D3Net</PackageProjectUrl>
13-
<PackageReadmeFile>README.md</PackageReadmeFile>
14-
<RepositoryUrl>https://github.com/thomasvt/Box2D3Net</RepositoryUrl>
15-
<Version>3.1.1.0</Version>
16-
</PropertyGroup>
3+
<PropertyGroup>
4+
<TargetFramework>net8.0</TargetFramework>
5+
<ImplicitUsings>enable</ImplicitUsings>
6+
<Nullable>enable</Nullable>
7+
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
8+
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
9+
<Title>Box2d v3 for .NET</Title>
10+
<Authors>Thomas Vantroyen</Authors>
11+
<Description>A thin Box2D v3 .NET wrapper that stays true to the original API.</Description>
12+
<PackageProjectUrl>https://github.com/thomasvt/Box2D3Net</PackageProjectUrl>
13+
<PackageReadmeFile>README.md</PackageReadmeFile>
14+
<RepositoryUrl>https://github.com/thomasvt/Box2D3Net</RepositoryUrl>
15+
<Version>3.1.2.0</Version>
16+
</PropertyGroup>
1717

18-
<ItemGroup>
19-
<None Include="..\README.md">
20-
<Pack>True</Pack>
21-
<PackagePath>\</PackagePath>
22-
</None>
23-
</ItemGroup>
18+
<ItemGroup>
19+
<None Include="..\README.md">
20+
<Pack>True</Pack>
21+
<PackagePath>\</PackagePath>
22+
</None>
23+
</ItemGroup>
2424

25-
<ItemGroup>
26-
<None Update="box2d.dll">
27-
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
28-
</None>
29-
<None Update="box2dd.dll">
30-
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
31-
</None>
32-
<None Update="box2dd.pdb">
33-
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
34-
</None>
35-
</ItemGroup>
25+
<ItemGroup>
26+
<None Include="box2d.dll" Pack="true" PackagePath="runtimes/win-x64/native" CopyToOutputDirectory="PreserveNewest" />
27+
<None Include="box2dd.dll" Pack="true" PackagePath="runtimes/win-x64/native" CopyToOutputDirectory="PreserveNewest" />
28+
<None Include="box2dd.pdb" Pack="true" PackagePath="runtimes/win-x64/native" CopyToOutputDirectory="PreserveNewest" />
29+
</ItemGroup>
3630

3731
</Project>

0 commit comments

Comments
 (0)