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

Only add VCToolsVersion to the fingerprint for vcxproj projects #95

Merged
merged 1 commit into from
Oct 22, 2024

Conversation

dfederm
Copy link
Member

@dfederm dfederm commented Oct 21, 2024

This can help with cache hits when the cache producer and cache consumer aren't exactly the same VS version. C++ projects must have the same compiler version, but we can be a bit looser with other project types.

@dfederm dfederm enabled auto-merge (squash) October 22, 2024 15:27
@dfederm dfederm merged commit f918a19 into main Oct 22, 2024
6 checks passed
@dfederm dfederm deleted the vctools-only-vcxproj branch October 22, 2024 23:59
@KalleOlaviNiemitalo
Copy link

I worried that this might cause false cache hits in C# ASP.NET projects that import Microsoft.WebApplication.targets; but those imports actually use $(VSToolsPath) rather than $(VCToolsVersion), so there's no risk of that.

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