Skip to content

Commit 84f23f3

Browse files
committed
Did the following:
- Added more target frameworks - Enabled unsafe - Bump version - Update description - Disabled warning for .NET 7.0 CS8981 - Added natives
1 parent 7e9a7df commit 84f23f3

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

Lua.NET.csproj

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

33
<PropertyGroup>
4-
<TargetFrameworks>net6.0;net6.0-windows</TargetFrameworks>
4+
<TargetFrameworks>net7.0;net7.0-windows;net6.0;net6.0-windows</TargetFrameworks>
55
<ImplicitUsings>enable</ImplicitUsings>
6+
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
67
<Nullable>enable</Nullable>
78
<PackageId>Lua.NET</PackageId>
8-
<Version>3.0.0</Version>
9+
<Version>4.0.0</Version>
910
<Authors>Cody Tilkins</Authors>
1011
<Copyright>Copyright © Cody Tilkins 2023</Copyright>
1112
<Title>Lua.NET</Title>
1213
<Product>Lua.NET</Product>
1314
<PackageIcon>Lua.NET.Logo.png</PackageIcon>
1415
<PackageIconUrl>https://raw.githubusercontent.com/tilkinsc/Lua.NET/main/Lua.NET.Logo.png</PackageIconUrl>
1516
<PackageTags>Lua LuaJIT</PackageTags>
16-
<Description>Lua.NET is full bindings to Lua and LuaJIT</Description>
17+
<Description>Lua.NET contains full bindings to Lua5.1.5, Lua5.2.4, Lua5.3.6, Lua.5.4.6 and LuaJIT</Description>
1718
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
1819
<PackageReadmeFile>README.md</PackageReadmeFile>
1920
<PackageLicenseFile>LICENSE</PackageLicenseFile>
2021
<RepositoryUrl>https://github.com/tilkinsc/Lua.NET</RepositoryUrl>
21-
<RepositoryType>git</RepositoryType>
22+
<RepositoryType>git</RepositoryType>
23+
<NoWarn>CS8981</NoWarn>
2224
</PropertyGroup>
2325

2426
<ItemGroup>
@@ -27,4 +29,9 @@
2729
<None Include="Lua.NET.Logo.png" Pack="true" PackagePath="\" />
2830
</ItemGroup>
2931

32+
<ItemGroup>
33+
<Content Include="native/win-x64/*.dll" Pack="true" PackagePath="native\win-x64" CopyToOutputDirectory="PreserveNewest" />
34+
<Content Include="native/linux-x64/*.dll" Pack="true" PackagePath="native\linux-x64" CopyToOutputDirectory="PreserveNewest" />
35+
</ItemGroup>
36+
3037
</Project>

0 commit comments

Comments
 (0)