-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Stop overbuilding SemanticSearch.ReferenceAssemblies #73468
Conversation
@ViktorHofer Thanks for the fix! We couldn't figure out what the issue is. |
@ladipro How come msbuild lock detection was not able to find out that the file is locked by msbuild itself? Is it missing anything? |
Feel free to merge. I don't have permissions. |
Competing writes to As mentioned in the issue, we're working on a double-writes analyzer. Interestingly though, binlog viewer already has double-writes analysis and it didn't catch this. It deserves a closer look because we were going to model MSBuild analysis after the viewer. |
Oh yes, currently the output path itself is used as a key which explains why it doesn't detect double writes in this case. I would naively expect the data to live in a list (i.e. no need to de-dup with a HashSet). Cc @KirillOsenkov for insights. |
@ladipro Makes sense in this case - I think we already have a work item to expose the process locking detection logic to tasks, so that csc could also report the process name using msbuild APIs. |
I filed a viewer bug KirillOsenkov/MSBuildStructuredLog#779 to deal with this case. |
Fixes dotnet/source-build#4390
cc @jaredpar