Forum member

Remco NCrunch Developer

7586 posts

Posts by Remco

  1. 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

  2. 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…

  3. 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…

  4. 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…

  5. 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…

  6. 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…

  7. 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? ..…

  8. 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…

  9. 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.

  10. '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 …

  11. 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 …

  12. 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…

  13. 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…

  14. 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…

  15. 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…

  16. VS11 ShimNotSupportedException when using Shimming from Microsoft Fakes

    Hi Imi - Unfortunately there is no quick fix for this. Fakes relies on a custom profiler that will require considerable effort in order for NCrunch to integrate with it. A fix for this is still quite a way out. Sorry. Cheers, Remco

  17. Defaul argument makes NCrunch build fail

    Hi, thanks for sharing this issue! Right now NCrunch doesn't officially support working with Silverlight projects, although I've placed this issue on the backlog for review when Silverlight support is eventually added. An another note, this website will be getting a major upgrade soon. The is…

  18. System.Security.VerificationException: Operation could destabilize the runtime

    Hi Oliver, Right now NCrunch simply doesn't support working with partially trusted code (or code access security), as this adds a considerably complex dimension to its development and may not actually be possible with the way it works internally (more testing is required). I'd like to introduce …

  19. Bug? Feature Request? Multiple processing threads should not use the same workspace.

    Hi, thanks for posting! NCrunch can use the same workspace for multiple test runner processes, though it will never run multiple threads within the same process. The problem with creating a new workspace for every test runner is that this means ALL projects within the solution need to be built…

  20. NCrunch causes VS2008 to lock up for a while every single build

    Thanks. The specification of your machine is slightly better than the machine being used to develop NCrunch itself (which isn't a small solution), so I'm sure your hardware should normally be more than adequate for a good experience. Performance issues like this can often be tough to track down.…