Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix to support iterative source builds #46280

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

MichaelSimons
Copy link
Member

When building iteratively while making certain types of infra changes, source builds may fail with numerous error like the following:

/vmr/dotnet/eng/init-source-only.proj(61,5): error MSB3677: Unable to move file "/vmr/dotnet/prereqs/packages/previously-source-built/SourceBuildReferencePackages/System.Windows.Extensions.6.0.0.nupkg" to "/vmr/dotnet/prereqs/packages/reference/System.Windows.Extensions.6.0.0.nupkg". Moving target is read-only

This is caused from the logic to move/copy the SBRP reference packages to the reference package location. Updating the move task to specify OverwriteReadOnlyFiles will not fix the problem therefore a RemoveDir call was added to address the problem.

@MichaelSimons MichaelSimons requested review from a team as code owners January 24, 2025 20:11
@dotnet-issue-labeler dotnet-issue-labeler bot added Area-Infrastructure untriaged Request triage from a team member labels Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Infrastructure untriaged Request triage from a team member
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants