Skip to content

[windows] Workaround for EmitCompilerGeneratedFiles issue - #32981

Merged
rmarinho merged 1 commit into
mainfrom
fix-29055
Dec 15, 2025
Merged

rmarinho merged 1 commit into
mainfrom
fix-29055

Conversation

@rmarinho

@rmarinho rmarinho commented Dec 3, 2025 •

Copy link
Copy Markdown
Member

Description of Change

This tries to workaround a issue with Microsoft.Windowsappsdk failing sometimes https://microsoft.visualstudio.com/OS/_workitems/edit/57204991

Fixes #32503

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 implements a workaround for an intermittent build failure in Microsoft.WindowsAppSDK related to the EmitCompilerGeneratedFiles feature. The fix ensures that the compiler-generated files output path is created before the core compilation step runs.

Key Changes:

  • Added MSBuild target dependency to ensure proper directory creation order during compilation

Comment thread Directory.Build.props
<DisableTransitiveFrameworkReferenceDownloads>true</DisableTransitiveFrameworkReferenceDownloads>
</PropertyGroup>

<!-- Workaround for EmitCompilerGeneratedFiles issue https://microsoft.visualstudio.com/OS/_workitems/edit/57204991 -->

Copilot AI Dec 3, 2025

Copy link

Choose a reason for hiding this comment

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

Extra leading space before the comment start. The comment should align with the opening PropertyGroup tag below it (no leading spaces).

Copilot uses AI. Check for mistakes.
@rmarinho
rmarinho merged commit 8224bec into main Dec 15, 2025
@rmarinho
rmarinho deleted the fix-29055 branch December 15, 2025 11:59
@github-actions github-actions Bot locked and limited conversation to collaborators Jan 15, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-infrastructure CI, Maestro / Coherency, upstream dependencies/versions testing-green-ci

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Intermittent build error - CS0016: Could not write to output file (path not found)

3 participants