Forum member

RobertTheGrey

6 posts

Posts by RobertTheGrey

  1. Debug hangs after enabling .NET Framework source stepping

    Thanks Remco - seems my entire debugger was broken by something. I couldn't debug with R# or run my web project any more either - only after a VS repair did the debugger start working again.

  2. Debug hangs after enabling .NET Framework source stepping

    In VS2015 I was debugging one of my tests just fine, but was getting a NULL ref exception from inside external framework code on one of my lines. So in debug options I ticked "Enable .NET Framework source stepping" which disables the "Just My Code" option and should allow me to step through symbol s…

  3. Support for running Moles (Fakes in 2012)

    Thanks for the response Remco :) I'd like to argue that Moles will be around a lot longer than it'll take Fakes to get established. Moles hasn't been depricated other than that they won't introduce latest changes (including the name change) into VS2010 or VS2008, but one thing is obvious, signifi…

  4. System.IO.FileNotFoundException : Could not load file or assembly

    Hi there, I'm running into this exception (System.IO.FileNotFoundException : Could not load file or assembly... ) when running the test via NCrunch. The test is here: https://github.com/SparkViewEngine/spark/blob/master/src/Spark.Web.Mvc.Tests/SparkBatchCompilerTester.cs#L60 It's doing some fu…

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

    Hi there, I work on the OSS Spark View Engine (https://github.com/SparkViewEngine/spark), which has something like 700 tests which all pass without an issue using NUnit or the ReSharper test runner. When running NCrunch, it throws this particular exception (System.Security.VerificationException: …

  6. Support for running Moles (Fakes in 2012)

    Hi there, Currently, when running tests that use the Moles framework to mock/stub static and sealed types, NCrunch test runner is unable to run those tests. The MSTest runner is capable of running them because it is capable of setting up a hosted process within which it can execute the tests. Whe…