cross-platform-targeting: remove Xamarin/UWP-era graphics, modernize content#52995
Open
cross-platform-targeting: remove Xamarin/UWP-era graphics, modernize content#52995
Conversation
…ze content Agent-Logs-Url: https://github.com/dotnet/docs/sessions/71bd78c1-5b1a-4904-a61e-ddd321aabd31 Co-authored-by: gewarren <24882762+gewarren@users.noreply.github.com>
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
gewarren
approved these changes
Apr 13, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
This PR modernizes the cross-platform targeting guidance by removing legacy Xamarin/UWP-era diagrams and updating the accompanying prose and sample code to reflect current .NET multi-targeting and Windows platform targeting.
Changes:
- Removed two outdated ecosystem/packaging diagrams from the article.
- Replaced the NuGet multi-targeting diagram with prose describing
netstandard2.0vsnet8.0asset selection. - Updated UWP references in prose and changed the sample preprocessor symbol from
WINDOWS_UWPtoWINDOWS.
Reviewed changes
Copilot reviewed 1 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| docs/standard/library-guidance/cross-platform-targeting.md | Removes outdated diagram references, updates UWP-era wording, adds updated multi-targeting explanation, and updates conditional compilation example. |
| docs/standard/library-guidance/media/cross-platform-targeting/platforms-netstandard.png | Deletes an outdated pre-.NET 5 ecosystem diagram. |
| docs/standard/library-guidance/media/cross-platform-targeting/nuget-package-multiple-assemblies.png | Deletes an outdated NuGet multi-targeting diagram. |
Agent-Logs-Url: https://github.com/dotnet/docs/sessions/8945da4a-5ae1-4f64-bffa-a0e4dae71baa Co-authored-by: gewarren <24882762+gewarren@users.noreply.github.com>
…e example Agent-Logs-Url: https://github.com/dotnet/docs/sessions/1d3c4398-c429-4805-b9a9-fd0557258836 Co-authored-by: gewarren <24882762+gewarren@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
platforms-netstandard.png,nuget-package-multiple-assemblies.png)netstandard2.0/net8.0assembly selection behaviorWINDOWS_UWP→NET8_0_WINDOWS(a TFM-based preprocessor symbol defined for thenet8.0-windowstarget)ms.dateInternal previews
Internal previews