Conversation
* Add NuGet package compatibility rules documentation Add a new article under library guidance that documents the compatibility rules NuGet packages must follow, covering: - Framework compatibility and assembly consistency across TFMs - Assembly version rules (never decrease, binary breaking changes) - Dependency compatibility (avoiding dropped dependencies, polyfill patterns) - Assembly versioning on .NET Framework (GAC, binding redirects) - Special versioning policy for packages overlapping with shared frameworks - Conflict resolution (SDK and runtime) and NuGet package pruning Co-authored-by: Copilot <[email protected]> * Address PR review feedback - Add ai-usage: ai-assisted to frontmatter - Fix Microsoft.BCL.* casing to Microsoft.Bcl.* to match actual package IDs - Replace first-person 'We recommend' with imperative voice - Fix broken prune packages link to point to NU1510 docs Co-authored-by: Copilot <[email protected]> * Link to NuGet target frameworks docs, clarify cross-TFM compatibility Explain why compatible TFM builds must present compatible API surface at both compile time and run time, with link to NuGet target framework selection docs. Co-authored-by: Copilot <[email protected]> * Address second round of review feedback - Standardize 'run time' to 'runtime' throughout - Use 'might' instead of 'may' for possibility per docs style - Convert full learn.microsoft.com URLs to docset-root-relative links - Use auto-numbering (1. for all items) in ordered lists Co-authored-by: Copilot <[email protected]> * Apply suggestions from code review Co-authored-by: Genevieve Warren <[email protected]> Co-authored-by: Nikolche Kolev <[email protected]> * Address reviewer feedback: clarify dependency dropping scope, fix stray artifacts - Clarify 'compatible versions' to 'compatible package versions or frameworks' - Broaden text to explain both cross-version and cross-TFM dependency rules - Fix 'run-time' to 'runtime' - Remove stray list marker from package pruning section - Trim trailing whitespace Co-authored-by: Copilot <[email protected]> * Add real-world example of shared framework assembly versioning Add a concrete example using System.Text.Json 8.0.5 showing assembly versions per TFM. Demonstrates that the net462 assembly intentionally has a higher version (8.0.0.5) than netstandard2.0 (8.0.0.0), and explains why this is safe and necessary. Notes that binding redirects are auto-generated and expected for .NET Framework consumers. Co-authored-by: Copilot <[email protected]> * Restructure as reccomendations --------- Co-authored-by: Copilot <[email protected]> Co-authored-by: Genevieve Warren <[email protected]> Co-authored-by: Nikolche Kolev <[email protected]>
|
You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool. What Enabling Code Scanning Means:
For more information about GitHub Code Scanning, check out the documentation. |
Bumps Microsoft.Diagnostics.Tracing.TraceEvent from 3.2.0 to 3.2.1 --- updated-dependencies: - dependency-name: Microsoft.Diagnostics.Tracing.TraceEvent dependency-version: 3.2.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps Microsoft.ServiceFabric.Services from 8.3.475 to 8.3.658 --- updated-dependencies: - dependency-name: Microsoft.ServiceFabric.Services dependency-version: 8.3.658 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps Microsoft.NET.Test.Sdk from 18.3.0 to 18.4.0 Bumps MSTest.TestAdapter from 4.1.0 to 4.2.1 Bumps MSTest.TestFramework from 4.1.0 to 4.2.1 --- updated-dependencies: - dependency-name: Microsoft.NET.Test.Sdk dependency-version: 18.4.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dotnet - dependency-name: MSTest.TestAdapter dependency-version: 4.2.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dotnet - dependency-name: MSTest.TestFramework dependency-version: 4.2.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dotnet ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps Microsoft.Extensions.Hosting from 10.0.1 to 10.0.5 --- updated-dependencies: - dependency-name: Microsoft.Extensions.Hosting dependency-version: 10.0.5 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps Microsoft.Extensions.Hosting from 10.0.0 to 10.0.5 --- updated-dependencies: - dependency-name: Microsoft.Extensions.Hosting dependency-version: 10.0.5 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet - dependency-name: Microsoft.Extensions.Hosting dependency-version: 10.0.5 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps MSTest.TestAdapter from 4.1.0 to 4.2.1 Bumps MSTest.TestFramework from 4.1.0 to 4.2.1 --- updated-dependencies: - dependency-name: MSTest.TestAdapter dependency-version: 4.2.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dotnet - dependency-name: MSTest.TestFramework dependency-version: 4.2.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dotnet ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps Azure.Identity from 1.18.0 to 1.20.0 Bumps OpenAI from 2.9.1 to 2.10.0 --- updated-dependencies: - dependency-name: Azure.Identity dependency-version: 1.20.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dotnet - dependency-name: OpenAI dependency-version: 2.10.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dotnet ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps Microsoft.Extensions.AI.OpenAI from 9.4.0-preview.1.25207.5 to 10.4.1 Bumps Microsoft.Extensions.Configuration from 9.0.10 to 10.0.5 Bumps Microsoft.Extensions.Configuration.UserSecrets from 9.0.10 to 10.0.5 --- updated-dependencies: - dependency-name: Microsoft.Extensions.AI.OpenAI dependency-version: 10.4.1 dependency-type: direct:production update-type: version-update:semver-major dependency-group: dotnet - dependency-name: Microsoft.Extensions.Configuration dependency-version: 10.0.5 dependency-type: direct:production update-type: version-update:semver-major dependency-group: dotnet - dependency-name: Microsoft.Extensions.Configuration.UserSecrets dependency-version: 10.0.5 dependency-type: direct:production update-type: version-update:semver-major dependency-group: dotnet ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps Azure.Identity from 1.18.0 to 1.20.0 Bumps Azure.Identity.Broker from 1.4.0 to 1.5.0 --- updated-dependencies: - dependency-name: Azure.Identity dependency-version: 1.20.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dotnet - dependency-name: Azure.Identity.Broker dependency-version: 1.5.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dotnet ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps OllamaSharp from 5.4.16 to 5.4.25 --- updated-dependencies: - dependency-name: OllamaSharp dependency-version: 5.4.25 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps Azure.Identity from 1.19.0 to 1.20.0 --- updated-dependencies: - dependency-name: Azure.Identity dependency-version: 1.20.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dotnet ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps Azure.Identity from 1.19.0 to 1.20.0 Bumps Microsoft.NET.Test.Sdk from 18.3.0 to 18.4.0 Bumps MSTest from 4.1.0 to 4.2.1 --- updated-dependencies: - dependency-name: Azure.Identity dependency-version: 1.20.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dotnet - dependency-name: Microsoft.NET.Test.Sdk dependency-version: 18.4.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dotnet - dependency-name: MSTest dependency-version: 4.2.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dotnet ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
--- updated-dependencies: - dependency-name: Microsoft.Agents.AI.OpenAI dependency-version: 1.0.0 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps OllamaSharp from 5.4.16 to 5.4.25 --- updated-dependencies: - dependency-name: OllamaSharp dependency-version: 5.4.25 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Sync/Async wrapper article Contributes to #17714 Port the first two articles for wrapping async methods in synchronous methods, and wrapping synchronous methods in asynchronous methods. * proofread and edit. Do a full review and edit. * Apply suggestions from code review Co-authored-by: Copilot <[email protected]> * respond to feedback. * Apply suggestions from code review Co-authored-by: Genevieve Warren <[email protected]> --------- Co-authored-by: Copilot <[email protected]> Co-authored-by: Genevieve Warren <[email protected]>
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.
Please don't squash-merge this PR.
Internal previews