Skip to content

Add docs for NETSDK1237 diagnostic#52994

Draft
Copilot wants to merge 2 commits intomainfrom
copilot/add-diagnostic-code-docs
Draft

Add docs for NETSDK1237 diagnostic#52994
Copilot wants to merge 2 commits intomainfrom
copilot/add-diagnostic-code-docs

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 13, 2026

Adds documentation for NETSDK1237, a new SDK warning introduced in dotnet/sdk#53635.

What is NETSDK1237?

The warning fires when an assembly is listed in PublishReadyToRunPartialAssemblies but is also being compiled into a ReadyToRun composite image (PublishReadyToRunComposite=true). These two settings are incompatible — partial compilation only works for assemblies compiled separately, not ones compiled into a composite image.

Changes

  • New article: docs/core/tools/sdk-errors/netsdk1237.md — describes the warning, its cause, and two ways to resolve it
  • Updated docs/core/tools/sdk-errors/index.md — added a linked table row for NETSDK1237
  • Updated docs/navigate/tools-diagnostics/toc.yml — added NETSDK1237 to the navigation

Content source

  • Diagnostic message text: copied verbatim from the SDK PR's Strings.resx
  • Article body: AI-generated based on the diagnostic message and PR description

Copilot AI and others added 2 commits April 13, 2026 19:08
Agent-Logs-Url: https://github.com/dotnet/docs/sessions/4f8fd133-0e75-4727-9793-9d6773e18749

Co-authored-by: jkoritzinsky <1571408+jkoritzinsky@users.noreply.github.com>
Agent-Logs-Url: https://github.com/dotnet/docs/sessions/4f8fd133-0e75-4727-9793-9d6773e18749

Co-authored-by: jkoritzinsky <1571408+jkoritzinsky@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants