Skip to content

Conversation

@ViktorHofer
Copy link
Member

@ViktorHofer ViktorHofer commented Jan 27, 2025

I noticed that since we switched to hardlinks, we can't build twice and write to the same artifacts (packages + assets). I looked at the msbuild code and noticed that they set attributes after the copy.

https://github.com/dotnet/msbuild/blob/fcc042024c91dd7b90fbbcb7aa65c2d135d9ac9e/src/Tasks/Copy.cs#L350-L357

I tested this and I can now build multiple times again.

To double check:

I noticed that since we switched to hardlinks, we can't build twice and write to the same artifacts (packages + assets). I looked at the msbuild code and noticed that they set attributes after the copy.

I tested this and I can now build multiple times again.
@ViktorHofer ViktorHofer merged commit 79e2c58 into main Jan 27, 2025
11 checks passed
@ViktorHofer ViktorHofer deleted the ArcadeLinkingFix branch January 27, 2025 17:58
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.

3 participants