You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I also posted this question in Coverlet (coverlet-coverage/coverlet#1651) because our company currently uses both Coverlet and Microsoft.CodeCoverage. There is a desire to turn on CreateHardLinksForCopyLocalIfPossible to reduce the size of our build output because we're running out of storage. When using Coverlet it hits System.IO.Exception TestProject.dll cannot be accessed because it is being used by another process. That is expected considering how code coverage normally works due to instrumentation, but I'm hoping this case has been handled in the official Microsoft solution. A couple questions:
Is Microsoft.CodeCoverage expected to work with builds that had hardlinks enabled if the test projects are run in parallel after compilation has completed?
If it is not expected to work are there workarounds to get it to work?
The text was updated successfully, but these errors were encountered:
Static instrumentation is enabled by default on non-Windows envs. Add <EnableStaticManagedInstrumentation>True</EnableStaticManagedInstrumentation> to your config to disable it.
I also posted this question in Coverlet (coverlet-coverage/coverlet#1651) because our company currently uses both Coverlet and Microsoft.CodeCoverage. There is a desire to turn on CreateHardLinksForCopyLocalIfPossible to reduce the size of our build output because we're running out of storage. When using Coverlet it hits
System.IO.Exception TestProject.dll cannot be accessed because it is being used by another process
. That is expected considering how code coverage normally works due to instrumentation, but I'm hoping this case has been handled in the official Microsoft solution. A couple questions:The text was updated successfully, but these errors were encountered: