Skip to content

cross-platform-targeting: remove Xamarin/UWP-era graphics, modernize content#52995

Draft
Copilot wants to merge 2 commits intomainfrom
copilot/update-freshness-graphic-xamarin
Draft

cross-platform-targeting: remove Xamarin/UWP-era graphics, modernize content#52995
Copilot wants to merge 2 commits intomainfrom
copilot/update-freshness-graphic-xamarin

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 13, 2026

The article contained two diagrams showing a pre-.NET-5 ecosystem (Xamarin, .NET Core, UWP, netcoreapp2.0) that no longer reflect current .NET. All UWP references in prose and code were also stale.

Changes

  • Deleted both outdated images (platforms-netstandard.png, nuget-package-multiple-assemblies.png)
  • Replaced the NuGet multi-targeting diagram with prose describing the netstandard2.0/net8.0 assembly selection behavior
  • Code example: WINDOWS_UWPWINDOWS (the preprocessor constant defined by net*-windows OS-specific TFMs)
// Before
#elif WINDOWS_UWP
    return CallUwpApi();

// After
#elif WINDOWS
    return CallWindowsApi();
  • Prose: "ahead-of-time compilation on iOS or UWP" → "iOS or Android"; "UWP control toolkit" → "WinUI control toolkit"
  • Updated ms.date

Internal previews

📄 File 🔗 Preview link
docs/standard/library-guidance/cross-platform-targeting.md docs/standard/library-guidance/cross-platform-targeting

Copilot AI linked an issue Apr 13, 2026 that may be closed by this pull request
@dotnet-policy-service dotnet-policy-service bot added the okr-freshness OKR: Freshness of content label Apr 13, 2026
Copilot AI changed the title [WIP] Update freshness of article with Xamarin graphic cross-platform-targeting: remove Xamarin/UWP-era graphics, modernize content Apr 13, 2026
Copilot AI requested a review from gewarren April 13, 2026 21:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update freshness - e.g. graphic showing Xamarin

2 participants