Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
LatestRuntimeFrameworkVersion="@NET_PREVIOUS_VERSION@"
TargetingPackVersion="@NET_PREVIOUS_VERSION@"
/>
<EolWorkload Include="net9.0-android" Url="https://aka.ms/maui-support-policy" />
Comment thread
jonathanpeppers marked this conversation as resolved.
</ItemGroup>

<ItemGroup Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionGreaterThanOrEquals($(TargetFrameworkVersion), '9.0')) ">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,12 @@ public abstract class Foo<TVirtualView, TNativeView> : ViewHandler<TVirtualView,
}",
});

// net9.0-android is EOL and emits NETSDK1202
bool isEol = targetFramework.StartsWith ("net9.0-", StringComparison.Ordinal);
if (isEol) {
library.SetProperty ("CheckEolWorkloads", "false");
}

var builder = CreateDllBuilder ();
Assert.IsTrue (builder.Build (library), $"{library.ProjectName} should succeed");
// NOTE: Preview API levels emit XA4211
Expand Down