Daily Usage Issues

Problem: Blocking Third-Party Assemblies with VS2010

Started by Der-Albert.com on 10,113 views

Hi,

the NCrunch runner seems to keep third party Assembly opens after running tests.

I've updated som NuGet Packages, but the packages folder are not delete. If tryed to delete them manually but Windows told me
that ncrunch is using the assemblies. After Closing VS, i was abled to delete the folders.

Best Regards

Albert
NCrunch currently locks it's referenced assemblies with its background processes. This will likely change in a future version, but for now the easiest way around this is to just disable NCrunch when you go to delete the files. Closing down VS will work too - although that is a bit excessive :)
Would it be possible to Shadow Copy the references and test assembly for the duration of the tests?

I believe that the NUnit GUI test runner does this.

Edited

Absolutely :) This is definitely how the issue will be fixed.

Right now NCrunch shadow copies everything else ... just not the referenced assemblies. There's no reason for them being special - just a question of time and effort :)

Post a reply

Log in to reply.