[17.0] Fix underbuild in VS#6919
Merged
rainersigwald merged 9 commits intoOct 7, 2021
Merged
Conversation
…908.11 (dotnet#6833) Microsoft.DotNet.Arcade.Sdk From Version 5.0.0-beta.21427.7 -> To Version 5.0.0-beta.21458.11
Fixes #dotnet#6576 ### Context dotnet#6576 revealed that the `.copycomplete` file marker is updated even when the `Copy` task in `_GetCopyFilesMarkedLocal` doesn't _actually_ copy anything. This can mess with incremental builds. ### Changes Made This change adds an output parameter, `CopiedAtLeastOneFile` to the `Copy` task that the `Touch` task is now conditioned off of. ### Testing Tested local builds ### Notes This could also be done by having an ITaskItem[] that contains all files that were actually copied. Then the touch task could check if that item were empty. I opted for the straightforward route since the ITaskItem[] solution isn't needed yet, and this implementation can easily be changed when we do need that. Co-authored-by: Forgind <Forgind@users.noreply.github.com>
…914.1 (dotnet#6850) Microsoft.DotNet.Arcade.Sdk From Version 5.0.0-beta.21458.11 -> To Version 5.0.0-beta.21464.1 Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
* Update to SDK 5.0.401 Avoids NuGet signing issues and is generally newer and better. * Update eng\Versions.props * Update NuGetBuildTasksVersion in eng\Versions.props Co-authored-by: Ladi Prosek <laprosek@microsoft.com>
Skip Updating CopyComplete Marker When Not Necessary
Microsoft.DotNet.Arcade.Sdk From Version 5.0.0-beta.21464.1 -> To Version 5.0.0-beta.21505.11
Fixes dotnet#6917 by ensuring that the copy-marker file is _always_ added to the FileWrites item if the copy-referenced-assemblies target runs so that IncrementalClean never sees it as an 'orphan' file and then deletes it.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Forward merge of #6918.
It looks like we missed merging some 16.11->main merges before forking for 17.0, but it was just the backport of the change that caused this regression, so pay attention primarily to the diff.