Skip to content

feat: mark the libraries as AOT compatible - #1604

Merged
vbreuss merged 1 commit into
TestableIO:mainfrom
StefanGreve:feat/aot-compatible-wrappers
Nov 22, 2026
Merged

vbreuss merged 1 commit into
TestableIO:mainfrom
StefanGreve:feat/aot-compatible-wrappers

Conversation

@StefanGreve

Copy link
Copy Markdown
Contributor

Sets IsAotCompatible for net8.0 and later in src/Directory.Build.props, with the condition from the Native AOT docs. The trim and AOT analyzers now run in this repository's build, and apps that set VerifyReferenceAotCompatibility no longer get IL3058 for these assemblies.

No source changes were needed. All targets build without IL2xxx or IL3xxx warnings, and a Native AOT app built against this branch publishes and runs. The API snapshots gain IsTrimmable from net8.0 and IsAotCompatible from net10.0. The one remaining IL3058, for Testably.Abstractions.FileSystem.Interface, will be addressed in Testably/Testably.Abstractions.

@mergify

mergify Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

This pull request is merged.

@vbreuss
vbreuss force-pushed the feat/aot-compatible-wrappers branch from 60aa638 to d75b0f5 Compare November 22, 2026 08:44
@vbreuss
vbreuss merged commit 7f444c9 into TestableIO:main Nov 22, 2026
10 checks passed
@github-actions

Copy link
Copy Markdown

This is addressed in release v23.1.0.

@github-actions github-actions Bot added the state: released Issues that are released label Nov 22, 2026
microsoft-github-policy-service Bot pushed a commit to Azure/template-reference-generator that referenced this pull request Nov 22, 2026
Updated
[System.IO.Abstractions](https://github.com/TestableIO/System.IO.Abstractions)
from 23.0.0 to 23.1.0.

<details>
<summary>Release notes</summary>

_Sourced from [System.IO.Abstractions's
releases](https://github.com/TestableIO/System.IO.Abstractions/releases)._

## 23.1.0

## What's Changed
* chore: bump Mockolate to v4.1.1 by @​vbreuss in
TestableIO/System.IO.Abstractions#1593
* chore: use aweXpect.Chronology in tests by @​vbreuss in
TestableIO/System.IO.Abstractions#1594
* chore: use aweXpect.Snapshots.PublicApi for API tests by @​vbreuss in
TestableIO/System.IO.Abstractions#1595
* chore: bump aweXpect.Chronology to v1.2.0 so the local-time tests can
use the builders too by @​vbreuss in
TestableIO/System.IO.Abstractions#1597
* chore: bump aweXpect.Chronology to v1.3.0 by @​vbreuss in
TestableIO/System.IO.Abstractions#1598
* chore(deps): update dependency sharpcompress to 0.50.10 by
@​renovate[bot] in
TestableIO/System.IO.Abstractions#1599
* chore(deps): update dependency awexpect to 4.3.0 by @​renovate[bot] in
TestableIO/System.IO.Abstractions#1600
* chore(deps): update dependency awexpect.snapshots.publicapi to 4.3.0
by @​renovate[bot] in
TestableIO/System.IO.Abstractions#1601
* chore(deps): update dependency mockolate to 4.2.0 by @​renovate[bot]
in TestableIO/System.IO.Abstractions#1602
* chore(deps): update dependency sharpcompress to 0.50.11 by
@​renovate[bot] in
TestableIO/System.IO.Abstractions#1605
* chore: bump Testably.Abstractions.FileSystem.Interface to v11.1.0 by
@​vbreuss in
TestableIO/System.IO.Abstractions#1606
* feat: mark the libraries as AOT compatible by @​StefanGreve in
TestableIO/System.IO.Abstractions#1604

## New Contributors
* @​StefanGreve made their first contribution in
TestableIO/System.IO.Abstractions#1604

**Full Changelog**:
TestableIO/System.IO.Abstractions@v23.0.1...v23.1.0

## 23.0.1

## What's Changed
* chore(deps): update dependency awexpect to v4 by @​renovate[bot] in
TestableIO/System.IO.Abstractions#1580
* chore(deps): update dependency awexpect.testably to v3 by
@​renovate[bot] in
TestableIO/System.IO.Abstractions#1582
* chore(deps): update dependency microsoft.net.test.sdk to 18.12.0 by
@​renovate[bot] in
TestableIO/System.IO.Abstractions#1583
* chore(deps): update dependency sharpcompress to 0.50.9 by
@​renovate[bot] in
TestableIO/System.IO.Abstractions#1584
* chore(deps): update dependency awexpect to 4.1.0 by @​renovate[bot] in
TestableIO/System.IO.Abstractions#1585
* chore(deps): update dependency mockolate to v4 by @​renovate[bot] in
TestableIO/System.IO.Abstractions#1586
* chore(deps): update dependency awexpect.mockolate to v4 by
@​renovate[bot] in
TestableIO/System.IO.Abstractions#1587
* chore(deps): update dependency awexpect to 4.2.0 by @​renovate[bot] in
TestableIO/System.IO.Abstractions#1588
* chore(deps): update dependency coverlet.collector to 10.1.1 by
@​renovate[bot] in
TestableIO/System.IO.Abstractions#1589
* chore(deps): update dependency mockolate to 4.1.0 by @​renovate[bot]
in TestableIO/System.IO.Abstractions#1590
* fix: name the Unix root drive `/` instead of `/:\` by
@​mohsinaliwork686-rgb in
TestableIO/System.IO.Abstractions#1591

## New Contributors
* @​mohsinaliwork686-rgb made their first contribution in
TestableIO/System.IO.Abstractions#1591

**Full Changelog**:
TestableIO/System.IO.Abstractions@v23.0.0...v23.0.1

Commits viewable in [compare
view](TestableIO/System.IO.Abstractions@v23.0.0...v23.1.0).
</details>

[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=System.IO.Abstractions&package-manager=nuget&previous-version=23.0.0&new-version=23.1.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This was referenced Nov 23, 2026
This was referenced Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

state: released Issues that are released

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants