-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Initial docs for DNIM #55967
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
joeloff
wants to merge
32
commits into
dotnet:main
Choose a base branch
from
joeloff:dnim
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Initial docs for DNIM #55967
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
326cac6
Initial docs for DNIM
joeloff 3af615c
Fix typo in dnim-cli-layout.md for previews option
joeloff 9af3df2
Add FAQ
joeloff 4b33505
Merge branch 'dnim' of https://github.com/joeloff/docs into dnim
joeloff 285aad5
Fix environment variable typo
joeloff 2afb3b7
Update FAQ
joeloff 96ebfc9
PR feedback, edits
joeloff 2af5c31
Build warnings and minor edits
joeloff 4c0f1b8
Update TOC, fix relative URLs
joeloff 7278830
Remove trailing space
joeloff a0d9e49
Make URL relative
joeloff 945f1bf
Fix up CLI command docs
joeloff aaca634
rename
joeloff 593d857
rename pt2
joeloff ed3096f
rename pt1
joeloff 0159f83
rename pt2
joeloff 63ca343
Fix include paths
joeloff 62b6d95
Update docs/core/additional-tools/index.md
joeloff 906c233
Update docs/core/additional-tools/dnim-faq.yml
joeloff 743838e
Update docs/core/additional-tools/dnim-net-installs.md
joeloff 02de65c
Update docs/core/additional-tools/dnim-net-installs.md
joeloff 411a522
Update docs/core/additional-tools/dnim-net-installs.md
joeloff f644bea
Update docs/core/additional-tools/dnim-net-installs.md
joeloff e543f38
Update docs/core/additional-tools/dnim-net-installs.md
joeloff c2dbfdf
Update docs/core/additional-tools/dnim-overview.md
joeloff f39b0d5
Update docs/core/additional-tools/dnim-net-installs.md
joeloff a91493a
Update classification
joeloff 95f7ace
Fix lint errors
joeloff 2705120
Add aka.ms link for DLC
joeloff df7a92e
Minor updates
joeloff 372de13
Add Caution bubbles for uninstall/update
joeloff 056a9c0
Update uninstall doc with DNIM reference
joeloff File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,59 @@ | ||
| --- | ||
| title: dnim layout command | ||
| description: The layout command creates a cache for offline deployments. | ||
| author: joeloff | ||
| ms.date: 08/11/2026 | ||
| --- | ||
|
|
||
| # dnim layout | ||
|
|
||
| ## Name | ||
|
|
||
| `dnim-win-[x86|x64|arm64] layout` - Creates or updates a cache for offline deployments. | ||
|
|
||
| ## Synopsis | ||
|
|
||
| ```dotnetcli | ||
| dnim-win-[x86|x64|arm64] layout <DIRECTORY> [-a|--accept-license] | ||
| [--include-installers] | ||
| [--include-previews] | ||
| [-l|--log-file <LOG_FILE>] | ||
| [--latest] | ||
| [-v|--verbosity <quiet|normal|diagnostic>] | ||
|
|
||
| dnim-win-[x86|x64|arm64] layout -?|-h|--help | ||
| ``` | ||
|
|
||
| ## Description | ||
|
|
||
| The command creates or updates a cache used for offline deployments inside network restricted environments. The command requires internet access to download the necessary files and will verify the signatures of any installers that are downloaded. Adminitrators should place the files on a machine that is accessible from client devices inside the network. | ||
|
|
||
| ## Options | ||
|
Comment on lines
+27
to
+31
|
||
|
|
||
| - [!INCLUDE [accept-license](includes/dnim-cli-accept-license.md)] | ||
|
|
||
| - [!INCLUDE [include-installers](includes/dnim-cli-include-installers.md)] | ||
|
|
||
| - [!INCLUDE [include-previews](includes/dnim-cli-include-previews.md)] | ||
|
|
||
| - [!INCLUDE [log-file](includes/dnim-cli-log-file.md)] | ||
|
|
||
| - [!INCLUDE [latest](includes/dnim-cli-latest.md)] | ||
|
|
||
| - [!INCLUDE [verbosity](includes/dnim-cli-verbosity.md)] | ||
|
|
||
| ## Examples | ||
|
|
||
| - Create an offline deployment in `C:\dnim\layout` that only includes the release metadata (no installers). | ||
|
|
||
| ```console | ||
| dnim-win-[x86|x64|arm64] layout C:\dnim\layout | ||
| ``` | ||
|
|
||
| - Create an offline deployment in `C:\dnim\layout` that includes the latest installers. | ||
|
|
||
| ```console | ||
| dnim-win-[x86|x64|arm64] layout C:\dnim\layout --include-installers --latest | ||
| ``` | ||
|
|
||
| ## See also | ||
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,89 @@ | ||
| --- | ||
| title: dnim query products command | ||
| description: The query releases command provides information about specific .NET products. | ||
| author: joeloff | ||
| ms.date: 08/11/2026 | ||
| ai-usage: ai-assisted | ||
| --- | ||
|
|
||
| # dnim query products | ||
|
|
||
| ## Name | ||
|
|
||
| `dnim-win-[x86|x64|arm64] query products` - Queries release information about specific .NET products. | ||
|
|
||
| ## Synopsis | ||
|
|
||
| ```dotnetcli | ||
| dnim-win-[x86|x64|arm64] query products [-a|--accept-license] | ||
| [--epv|--except-product-version <PRODUCT_VERSION>] | ||
| [--esp|--except-support-phase <active|eol|golive|maintenance|preview>] | ||
| [-o|--output-file <OUTPUT_FILE>] [--offline <LAYOUT_DIRECTORY>] | ||
| [--output-format <text|csv|html|json>] [--pv|--product-version <PRODUCT_VERSION>] | ||
| [--sp|--support-phase <active|eol|golive|maintenance|preview>] | ||
| [-v|--verbosity <quiet|normal|diagnostic>] | ||
|
|
||
| dnim-win-[x86|x64|arm64] query products -?|-h|--help | ||
| ``` | ||
|
|
||
| ## Description | ||
|
|
||
| The command provides a summary of .NET products, including the latest versions, support phase and expected end-of-life date. | ||
|
|
||
| > [!IMPORTANT] | ||
| > The information provided by this command depends on the published releases JSON data. | ||
|
|
||
| ## Options | ||
|
Comment on lines
+29
to
+36
|
||
|
|
||
| - [!INCLUDE [accept-license](includes/dnim-cli-accept-license.md)] | ||
|
|
||
| - [!INCLUDE [except-product-version](includes/dnim-cli-except-product-version.md)] | ||
|
|
||
| - [!INCLUDE [except-support-phase](includes/dnim-cli-except-support-phase.md)] | ||
|
|
||
| - [!INCLUDE [output-file](includes/dnim-cli-output-file.md)] | ||
|
|
||
| - [!INCLUDE [offline](includes/dnim-cli-offline.md)] | ||
|
|
||
| - [!INCLUDE [output-format](includes/dnim-cli-output-format.md)] | ||
|
|
||
| - [!INCLUDE [product-version](includes/dnim-cli-product-version.md)] | ||
|
|
||
| - [!INCLUDE [support-phase](includes/dnim-cli-support-phase.md)] | ||
|
|
||
| - [!INCLUDE [verbosity](includes/dnim-cli-verbosity.md)] | ||
|
|
||
| ## Results | ||
|
|
||
| The example below lists all products whose support phase is not `eol`. The security update column indicates whether the latest release addressed security vulnerabilities. The [`query releases`](dnim-cli-query-releases.md) command can be used to obtain a list of vulnerabilities addressed by the latest release. | ||
|
|
||
| | Version | Support | Release type | Latest release | Latest release date | Latest SDK | Latest runtime | End of support | Security update | | ||
| | --- | --- | --- | --- | --- | --- | --- | --- | --- | | ||
| | 11.0 | GoLive | STS | 11.0.0-rc.1 | 9/8/2026 | 11.0.100-rc.1.26425.128 | 11.0.0-rc.1.26425.128 | n/a | True | | ||
| | 10.0 | Active | LTS | 10.0.12 | 9/8/2026 | 10.0.401 | 10.0.12 | 11/14/2028 | True | | ||
| | 9.0 | Maintenance | STS | 9.0.20 | 9/8/2026 | 9.0.318 | 9.0.20 | 11/10/2026 | True | | ||
| | 8.0 | Maintenance | LTS | 8.0.31 | 9/8/2026 | 8.0.425 | 8.0.31 | 11/10/2026 | True | | ||
|
|
||
| ## Examples | ||
|
|
||
| - Display information for all .NET products. | ||
|
|
||
| ```console | ||
| dnim-win-[x86|x64|arm64] query products | ||
| ``` | ||
|
|
||
| - Display information for all products that are not end-of-life: | ||
|
|
||
| ```console | ||
| dnim-win-[x86|x64|arm64] query products --esp eol | ||
| ``` | ||
|
|
||
| - Only display information for the .NET 7.0 and 9.0 products. | ||
|
|
||
| ```console | ||
| dnim-win-[x86|x64|arm64] query products --pv 7.0 --pv 9.0 | ||
| ``` | ||
|
|
||
| ## See also | ||
|
|
||
| The [`query-releases`](dnim-cli-query-releases.md) command. | ||
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,89 @@ | ||
| --- | ||
| title: dnim query prreleases command | ||
| description: The query releases command provides information about specific .NET releases. | ||
| author: joeloff | ||
| ms.date: 08/11/2026 | ||
| ai-usage: ai-assisted | ||
| --- | ||
|
|
||
| # dnim query releases | ||
|
|
||
| ## Name | ||
|
|
||
| `dnim-win-[x86|x64|arm64] query releases` - Queries release information about specific .NET products. | ||
|
|
||
| ## Synopsis | ||
|
|
||
| ```dotnetcli | ||
| dnim-win-[x86|x64|arm64] query releases [-a|--accept-license] | ||
| [--epv|--except-product-version <PRODUCT_VERSION>] | ||
| [--esp|--except-support-phase <active|eol|golive|maintenance|preview>] | ||
| [-o|--output-file <OUTPUT_FILE>] [--offline <LAYOUT_DIRECTORY>] | ||
| [--output-format <text|csv|html|json>] [--pv|--product-version <PRODUCT_VERSION>] | ||
| [--sp|--support-phase <active|eol|golive|maintenance|preview>] | ||
| [-v|--verbosity <quiet|normal|diagnostic>] | ||
|
|
||
| dnim-win-[x86|x64|arm64] query releases -?|-h|--help | ||
| ``` | ||
|
|
||
| ## Description | ||
|
|
||
| The command can be used to obtain information for specific .NET releases. | ||
|
|
||
| > [!IMPORTANT] | ||
| > The information provided by this command depends on the published releases JSON data. | ||
|
|
||
| ## Options | ||
|
|
||
| - [!INCLUDE [accept-license](includes/dnim-cli-accept-license.md)] | ||
|
|
||
| - [!INCLUDE [except-product-version](includes/dnim-cli-except-product-version.md)] | ||
|
|
||
| - [!INCLUDE [except-support-phase](includes/dnim-cli-except-support-phase.md)] | ||
|
|
||
| - [!INCLUDE [output-file](includes/dnim-cli-output-file.md)] | ||
|
|
||
| - [!INCLUDE [offline](includes/dnim-cli-offline.md)] | ||
|
|
||
| - [!INCLUDE [output-format](includes/dnim-cli-output-format.md)] | ||
|
|
||
| - [!INCLUDE [product-version](includes/dnim-cli-product-version.md)] | ||
|
|
||
| - [!INCLUDE [support-phase](includes/dnim-cli-support-phase.md)] | ||
|
|
||
| - [!INCLUDE [verbosity](includes/dnim-cli-verbosity.md)] | ||
|
|
||
| ## Results | ||
|
|
||
| The example below shows the latest release information for .NET Core 3.1. | ||
|
|
||
| ```console | ||
| Version: 3.1.32 | ||
| Release date: 12/13/2022 | ||
| Release notes: https://github.com/dotnet/core/blob/main/release-notes/3.1/3.1.32/3.1.32.md | ||
| Security: True | ||
| CVEs: | ||
| CVE-2022-41089, https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-41089 | ||
| SDK 3.1.426 | ||
| ASP.NET Core Runtime 3.1.32 | ||
| .NET Core Runtime 3.1.32 | ||
| Desktop Runtime 3.1.32 | ||
| ``` | ||
|
|
||
| ## Examples | ||
|
|
||
| - Display all releases that addressed a specific CVE: | ||
|
|
||
| ```console | ||
| dnim-win-[x86|x64|arm64] query releases --cve CVE-2026-71328 | ||
| ``` | ||
|
|
||
| - Display the latest releases available for all products that are not end-of-life. | ||
|
|
||
| ```console | ||
| dnim-win-[x86|x64|arm64] query release --esp eol --latest | ||
| ``` | ||
|
|
||
| ## See also | ||
|
|
||
| The [`query products`](dnim-cli-query-products.md) command. |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,91 @@ | ||
| --- | ||
| title: dnim scan command | ||
| description: The scan command identifies .NET installations. | ||
| author: joeloff | ||
| ms.date: 08/11/2026 | ||
| ai-usage: ai-assisted | ||
| --- | ||
|
|
||
| # dnim scan | ||
|
|
||
| ## Name | ||
|
|
||
| `dnim-win-[x86|x64|arm64] scan` - Detects, classifies, and reports .NET installations on a device. | ||
|
|
||
| ## Synopsis | ||
|
|
||
| ```dotnetcli | ||
| dnim-win-[x86|x64|arm64] scan [-a|--accept-license] [-b|--include-bin-deployed-installs] | ||
| [--epv|--except-product-version <PRODUCT_VERSION>] | ||
| [--esp|--except-support-phase <active|eol|golive|maintenance|preview>] | ||
| [-l|--log-file <LOG_FILE>] [-o|--output-file <OUTPUT_FILE>] [--offline <LAYOUT_DIRECTORY>] | ||
| [--output-format <text|csv|html|json>] [--pv|--product-version <PRODUCT_VERSION>] | ||
| [--sp|--support-phase <active|eol|golive|maintenance|preview>] | ||
| [-v|--verbosity <quiet|normal|diagnostic>] | ||
|
|
||
| dnim-win-[x86|x64|arm64] scan -?|-h|--help | ||
| ``` | ||
|
|
||
| ## Description | ||
|
|
||
| The `scan` command detects, classifies and reports .NET installations on Windows. MSIs and bundles are detected by default. Bin deployed (xcopy/zip) installs under `Program Files` can be detected using the `--include-bin-deployed-installs` option. | ||
|
|
||
| Results can be filtered using the product version and support phase options to only include installations matching the specified criteria. Results are written to both the console and diagnostic log. Additional output formats are available and include JSON, HTML and CSV. | ||
|
|
||
| ## Options | ||
|
|
||
| - [!INCLUDE [accept-license](includes/dnim-cli-accept-license.md)] | ||
|
|
||
| - [!INCLUDE [bin-deployed-installs](includes/dnim-cli-include-bin-deployed-installs.md)] | ||
|
|
||
| - [!INCLUDE [except-product-version](includes/dnim-cli-except-product-version.md)] | ||
|
|
||
| - [!INCLUDE [except-support-phase](includes/dnim-cli-except-support-phase.md)] | ||
|
|
||
| - [!INCLUDE [log-file](includes/dnim-cli-log-file.md)] | ||
|
|
||
| - [!INCLUDE [output-file](includes/dnim-cli-output-file.md)] | ||
|
|
||
| - [!INCLUDE [offline](includes/dnim-cli-offline.md)] | ||
|
|
||
| - [!INCLUDE [output-format](includes/dnim-cli-output-format.md)] | ||
|
|
||
| - [!INCLUDE [product-version](includes/dnim-cli-product-version.md)] | ||
|
|
||
| - [!INCLUDE [support-phase](includes/dnim-cli-support-phase.md)] | ||
|
|
||
| - [!INCLUDE [verbosity](includes/dnim-cli-verbosity.md)] | ||
|
|
||
| ## Results | ||
|
|
||
| The results presents a summary of each installation, including its type (MSI, bundle, etc.), the .NET product to which it belongs and its current support phase. It may also include information about its origin. In the example below there are three installations: two bundles and one MSI. The targeting pack MSI is shared between both SDK installs and two instances of Visual Studio: 17.14.37502 and 17.14.37110. | ||
|
|
||
| | Display Name | Product | Release | Type | Support | Installed By | | ||
| | --- | --- | --- | --- | --- | --- | | ||
| | Microsoft .NET SDK 6.0.136 (x64) | 6.0 | 6.0.136 | Bundle | EOL | | | ||
| | Microsoft .NET SDK 6.0.428 (x64) | 6.0 | 6.0.428 | Bundle | EOL | | | ||
| | Microsoft Windows Desktop Targeting Pack - 6.0.36 (x64) | 6.0 | 6.0.36 | Msi | EOL | VS 17.14.37502, VS 17.14.37110, Microsoft .NET SDK 6.0.428 (x64), Microsoft .NET SDK 6.0.136 (x64) | | ||
|
|
||
| ## Examples | ||
|
|
||
| - Scan and report all .NET installations: | ||
|
|
||
| ```console | ||
| dnim-win-[x86|x64|arm64] scan | ||
| ``` | ||
|
|
||
| - Scan and report .NET installations that are in active support: | ||
|
|
||
| ```console | ||
| dnim-win-[x86|x64|arm64] scan --sp active | ||
| ``` | ||
|
|
||
| - Scan for end-of-life (EOL) installations of .NET and write the results to an HTML file: | ||
|
|
||
| ```console | ||
| dnim-win-[x86|x64|arm64] scan --sp eol -o report.html --output-format html | ||
| ``` | ||
|
|
||
| ## See also | ||
|
|
||
| [.NET Installs](dnim-net-installs.md) |
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.