Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Nov 10, 2025

Summary

Adds missing documentation for DOTNET_SKIP_WORKLOAD_INTEGRITY_CHECK environment variable that controls workload integrity checking on first-run.

Changes

Added new section to docs/core/tools/dotnet-environment-variables.md:

  • Variable: DOTNET_SKIP_WORKLOAD_INTEGRITY_CHECK
  • Purpose: Controls whether the CLI validates installed workloads on first-run
  • Values: true, 1, or yes to skip; defaults to false
  • Context: Integrity check ensures workloads from previous feature bands remain accessible to current SDK

Placed alongside other workload-related variables (DOTNET_CLI_WORKLOAD_UPDATE_NOTIFY_*) for logical grouping.

Original prompt

This section details on the original issue you should resolve

<issue_title>Add missing docs for CLI environment variable DOTNET_SKIP_WORKLOAD_INTEGRITY_CHECK</issue_title>
<issue_description>### Type of issue

Missing information

Description

The DOTNET_SKIP_WORKLOAD_INTEGRITY_CHECK env var controls if the dotnet CLI attempts to validate/perform an integrity check on the currently installed workloads on first-run. If set to true/1/yes then the integrity check is skipped.

We usually want the integrity check because it ensures that workloads from previous feature bands are accessible to the currently-installed SDK, but it is possible that for some use cases this may not be desired.

Page URL

https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-environment-variables

Content source URL

https://github.com/dotnet/docs/blob/main/docs/core/tools/dotnet-environment-variables.md

Document Version Independent Id

0c8e3542-470a-fa11-0d27-061384c4c3ba

Platform Id

b3c40dba-7bb4-e637-a537-f6ed8757d043

Article author

@tdykstra

Metadata

  • ID: c1fab316-eb04-50f5-03c8-bf3004981d3e
  • PlatformId: b3c40dba-7bb4-e637-a537-f6ed8757d043
  • Service: dotnet-fundamentals

Related Issues


Associated WorkItem - 503204</issue_description>

Comments on the Issue (you are @copilot in this section)

@gewarren @tdykstra Will you address this, or should I?

💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.


Internal previews

📄 File 🔗 Preview link
docs/core/tools/dotnet-environment-variables.md docs/core/tools/dotnet-environment-variables

Copilot AI changed the title [WIP] Add missing documentation for DOTNET_SKIP_WORKLOAD_INTEGRITY_CHECK Add documentation for DOTNET_SKIP_WORKLOAD_INTEGRITY_CHECK environment variable Nov 10, 2025
Copilot AI requested a review from meaghanlewis November 10, 2025 19:04
Copilot finished work on behalf of meaghanlewis November 10, 2025 19:04
@meaghanlewis meaghanlewis marked this pull request as ready for review November 11, 2025 22:42
@meaghanlewis meaghanlewis requested a review from a team as a code owner November 11, 2025 22:42
Copilot AI review requested due to automatic review settings November 11, 2025 22:42
Copilot finished reviewing on behalf of meaghanlewis November 11, 2025 22:44
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds documentation for the DOTNET_SKIP_WORKLOAD_INTEGRITY_CHECK environment variable, which was previously undocumented. The variable controls whether the .NET CLI performs workload integrity checks on first-run to ensure workloads from previous feature bands remain accessible.

  • Adds new environment variable documentation section
  • Describes the purpose, accepted values, and default behavior
  • Places the new section logically with other workload-related variables

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.

Add missing docs for CLI environment variable DOTNET_SKIP_WORKLOAD_INTEGRITY_CHECK

2 participants