Daily Usage Issues

Disable NCrunch while updating nuget packages

Started by Der-Albert.com on 5,703 views

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.
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?
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.com/SourceControl/latest#src/VisualStudio/IVSPackageManager.cs

http://nuget.codeplex.com/SourceControl/latest#src/Core/IPackageManager.cs

Post a reply

Log in to reply.