Skip to content

Commit b315474

Browse files
vbaderksCopilot
andauthored
Add support for AOT compilation in .NET 8.0 and later (#83)
* Add IsAotCompatible is true Allow project that use the assembly to publish their project as an AOT binary. * Update CHANGELOG.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent e485523 commit b315474

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
1010

1111
- New property JpegLSDecoder.CompressedDataFormat to retrieve the compressed data format of
1212
the JPEG-LS file. JPEG-LS defines 3 formats: 1 interchange (most common) and 2 abbreviated.
13+
- Added support for AOT compilation in .NET 8.0 and later.
1314

1415
### Changed
1516

Directory.Packages.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88
<PackageVersion Include="coverlet.collector" Version="6.0.4" />
99
<PackageVersion Include="BenchmarkDotNet" Version="0.15.2" />
1010
<PackageVersion Include="Microsoft.SourceLink.GitHub" Version="8.0.0" />
11-
<PackageVersion Include="System.Drawing.Common" Version="9.0.7" />
11+
<PackageVersion Include="System.Drawing.Common" Version="9.0.8" />
1212
</ItemGroup>
1313
</Project>

src/CharLS.Managed.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
<GenerateDocumentationFile>true</GenerateDocumentationFile>
1010
<ImplicitUsings>enable</ImplicitUsings>
1111
<RootNamespace>CharLS.Managed</RootNamespace>
12+
<IsAotCompatible>true</IsAotCompatible>
1213

1314
<!-- Use strong naming -->
1415
<SignAssembly>true</SignAssembly>

0 commit comments

Comments
 (0)