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

Notification

Icon
Error

Disable NCrunch while updating nuget packages
Der-Albert.com
#1 Posted : Monday, March 31, 2014 3:04:05 PM(UTC)
Rank: Advanced Member

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

Thanks: 8 times
Was thanked: 38 time(s) in 35 post(s)
It would be great if NCrunch became aware of when i'm updating nuget packages and don't run any builds or tests while updating the packages.
Remco
#2 Posted : Monday, March 31, 2014 9:50:03 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 6,984

Thanks: 931 times
Was thanked: 1257 time(s) in 1170 post(s)
It's important that NCrunch keeps itself up to date with the changes in your solution, so I'm assuming you mean that you want NCrunch to only run builds and tests after the package update has completed?

The tricky thing here is that at present, I don't know of any way for NCrunch to be aware that Nuget is performing an update .. it simply sees the changes that result from this update, then reacts to them.

Is the sequence of changes causing the engine to fall out of sync?
Der-Albert.com
#3 Posted : Tuesday, April 1, 2014 7:47:36 AM(UTC)
Rank: Advanced Member

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

Thanks: 8 times
Was thanked: 38 time(s) in 35 post(s)
Yes, sometimes it seems out of think and have to to a manual restart. That may caused by larger update with a lot of dependency. And NCrunch tries to build with not all dependencys update.

Also sometimes i noted that a file was not updatetable because it is used, but i don't saw this in the recent weeks.

Maybe this helps. These are the Interfaces from the Nuget IPackageManager and the IVSPackageManager with inherits from IPackageManager. These expose some events
for Adding and Removing Packages.

http://nuget.codeplex.co...io/IVSPackageManager.cs

http://nuget.codeplex.co...Core/IPackageManager.cs
1 user thanked Der-Albert.com for this useful post.
Remco on 4/1/2014(UTC)
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.028 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download