From 356fe1c775e6ac2efecb4cf7ab011ee703bead5c Mon Sep 17 00:00:00 2001 From: Nigusu Solomon Yenework <59111203+Nigusu-Allehu@users.noreply.github.com> Date: Wed, 20 Nov 2024 11:16:07 -0800 Subject: [PATCH 1/2] Update dotnet-nuget-why.md to include RID specific packages --- docs/core/tools/dotnet-nuget-why.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/core/tools/dotnet-nuget-why.md b/docs/core/tools/dotnet-nuget-why.md index 2514722be9491..a2ec94e1d7c9e 100644 --- a/docs/core/tools/dotnet-nuget-why.md +++ b/docs/core/tools/dotnet-nuget-why.md @@ -29,6 +29,9 @@ First, restore the project in Visual Studio, or `msbuild.exe`. By default the assets file is in the project's `obj\` directory, but you can find the location with `msbuild.exe path\to\project.proj -getProperty:ProjectAssetsFile`. Finally, run `dotnet nuget why path\to\project.assets.json SomePackage`. +Starting with version 9.0.200, the command introduces support for RID-specific (Runtime identifier) packages by generating separate dependency trees for each Runtime Identifier (RID) and framework combination. +For example, if a project targets the net9.0 framework with the win-x64 RID, it will generate trees for: `net9.0/win-x64` and `net9.0`. + ## Arguments - **`PROJECT|SOLUTION`** From d3954613d19bacbd0e127827bcc5aaaebe1fef9b Mon Sep 17 00:00:00 2001 From: Nigusu Solomon Yenework <59111203+Nigusu-Allehu@users.noreply.github.com> Date: Fri, 22 Nov 2024 10:33:55 -0800 Subject: [PATCH 2/2] Update docs/core/tools/dotnet-nuget-why.md Co-authored-by: Genevieve Warren <24882762+gewarren@users.noreply.github.com> --- docs/core/tools/dotnet-nuget-why.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/core/tools/dotnet-nuget-why.md b/docs/core/tools/dotnet-nuget-why.md index a2ec94e1d7c9e..84426fcc1ff7c 100644 --- a/docs/core/tools/dotnet-nuget-why.md +++ b/docs/core/tools/dotnet-nuget-why.md @@ -29,8 +29,8 @@ First, restore the project in Visual Studio, or `msbuild.exe`. By default the assets file is in the project's `obj\` directory, but you can find the location with `msbuild.exe path\to\project.proj -getProperty:ProjectAssetsFile`. Finally, run `dotnet nuget why path\to\project.assets.json SomePackage`. -Starting with version 9.0.200, the command introduces support for RID-specific (Runtime identifier) packages by generating separate dependency trees for each Runtime Identifier (RID) and framework combination. -For example, if a project targets the net9.0 framework with the win-x64 RID, it will generate trees for: `net9.0/win-x64` and `net9.0`. +Starting with version 9.0.200, the command introduces support for runtime identifier (RID) specific packages by generating separate dependency trees for each RID and framework combination. +For example, if a project targets `net9.0` with the `win-x64` RID, the command generates trees for `net9.0/win-x64` and `net9.0`. ## Arguments