Forum member
Remco NCrunch Developer
7611 posts
Posts by Remco
-
NCrunch 1.41b remains Running after closing Visual Studio 2012
The leftover process hanging around for about a minute after devenv.exe closing is by design, although the hanging of devenv.exe process is not. I develop daily with VS2012 using NCrunch, and so far I haven't seen this issue occur. The behaviour you've described suggests it may be caused by a …
13 Sep 2012 11:21 UTC
-
NCrunch 1.41b remains Running after closing Visual Studio 2012
NCrunch contains cleanup code that spawns a taskrunner process which waits for devenv.exe to exit before it fully terminates. This is part of the intended behaviour (to make sure that workspaces are fully cleaned up on exit). A side-effect of this behaviour is that it can make NCrunch appear to be…
12 Sep 2012 20:59 UTC
-
Running tests that use nUnit's Explicit attribute
At the moment, NCrunch just considers NUnit explicit tests as ignored. The reasons for this are largely historical (the first versions of NCrunch did not support manual or part continuous), although they don't really apply any more. Ideally the behaviour should be that Explicit tests are not run a…
12 Sep 2012 20:53 UTC
-
System.TypeInitializationException
Thanks, I'll have a play with it and see what I can find.
12 Sep 2012 20:48 UTC
-
System.TypeInitializationException
Make sure you reset the engine after applying this setting. If it takes effect, you should see the NCrunch task runners as showing up under the names 'nCrunch.TaskRunner40.x86.exe', etc. I'll message you with an email address if you'd like to send a sample project. NCrunch has seen limited test…
11 Sep 2012 21:10 UTC
-
PowerPoint Interop ConvertToAfterEffect Won't Compile in NCrunch 1.41.0.50b
Hi Tony - Thanks for reporting this issue. It looks as though the syntax of this particular method call is creating a rare IL arrangement that NCrunch isn't able to process. I'll note it down for a future fix. Thanks! Remco
11 Sep 2012 09:36 UTC
-
System.TypeInitializationException
Hi Ilya, Depending upon its configuration, NCrunch will usually run your tests inside a hosted environment that doesn't consider the .config files. However, you can easily change this. Under your global NCrunch configuration, you'll find an option called 'Use hosted task runner'. Set this to…
10 Sep 2012 22:22 UTC
-
Webservice coverage with NCrunch, possible?
Hi Joao, Thanks for posting! And I'm glad your enjoying the tool. Right now, I can think of two things that could cause the behaviour you've described: 1. You have a test project that is referencing your runtime code using an assembly reference instead of a project reference (NCrunch requi…
10 Sep 2012 11:18 UTC
-
NCrunch doesn't work with VS2012 RTM.
Thanks for the extra input. I've been thinking about this also, and after a quick review of the code I'm wondering if it may be theoretically possible that NCrunch is loading up its build runners as x64 processes (where they are supposed to be x86). Khasibhatla, would you mind submitting a bug r…
08 Sep 2012 23:57 UTC
-
NCrunch doesn't work with VS2012 RTM.
Thanks. I also tried building a test environment in the same manner you've described in order to reproduce the problem, although unfortunately it didn't appear for me. I'm wondering if you might be interested in trying the following: 1. Create an empty class library, target v4.0 of the .NET f…
08 Sep 2012 10:58 UTC
-
NCrunch doesn't work with VS2012 RTM.
There isn't any logic specifically coded in NCrunch to find and reference this DLL. So far it's been working implicitly, which is always dangerous, as I suppose in the long term this sort of thing can happen. It doesn't look as though this assembly is registered with the GAC, so how it is normally…
08 Sep 2012 01:02 UTC
-
NCrunch doesn't work with VS2012 RTM.
Would you be able to check the state of your Microsoft.Build.dll file? I believe this file should normally be under: C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0 Can you let me know the version and exact size of the file you have in this location? ..…
08 Sep 2012 00:08 UTC
-
NCrunch doesn't work with VS2012 RTM.
Hi, thanks for posting! So far you are the first person to report this issue, which implies that there is something about your environment that is surfacing the issue for you but not others that are running 2012 RTM. I have a sneaky suspicion that the problem may involve the 2012 install without…
07 Sep 2012 22:14 UTC
-
Automatically select first broken test in NCrunch Tests Window
This makes good sense. It's a bit trickier to do (as it involves a bit more bouncing around with the VS integration), but I can see the benefit. Thanks for the suggestion.
07 Sep 2012 22:07 UTC
-
'Fail' if minimum coverage not met
Thanks for the suggestion! There are a number of people that use NCrunch as a way to try and encourage higher code coverage, so I have a feeling this will be quite a popular feature. I think the success of the feature will be much more down to the mechanics of how it actually works. One way could …
06 Sep 2012 20:43 UTC
-
Build upon save / continue build of old snapshot.
Hi, thanks for posting! The ability to run tests on save is sitting very high on the request list. Unfortunately it's quite challenging to make it work intuitively with the current engine of NCrunch, as there are a few factors that need to be taken into account (such as code versioning etc). I …
05 Sep 2012 21:32 UTC
-
NCrunch causes VS2008 to lock up for a while every single build
Interesting. I know that Resharper 7 had some big performance improvements rolled into it (I very much noticed the 6-7 upgrade on VS2010). You're the first person that's reported this issue, although not many people are using NCrunch on VS2008, so it COULD be more noticeable on VS2008. I guess th…
05 Sep 2012 21:23 UTC
-
Automatically select first broken test in NCrunch Tests Window
Hi, thanks for posting! The auto node selection happens when no existing nodes are selected in the list, and the list is then updated by NCrunch. The main use case would be if you had an empty list of tests/projects, then made a change that caused one of them to fail and appear in the list. You…
05 Sep 2012 21:18 UTC
-
NCrunch causes VS2008 to lock up for a while every single build
Are you, by chance, using the solution-wide analysis features of Resharper? I know that this can cause a bit of extra spinning. If turning it off makes a difference, you may be able to have your cake and eat it too ... In theory, NCrunch should play fine with Resharper. A large percentage of th…
05 Sep 2012 10:44 UTC
-
Defaul argument makes NCrunch build fail
VS2012 doesn't really make this as obvious as it was in VS2010, but the portable library options revolve around both Modern/Metro and Silverlight. After switching off the portability, the project built in NCrunch without problems. Silverlight projects use the same form of MSIL as other .NET asse…
04 Sep 2012 21:49 UTC