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

Build outputs are not up-to-date inputs #14900

Merged
merged 1 commit into from
Jul 1, 2024
Merged

Conversation

sharwell
Copy link
Member

No description provided.

<_InputVSIXSourceItem Remove="$(IntermediateOutputPath)$(TargetName).pkgdef" />
<_InputVSIXSourceItem Remove="@(_GeneratedExtensionJson)" />

<UpToDateCheckInput Include="@(_InputVSIXSourceItem)" />
Copy link
Member

Choose a reason for hiding this comment

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

what change does this make (Referring to all of the above)?

Copy link
Member Author

Choose a reason for hiding this comment

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

Outputs of the current project build which are inputs to the VSIX are no longer treated as build inputs.

Copy link
Member

Choose a reason for hiding this comment

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

Does this break incremental build when building VSIXs? What's the purpose of this change?

Copy link
Member Author

Choose a reason for hiding this comment

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

This only affects whether the fast up-to-date check in Visual Studio thinks the project is up-to-date. Prior to our recent work on this target, there were significant cases where the project was not up-to-date but the build though it was. Then our original change went too far in the other direction, and now it thinks the build is out-of-date even right after a build.

Copy link
Member

Choose a reason for hiding this comment

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

As long as it works, I'm fine with a workaround like this, but definitely need to get this fixed in VS SDK.

@mmitche mmitche merged commit ac6857c into dotnet:main Jul 1, 2024
11 checks passed
@sharwell sharwell deleted the remove-outputs branch July 1, 2024 20:49
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.

4 participants