Stop overbuilding SemanticSearch.ReferenceAssemblies#73468
Stop overbuilding SemanticSearch.ReferenceAssemblies#73468jaredpar merged 3 commits intodotnet:mainfrom
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