Skip to content

Conversation

@vbaderks
Copy link
Contributor

Allow project that use the assembly to publish their project as an AOT binary.

Allow project that use the assembly to publish their project as an AOT binary.
@vbaderks vbaderks requested a review from Copilot August 10, 2025 10:55

This comment was marked as outdated.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@vbaderks vbaderks requested a review from Copilot August 10, 2025 10:57
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR enables AOT (Ahead-of-Time) compilation support for the CharLS.Managed library in .NET 8.0 and later versions, allowing consuming applications to publish as AOT binaries for improved startup performance and reduced memory footprint.

  • Added <IsAotCompatible>true</IsAotCompatible> property to the project file
  • Updated System.Drawing.Common package dependency from version 9.0.7 to 9.0.8
  • Documented the AOT compilation support addition in the changelog

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
src/CharLS.Managed.csproj Added IsAotCompatible property to enable AOT compilation support
Directory.Packages.props Updated System.Drawing.Common package version to 9.0.8
CHANGELOG.md Added changelog entry documenting AOT compilation support

@github-actions
Copy link

Code Coverage

Package Line Rate Branch Rate Complexity Health
CharLS.Managed 96% 92% 1804
CharLS.Managed 96% 92% 1804
Summary 96% (6700 / 6986) 92% (2736 / 2986) 3608

@vbaderks vbaderks merged commit b315474 into main Aug 10, 2025
11 checks passed
@vbaderks vbaderks deleted the add-aot-compatible branch August 10, 2025 10:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants