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

Notification

Icon
Error

Disable nCrunch whilst nuGet is updating...
oriches
#1 Posted : Monday, November 5, 2012 3:33:06 PM(UTC)
Rank: Member

Groups: Registered
Joined: 10/15/2012(UTC)
Posts: 12
Location: United Kingdom

Thanks: 2 times
We have an internal nuGet server and it takes a couple of minutes to update packages, it would be good if nCrunch disable building whilst nuGet is updating...



Cheers

Ollie
Remco
#2 Posted : Monday, November 5, 2012 9:05:40 PM(UTC)
Rank: NCrunch Developer

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

Thanks: 932 times
Was thanked: 1259 time(s) in 1172 post(s)
Hi Ollie,

Thanks for the suggestion! I'm not sure yet whether there are any hooks in the Nuget code that I can use to identify this scenario, but I'll certainly take a look.


Cheers,

Remco
oriches
#3 Posted : Tuesday, November 6, 2012 7:40:18 AM(UTC)
Rank: Member

Groups: Registered
Joined: 10/15/2012(UTC)
Posts: 12
Location: United Kingdom

Thanks: 2 times
Thinking about this it would also be good if nCrunch could be disabled if an update from source control is being performed because that also can reload projects etc.


Cheers

Ollie
Remco
#4 Posted : Tuesday, November 6, 2012 9:40:11 AM(UTC)
Rank: NCrunch Developer

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

Thanks: 932 times
Was thanked: 1259 time(s) in 1172 post(s)
The challenging thing about source control is that many source control systems are external to the Visual Studio IDE, which makes it difficult to establish when they are performing the update. Which source control system are you using?

Cheers,

Remco
oriches
#5 Posted : Tuesday, November 6, 2012 9:45:01 AM(UTC)
Rank: Member

Groups: Registered
Joined: 10/15/2012(UTC)
Posts: 12
Location: United Kingdom

Thanks: 2 times
Currently we're using SVN with AnkhSVN plugin for VS.

We're thinking of going to a DCVS possibly Mercurial with a VS plugin.

I suppose I was thinking that if the VS plugin generated some events indicating an updatez\refresh was taking place then nCrunch could then disable\enable etc. The fact I could update\refresh the code from out VS (file system) I think is outside of your control and therefore not really a concern.


Cheers

Ollie


Remco
#6 Posted : Tuesday, November 6, 2012 10:48:00 AM(UTC)
Rank: NCrunch Developer

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

Thanks: 932 times
Was thanked: 1259 time(s) in 1172 post(s)
Thanks Ollie. I'm afraid that source control integration in this particular instance is probably not something that I'm able to commit to. The level of integration needed to make this work would likely require significant effort. I'll make a note on the backlog to take a look, but I think it's a long shot!


Cheers,

Remco
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.036 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download