Skip to content

Commit

Permalink
Mark library as AOT compatible for net8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
badcel committed Nov 25, 2023
1 parent 853604a commit 2c4089a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/HidApi.Net/HidApi.Net.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@
<PackageTags>hid;usb;binding</PackageTags>
</PropertyGroup>

<PropertyGroup Condition="'$(TargetFramework)' == 'net8.0'">
<IsAotCompatible>true</IsAotCompatible>
</PropertyGroup>

<PropertyGroup Condition="'$(GITHUB_ACTIONS)' == 'true'">
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
</PropertyGroup>
Expand Down

0 comments on commit 2c4089a

Please sign in to comment.