[Feature Request]: Diagnostic log "Environment at start of build" should record whether long paths enabled #10151
Labels
Feature Request
Good First Issue
Self-contained issues good for first-time contributors.
Priority:2
Work that is important, but not critical for the release
triaged
Summary
MSBuild's diagnostic logging
-v:diagnostic
should record whether long paths are enabled.Background and Motivation
msbuild.exe supports long paths on Windows since 16.0 https://github.com/dotnet/msbuild/releases/tag/v16.0.461.62831
However Windows users have to additionally opt in by setting a registry key/ https://learn.microsoft.com/en-us/windows/win32/fileio/maximum-file-path-limitation?tabs=registry#enable-long-paths-in-windows-10-version-1607-and-later
Proposed Feature
MSBuild's diagnostic logging
-v:diagnostic
includes an "environment at start of build section". This should record whether long paths are enabled in Windows.Alternative Designs
No response
The text was updated successfully, but these errors were encountered: