Skip to content

Remove unnecessary AppContextSwitchOverrides from app.config - #3960

Merged
ccastanedaucf merged 1 commit into
dotnet:masterfrom
ccastanedaucf:remove-appconfig-path-switches
Nov 30, 2018
Merged

ccastanedaucf merged 1 commit into
dotnet:masterfrom
ccastanedaucf:remove-appconfig-path-switches

Conversation

@ccastanedaucf

Copy link
Copy Markdown
Contributor

As of .NET 4.6.2, the default values for Switch.System.IO.UseLegacyPathHandling and Switch.System.IO.BlockLongPaths are false. Since we now target .NET 4.7.2, these are no longer necessary.

@ccastanedaucf
ccastanedaucf merged commit 204462a into dotnet:master Nov 30, 2018
rainersigwald added a commit to rainersigwald/msbuild that referenced this pull request Jun 25, 2020
For some reason, these overrides appear to be necessary on x64/amd64
.NET Framework. They were removed in dotnet#3960 because we thought they
were redundant now, but that appears to only be the case on x86.

Fixes dotnet#5331.
rainersigwald added a commit that referenced this pull request Jun 26, 2020
For some reason, these overrides appear to be necessary on x64/amd64
.NET Framework. They were removed in #3960 because we thought they
were redundant now, but that appears to only be the case on x86.

Works around #5331, but ideally we'll figure out why we're not getting
the defaults we should be for targeting 4.7.2.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants