diff --git a/docs/core/compatibility/sdk/10.0/dotnet-tool-pack-publish.md b/docs/core/compatibility/sdk/10.0/dotnet-tool-pack-publish.md index 6db7eca562eca..0f4d0080f841c 100644 --- a/docs/core/compatibility/sdk/10.0/dotnet-tool-pack-publish.md +++ b/docs/core/compatibility/sdk/10.0/dotnet-tool-pack-publish.md @@ -39,6 +39,15 @@ This change enables the creation of optimized, platform-specific .NET Tool packa If you want to create tools for only a subset of platforms, use `ToolPackageRuntimeIdentifiers`. If you want to disable RID-specific tool packages entirely, you should conditionally include or exclude the `RuntimeIdentifiers` property in your project file. +Alternatively, if you want to maintain the previous behavior (framework-dependent, platform-agnostic .NET Tools) even when a `RuntimeIdentifier` is specified, add the following properties to your project file: + +```xml + + false + false + +``` + ## Affected APIs None.