Forum member
Killfile
4 posts
Posts by Killfile
-
Invalid Casting Exception
[quote=Remco;2142]It also looks as though you have a DLL file somehow being copied to your MSTest 'Out' directory. NCrunch normally won't do this, so I suspect something else is also going on here. Basically, we need to ensure that the PortalBackend.dll file in the MSTest 'Out' directory does not …
13 Jun 2012 14:15 UTC
-
Invalid Casting Exception
[quote=Remco;2152]When you break in with the debugger, are you doing this using NCrunch's debug features, or with another test runner? Note that other test runners won't use the same assembly resolution logic as NCrunch, so you probably won't see any useful information from them around this issue. …
13 Jun 2012 03:27 UTC
-
Invalid Casting Exception
[quote=Remco;2142] It looks to me like there may be an issue with the same assembly being loaded into the application domain twice. You may be able to confirm or deny this by stepping with the debugger to the exception point, then checking the list of loaded modules for duplicates.[/quote] Brea…
12 Jun 2012 21:19 UTC
-
Invalid Casting Exception
I do some serialization to and from disk and I've got a number of tests that run just fine in Visual Studio's testing environment. NCrunch marks these tests as failing because it is unable to cast things properly. Here's the full exception: System.InvalidOperationException: There was an error…
11 Jun 2012 14:58 UTC