Lua.csproj 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <Project Sdk="Microsoft.NET.Sdk">
  2. <PropertyGroup>
  3. <TargetFrameworks>net8.0; net6.0; netstandard2.1</TargetFrameworks>
  4. <LangVersion>12</LangVersion>
  5. <ImplicitUsings>enable</ImplicitUsings>
  6. <Nullable>enable</Nullable>
  7. <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
  8. <!-- NuGet Packaging -->
  9. <PackageId>LuaCSharp</PackageId>
  10. <PackageTags>lua;interpreter</PackageTags>
  11. <Description>High performance Lua interpreter implemented in C# for .NET and Unity</Description>
  12. </PropertyGroup>
  13. <ItemGroup>
  14. <PackageReference Include="PolySharp" Version="1.14.1">
  15. <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
  16. <PrivateAssets>all</PrivateAssets>
  17. </PackageReference>
  18. <None Include="..\Lua.SourceGenerator\bin\$(Configuration)\netstandard2.0\Lua.SourceGenerator.dll"
  19. PackagePath="analyzers\dotnet\cs"
  20. Pack="true"
  21. Visible="false" />
  22. </ItemGroup>
  23. <ItemGroup Condition="$(TargetFramework) == 'netstandard2.1'">
  24. <PackageReference Include="System.Runtime.CompilerServices.Unsafe" Version="6.0.0" />
  25. </ItemGroup>
  26. <ItemGroup>
  27. <None Include="../../Icon.png" Pack="true" PackagePath="/" />
  28. <None Include="..\..\README.md" Pack="true" PackagePath="README.md" />
  29. <EmbeddedResource Include="..\..\LICENSE" />
  30. </ItemGroup>
  31. <ItemGroup>
  32. <ProjectReference Include="..\Lua.SourceGenerator\Lua.SourceGenerator.csproj"
  33. OutputItemType="Analyzer"
  34. ReferenceOutputAssembly="false"/>
  35. </ItemGroup>
  36. </Project>