Double writes on publish, causes R2R task failure
See original GitHub issueI don’t know if this is related to #3257, but I was able to repro this issue again using the latest Preview9 bits (8e9948a3b768811ca5b3a666ff06207a16be69ec, 3.0.100-preview9-013692).
Here’s the repro:
- clone https://github.com/aspnet/Benchmarks (commit hash for repro: 3ddf6558ec4d3636dc8fec4f0c142834ffa38bf5)
- dotnet publish -f netcoreapp3.0 -r win-x64 -v n src\BenchmarksServer /bl
There are 3 files double-written:
- Dia2Lib.dll
- TraceReloggerLib.dll
- OSExtensions.dll.
I’ll attach the binlog.
Also, this causes the R2R task to fail with errors like this one, if you add /p:PublishReadyToRun=true to the publish command:
e:\dotnet_preview9\sdk\3.0.100-preview9-013692\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Publish.targets(308,28): error MSB4094: "C:\Users\fadim\.nuget\packages\microsoft.diagnostics.tracing.traceevent\2.0.44\lib\netstandard1.6\OSExtensions.dll;C:\Users\fadim\.nuget\packages\microsoft.diagnostics.tracing.traceevent\2.0.44\lib\netstandard2.0\OSExtensions.dll" is an invalid value for the "CompilationEntry" parameter of the "RunReadyToRunCompiler" task. Multiple items cannot be passed into a parameter of type "Microsoft.Build.Framework.ITaskItem". [D:\GIT\Benchmarks\src\BenchmarksServer\BenchmarksServer.csproj]
Issue Analytics
- State:
- Created 4 years ago
- Reactions:3
- Comments:14 (9 by maintainers)
Top Results From Across the Web
( SOLVED ) All R2R keygens no run...
Go to custom views -> administrative events and take a look for any error related to an R2R keygen. You then should see...
Read more >Dual Writes - The Unknown Cause of Data Inconsistencies
If the database transaction fails, or your application or the database crash before you can store the information about the failed event, you...
Read more >May we please discuss seam breaks in 2-3 yr tanks - Reef2Reef
Red Sea G1 525 XL Seam Failure :( Hey guys, I always hoped that I got lucky and wouldn't have to make this...
Read more >r2r.pdf
When on_missing_key is equal to "throw", querying a missing key will cause an error. In this case, an rlang abort condition of class ......
Read more >arXiv:2002.10638v2 [cs.CV] 5 Apr 2020
NE Navigation Error is the mean of the shortest path dis- tance in meters between the agent's final location and the target location....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
My proposal would be to dedupe resolvedfiletopublish pre-Crossgen,bundler,linker with last one wins to preserve same output as today. And warn if any dupes are removed. Any warning would still be a bug, but not blocking, and come to us rather than you.
Daniel thinks this is probably fixed.