Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Problem: Blocking Third-Party Assemblies with VS2010
Der-Albert.com
#1 Posted : Wednesday, May 18, 2011 8:56:55 PM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 5/17/2011(UTC)
Posts: 209

Thanks: 11 times
Was thanked: 53 time(s) in 50 post(s)
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
Remco
#2 Posted : Thursday, May 19, 2011 6:23:40 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,123

Thanks: 957 times
Was thanked: 1286 time(s) in 1193 post(s)
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 :)
otac0n
#3 Posted : Sunday, May 22, 2011 3:21:42 PM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 5/22/2011(UTC)
Posts: 51
Location: Seattle, WA

Was thanked: 7 time(s) in 7 post(s)
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.
Remco
#4 Posted : Sunday, May 22, 2011 4:59:45 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,123

Thanks: 957 times
Was thanked: 1286 time(s) in 1193 post(s)
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 :)
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.032 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download