Forum member

Remco NCrunch Developer

7586 posts

Posts by Remco

  1. The FrameworkReference 'Microsoft.WindowsDesktop.App.WPF' was not recognized

    Thanks for sharing this information! I would tend to categorise this particular situation as by design, as with the project XML we're totally reliant on VS to feed us with the correct data. For projects that have been loaded into the IDE, we disregard the contents of the file system and instead al…

  2. Build OutOfMemory v4.3.0.13

    Hi, thanks for sharing this issue. Could you try changing your [url=https://www.ncrunch.net/documentation/reference_solution-configuration_instrumentation-mode]Instrumentation Mode[/url] NCrunch configuration setting to 'Optimised'? (presently this will be set to 'Legacy'. If that doesn't do t…

  3. Test runner fails to run on v4.3.0.13

    I'd like to apologise for the time it's taken for me to get back to you on this issue. The last few weeks have been very interesting for everyone. I realise that this problem probably doesn't affect you any more, but I've prepared a build containing a fix for it just in case someone else happens…

  4. The FrameworkReference 'Microsoft.WindowsDesktop.App.WPF' was not recognized

    [quote=eriove;14675]I've switched branches multiple times and just when I wrote this message I got the error for the first time. But, it disappeared by itself after 10 seconds so the only reason I saw it was that I looked at the nCrunch window. Even if the problem isn't solved to 100% the error is c…

  5. The FrameworkReference 'Microsoft.WindowsDesktop.App.WPF' was not recognized

    Could you try the build below and let me know how it goes for you? I realise this issue is very intermittent and not easy to pin down .. so many try it for a couple of days and see how you go. [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunch_Console_4.4.0.8.msi]NCrunch_Console_4.4.0.8…

  6. ERROR (Analysis):...NullReferenceException

    [quote=GreenMoose;14672] p.s. I am switching employment next month, going into the Java business instead of C#, so unfortunately I will no longer be using NCrunch except for spare time programming :( d.s.[/quote] I'm sorry to hear that. We'll miss you!

  7. ERROR (Analysis):...NullReferenceException

    I think this issue is being caused by a problem with identifying the test fixture during discovery. I expect this issue is probably tied to the structure of your test suite. Do you think you may have any chance of figuring out how to reproduce it?

  8. The FrameworkReference 'Microsoft.WindowsDesktop.App.WPF' was not recognized

    Thanks for the extra info. I'm still trying to work out what is happening here ... I was so sure I'd fixed this one. Can you confirm the version number of NCrunch that you have showing in the 'About' window?

  9. Installing NCrunch with Multi Vs2019 instances?

    With the build tools installed, you will have 4 instances on your machine.... I think. We're reliant on the API and we take what it gives us. We've only really tested installation for the build tools in regards to the console tool (where this is applicable), so I'm not 100% sure what result you'll…

  10. FrameworkReference Build Error on a netcoreapp2.1 Target Build

    Could you try the build below and confirm whether this solves the issue for you? [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunch_Console_4.4.0.7.msi]NCrunch_Console_4.4.0.7.msi[/url] [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunch_Console_4.4.0.7.zip]NCrunch_Console_4.4.0…

  11. The FrameworkReference 'Microsoft.WindowsDesktop.App.WPF' was not recognized

    Could you try the build below and confirm whether this solves the issue for you? [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunch_Console_4.4.0.7.msi]NCrunch_Console_4.4.0.7.msi[/url] [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunch_Console_4.4.0.7.zip]NCrunch_Console_4.4.0…

  12. With optimized instrumentation generic MSpec behavior fails with "This test was not executed..."

    Could you try the build below and confirm whether this solves the issue for you? [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunch_Console_4.4.0.7.msi]NCrunch_Console_4.4.0.7.msi[/url] [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunch_Console_4.4.0.7.zip]NCrunch_Console_4.4.0…

  13. Installing NCrunch with Multi Vs2019 instances?

    Some time back we made a number of improvements to the VS2019/2017 installers so that they would support up to 3 instances of VS. However, the reliability of this depends entirely on the reliability of the VS installation API to tell the installer where the VS instances are installed. We've had so…

  14. NCrunch reports Xunit tests failed when using custom [Fact] attribute and custom IXunitTestCase

    Hi, thanks for sharing this issue. For us to be able to parse the Xunit test model and make sense of the test results that come from it, we need to make certain assumptions about how the model is structured and the types that are involved. Intrinsically, it is impossible for us to cater for all …

  15. How to get 100% code coverage with a throw inside cath?

    [quote=IlyaC;14646] The last line of first code is treated as not a code line by Ncrunch, there is no circle to the left. I don't know why, but this seems like an ideal solution, though I see it might not be easy to implement. I guess I'll have to live with 99% coverage then :)[/quote] This is …

  16. How to get 100% code coverage with a throw inside cath?

    Hi, thanks for posting. Structurally, what you are attempting to do is impossible without code coverage suppression (i.e. ncrunch comments, ExcludeFromCoverageAttribute, etc). This is because a throw statement physically causes the runtime to return early from a method, leaving any code after …

  17. The FrameworkReference 'Microsoft.WindowsDesktop.App.WPF' was not recognized

    Hi, thanks for sharing this problem. I'll take a look at the sample solution and will get back to you. Can you confirm that you're running the latest version of NCrunch? (v4.3).

  18. NCrunch does not seem to support editorconfig inheritance

    Hi, thanks for posting. I'm not particularly familiar with the mechanics of these files or their purpose, but is it possible that the global editorconfig file simply needs to be present inside the NCrunch workspace? If so, try adding it to the 'Additional files to include' in your NCrunch soluti…

  19. NCrunch Stuck/Hangs With 'Running (First time run)' For Most Tests In Project

    Thanks for sharing these extra details. I've reviewed the code involved and cross checked this with the stack trace you've provided. It looks to me like your compiled test project assembly has a binary reference to 'Microsoft.VisualStudio.QualityTools.UnitTestFramework, Version=10.0.0.0, Culture…

  20. With optimized instrumentation generic MSpec behavior fails with "This test was not executed..."

    Thanks for the sample. That did it for me (red across the board). I'll let you know as soon as we have a fix available.