Forum member

Remco NCrunch Developer

7611 posts

Posts by Remco

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

    Hi Rob - I just picked up this question while skimming through forum material, and realised that it hadn't been answered. I'm not sure how it slipped through my net, and I'm sorry it's taken so long to get back to you. NCrunch uses a different security setup within its application domain to o…

  2. Unit testing with classes from Roslyn.Services namespace results in a SecurityException

    Something else that may work is to add the following attribute to your AssemblyInfo.cs file: [assembly: AllowPartiallyTrustedCallers] Does this do the trick?

  3. NCrunch does not recursively copy msbuild target imports

    For anyone interested, NCrunch 1.41b has just been released including a fix for the above described issue (unable to find stylecop settings files at solution level).

  4. Build Failure with VS2012 Split App Project Template

    For anyone interested, 1.41b has just been released with a fix for the ArgumentNullException issue described above. While this doesn't add support for the Metro template Ben described, it should improve the error handling in this area.

  5. Installs themself as nCrunch.VSIntegration2010 in VS2012

    This should now be fixed in the version just released (1.41b).

  6. NCrunch not responding at all

    I wonder if this may be a race condition of some kind. If it happens to you again, would you mind grabbing another bug report and sending it through? Thanks!

  7. Build Failure with VS2012 Split App Project Template

    Thanks for letting me know. Right now NCrunch doesn't officially support Metro style applications yet (these are still a very new addition and much of the documentation is still a bit light), but I'll make a note to check this template to see if it causes any problems when the support is properly a…

  8. Run all tests visible here not working

    Hi, Thanks for taking the time to report this issue. I managed to reproduce this earlier in the 1.40b build and found it to be a recently introduced regression caused by the new 'Terminate test runner tasks when all test execution is complete' configuration setting. If you turn this setting off…

  9. Build Failure with VS2012 Split App Project Template

    Thanks for the analysis. Are you able to confirm the full name of the template you're using? Is it one that requires a Windows 8 installation?

  10. Unable to get MSTest tests picked up in VS2012RC

    At the moment NCrunch doesn't officially support Metro style applications. For metro apps to work correctly with NCrunch, they need to be carefully sandboxed in a manner that is consistent with how they would work in a runtime environment ... and with the framework still being so new, there is very…

  11. Build Failure with VS2012 Split App Project Template

    Hi Ben, Thanks for posting! And I'm glad you're enjoying the tool! This is an issue that appears irregularly in the 1.40b build. There is a certain combination of steps that can cause it to happen, although it likely isn't the main source of your build error. Essentially it's a failure of N…

  12. Build failure issue - 'Class1' does not contain a definition for 'Property2'

    Hi, thanks for posting! If this error is appearing consistently (i.e. you can never get the project to build), then my first thought would be that your build environment may have some hidden complexity around project/assembly resolution. Can you share any more information about how this class …

  13. Coverage shows black when tests cover the code

    Thanks for the info. The problem you're experiencing will be due to the GAC registration of the assemblies under test. The CLR will always load an assembly from the GAC before touching an assembly on disk, and I've yet to find a clean way around this. The best way to work around this issue is t…

  14. NCrunch not responding at all

    The easiest way to clear out the solution settings is just to delete the following two files: SolutionName.ncrunchsolution (Will be next to your solution sln file) SolutionName.ncrunchsolution.user (Will be next to your solution sln file) Also ensure you delete the _NCrunch_SolutionName direc…

  15. NCrunch not responding at all

    Hi Laila - Thanks for sending through the bug report. I've taken a look, and there doesn't appear to be any exceptions thrown during your initialisation of Visual Studio and the opening of the solution. This is somewhat unfortunate as it means the problem will be a bit tougher to analyse. Th…

  16. NCrunch not responding at all

    Hi Laila - I've just PMed you an email address to send the bug report to. I'll take a look at the report and will let you know what's happening. Thanks! Remco

  17. NCrunch not responding at all

    Hi Laila, Thanks for posting! From what you've described, it seems as though NCrunch is experiencing an internal problem during its initialisation. Would you be able to submit a bug report (using the NCrunch menu) shortly after starting Visual Studio? Also, have you noticed this issue ap…

  18. Using NCrunch with JustMock

    Thanks for trying this. The existence of the proxy processes means that NCrunch should now be properly hosting the JustMock profiler but the profiler is not properly initialising itself within the test process. This is the same problem that Thorsten has been reporting and I have so far been unable…

  19. Coverage shows black when tests cover the code

    Hi Myogui, Thanks for posting! Based on your description I have a feeling that you are the victim of a very different issue. Can you answer some of the following questions? This will help me to better establish where the issue is: - Do you have any green/red markers on your non-test proje…

  20. Using NCrunch with JustMock

    On your NCrunch project-level configuration, you'll find an option called 'Proxy process file path'. Underneath your NCrunch installation directory (normally C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\Extensions\Remco Software\NCrunch for Visual Studio 2010), you'll find a fi…