dotnet / dotnet/dotnet-api-docs

AppContext no longer correctly uses registry

Open
#1,633 1 comment 0 reactions 0 assignees View on GitHub
area-System.Runtime dotnet-api/prod Pri2 untriaged
Dominant language
C#
Stars
949
Forks
1.7k
Avg merge
3d 27m
Merged PRs (30d)
49

Description

In the description for setting a switch it refers to using the registry. However this functionality was [broken](https://support.microsoft.com/en-us/help/4036977/fix-appcontext-switch-overrides-are-not-applied-to-applications-that-r) in 4.7 and hasn't been fixed as of 4.7.2. So the registry cannot be used to change a switch, only the configuration file will work.

---
#### Document Details

⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*

* ID: 06ff8e85-e420-bd37-7583-3d7ff3605156
* Version Independent ID: 4d662dc9-4702-ca4d-8a4e-d422cdc057a4
* Content: [AppContext Class (System)](https://docs.microsoft.com/en-us/dotnet/api/system.appcontext?view=netframework-4.7.2)
* Content Source: [xml/System/AppContext.xml](https://github.com/dotnet/dotnet-api-docs/blob/master/xml/System/AppContext.xml)
* Product: **dotnet-api**
* GitHub Login: @rpetrusha
* Microsoft Alias: **ronpet**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.