coverlet-coverage / coverlet

Cross platform code coverage for .NET
MIT License
2.93k stars 385 forks source link

Expected behavior when using CreateHardLinksForCopyLocalIfPossible #1651

Open Cjewett opened 2 months ago

Cjewett commented 2 months ago

Our build output is getting so large that we are attempting to use CreateHardLinksForCopyLocalIfPossible. When we turn this setting on and attempt to run multiple test projects at the same time we run into an issue where Coverlet fails due to a System.IO.Exception. The exception is that the TestProject.dll cannot be accessed because it is being used by another process. That makes sense in the grand scheme of things, but I was wondering what the expected behavior was from the Coverlet maintainers. Is there a workaround?