Skip to content

SupportedOSPlatformVersion test fails when editorconfig path exceeds MAX_PATH #56499

Closed

Description

@marcpopMSFT

🤖 Tracks the FullFramework Helix failure in Microsoft.NET.Build.Tests.GivenThatWeWantToBuildAWindowsDesktopProject.SupportedOSPlatformVersionCanBeSetInDirectoryBuildTargets where the generated editorconfig path exceeds the Windows path limit.

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1620308
Retry: Attempt 2
Leg Name: Build FullFramework: windows (x64)
Helix Job: 09e148d6-e357-42dc-8125-f3adbae9fd8d
Work Item: Microsoft.NET.Build.Tests.dll.7 / Microsoft.NET.Build.Tests.dll.8

Error Message

{
  "ErrorMessage": "",
  "BuildRetry": false,
  "ErrorPattern": "error MSB3541: Files has invalid value \".*SupportedOSPlatformVersionCanBeSetInDirectoryBuildTargets\\.GeneratedMSBuildEditorConfig\\.editorconfig\"\\. The specified path, file name, or both are too long\\.",
  "ExcludeConsoleLog": false
}

The matcher uses the unique generated editorconfig filename and avoids the randomized Helix root and test directory.

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1620308
Error message validated: [error MSB3541: Files has invalid value ".*SupportedOSPlatformVersionCanBeSetInDirectoryBuildTargets\.GeneratedMSBuildEditorConfig\.editorconfig"\. The specified path, file name, or both are too long\.]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 10/5/2026 5:06:33 PM UTC

Report

Build Repository Test Pull Request
1651525 dotnet/sdk Microsoft.NET.Build.Tests.dll.8.WorkItemExecution #56807
1647441 dotnet/sdk Microsoft.NET.Build.Tests.dll.8.WorkItemExecution #56473
1645594 dotnet/sdk Microsoft.NET.Build.Tests.dll.8.WorkItemExecution #56710
1641061 dotnet/sdk Microsoft.NET.Build.Tests.dll.8.WorkItemExecution #56710
1641062 dotnet/sdk Microsoft.NET.Build.Tests.GivenThatWeWantToBuildAWindowsDesktopProject.SupportedOSPlatformVersionCanBeSetInDirectoryBuildTargets #56709
1634247 dotnet/sdk Microsoft.NET.Build.Tests.dll.8.WorkItemExecution #56468
1626515 dotnet/sdk Microsoft.NET.Build.Tests.GivenThatWeWantToBuildAWindowsDesktopProject.SupportedOSPlatformVersionCanBeSetInDirectoryBuildTargets #56470
1632609 dotnet/sdk Microsoft.NET.Build.Tests.GivenThatWeWantToBuildAWindowsDesktopProject.SupportedOSPlatformVersionCanBeSetInDirectoryBuildTargets #55641
1632287 dotnet/sdk Microsoft.NET.Build.Tests.dll.8.WorkItemExecution #56473
1630074 dotnet/sdk Microsoft.NET.Build.Tests.dll.8.WorkItemExecution #56473
1629174 dotnet/sdk Microsoft.NET.Build.Tests.dll.8.WorkItemExecution #56473
1627537 dotnet/sdk Microsoft.NET.Build.Tests.dll.8.WorkItemExecution #56473
1621108 dotnet/sdk Microsoft.NET.Build.Tests.dll.8.WorkItemExecution #56482
1627233 dotnet/sdk Microsoft.NET.Build.Tests.dll.8.WorkItemExecution #56473
1626512 dotnet/sdk Microsoft.NET.Build.Tests.dll.8.WorkItemExecution #56468
1624455 dotnet/sdk Microsoft.NET.Build.Tests.dll.8.WorkItemExecution #56473
1624294 dotnet/sdk Microsoft.NET.Build.Tests.dll.8.WorkItemExecution #56508
1624192 dotnet/sdk Microsoft.NET.Build.Tests.dll.8.WorkItemExecution #56473
1620455 dotnet/sdk Microsoft.NET.Build.Tests.dll.8.WorkItemExecution #56468
1620308 dotnet/sdk Microsoft.NET.Build.Tests.GivenThatWeWantToBuildAWindowsDesktopProject.SupportedOSPlatformVersionCanBeSetInDirectoryBuildTargets #56277

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 3 20

Activity

  1. locked and limited conversation to collaborators on Oct 5, 2026
  2. unlocked this conversation on Oct 5, 2026
  3. github-actions commented on Oct 5, 2026

    @github-actions
    Contributor

    🎯 Agentic Issue Triage

    Triage Assessment:

    • 🏷️ Labels: Area-Infrastructure Bug Test Debt cookie Issue Monster Loves Cookies! Known Build Error
    • 💻 Assignment: @MichaelSimons | none
    • 🟨 Confidence: medium - Infrastructure/test-path failure on Helix; the Area-Infrastructure CODEOWNERS section is narrow, so another area is plausible.

    ➡️ Summary: A FullFramework Helix test fails with MSB3541 because the generated editorconfig path exceeds Windows MAX_PATH. Shorten the test directory or file name, or enable long paths for the test.

    Generated by 🏷️ Issue Triage for #56499 · copilot · auto · 21.5 AIC · ⌖ 9.72 AIC · ⊞ 14.4K · ◷

  4. removed their assignment
    on Oct 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions