Forum member

4rchie

27 posts

Posts by 4rchie

  1. exception when using Code Contracts

    [quote=Remco;585]Excellent thanks - I'll take a look at the sample and will get back to you.[/quote] no problem, take your time. It's not stopping me so its not a priority for me and I have'nt seen others to report that :)

  2. exception when using Code Contracts

    Changing CopyReferencedAssemblies does not solve the problem. I've wrote a little project that shows the error. http://speedy.sh/AQwSw/ContractFailingWithNCover.zip Changing CopyReferencedAssemblies throws the big error message box like above.

  3. exception when using Code Contracts

    I've just tried to use Code Contracts in my application. As soon as I've enabled that feature of c# 4.0 I got a big window with message: --------------------------- nCrunch.TaskRunner40.x86.exe - Assert Failure --------------------------- Description: Must use the rewriter when using Contract…

  4. problem with app.config file

    I do....... :( so problem solved - in a way :) I'll wait for the new version then. Thanks for your help. Regards, 4rchie

  5. problem with app.config file

    Test is not ignored. It runs now (after adding missing configSections in the app.config) but it fails. Funny thing is that it runs under the resharper runner but it fails under ncrunch (with an error like below): SetUp : System.Configuration.ConfigurationErrorsException : An error occurred cr…

  6. problem with app.config file

    I have nothing in the post build event. The code I'm trying to test is: public static MyServersCollection MyServers { get { var section = (MyConfigurationSection)ConfigurationManager.GetSection("myConfiguration"); return se…

  7. problem with app.config file

    I have a code that relies on a specific app.config file. The test project contains some tests that check the code which read the appp.config. I do have the config file prepared but I have no clue how to tell NCrunch to use that specific app.config while testing that specific assembly. Any clues how …