Forum member

upper

31 posts

Posts by upper

  1. NCrunch was unable to retrieve a meaningful result from this test due to an unexpected error...

    [quote=upper;15301]I will try it tomorrow and report back, thx.[/quote] I just tried your fix and I can confirm that it's now working again (even without placing the parameter in a new line). Thank you very much.

  2. NCrunch was unable to retrieve a meaningful result from this test due to an unexpected error...

    I will try it tomorrow and report back, thx.

  3. NCrunch was unable to retrieve a meaningful result from this test due to an unexpected error...

    [quote=Remco;15296]This may be an instrumentation problem. If you turn on the 'Instrument Output Assembly' setting and set the 'Instrumentation Strategy' setting to 'Legacy', does this also resolve the problem consistently? I get suspicious when I hear about something that works when only text b…

  4. NCrunch was unable to retrieve a meaningful result from this test due to an unexpected error...

    Setting the Instrument Output Assembly for the project file where the file exists to false also works --> even if we don't put the parameter of the method in a separate line --> so it seems there is a bug, maybe the lenght of the parameters are too long? What do you think? br

  5. NCrunch was unable to retrieve a meaningful result from this test due to an unexpected error...

    [quote=Remco;15292]Hi, thanks for sharing this issue. Can you try the following and let me know if you see any difference here? - Try placing the SuppressMessage attribute declaration inside an '#if !NCRUNCH' block. Does this allow NCrunch and the code cleanup to both work? - Can you try turni…

  6. NCrunch was unable to retrieve a meaningful result from this test due to an unexpected error...

    I can't edit my own topic, sorry, therefore I post an additional info here: Now matter what code we add to this specific class or to any class in this project, NCrunch fails (R# test runner and VS test runner are working). When I remove this new class everything is working fine --> I also subm…

  7. NCrunch was unable to retrieve a meaningful result from this test due to an unexpected error...

    Today we added a SuppressMessage to method and a using: using System.Diagnostics.CodeAnalysis; And as soon as I add the using ncrunch starts to failing running the tests with this error: NCrunch was unable to retrieve a meaningful result from this test due to an unexpected error - was the executi…

  8. How to change "Framework utilisation type"

    [quote=joffmann;15112]I'm evaluating NCrunch for use in Visual Studio and C#. When running the tests I get this message: Unable to transfer System.Type from a statically analysed domain into a dynamic runtime domain. Please change your 'Framework utilisation type for MSTest' setting to 'UseDynam…

  9. VS 2019 Enterprise 16.8 RTM - MS Fakes - Not Working

    [quote=upper;15071][quote=Remco;15070]Sorry just trying to confirm the status here ... Does the problem still exist after the adjustments you made? If so, is it possible for you to reproduce it with a sample solution?[/quote] Yeah the problem still exists, I will try to reproduce it with a sma…

  10. VS 2019 Enterprise 16.8 RTM - MS Fakes - Not Working

    [quote=Remco;15070]Sorry just trying to confirm the status here ... Does the problem still exist after the adjustments you made? If so, is it possible for you to reproduce it with a sample solution?[/quote] Yeah the problem still exists, I will try to reproduce it with a small sample. br

  11. VS 2019 Enterprise 16.8 RTM - MS Fakes - Not Working

    [quote=Remco;15068][quote=UppSol;15067] If cleaned the bin + obj folder and rebuilded the project, so the fakes project(generated by VS/compiler) and the corresponding (generated) files have been rebuilded correctly. Should this be enough or should I do something else as well? [/quote] Fakes g…

  12. VS 2019 Enterprise 16.8 RTM - MS Fakes - Not Working

    We are using NCrunch 4.5.0.3 MS Fakes are no longer working with the latest VS 2019 Enterprise 16.8 RTM version, NCrunch shows the following error: Test method YYY.Notifications.CommandHandler.Test.Messages.CommandValidatorBehaviour.Validate_Should_ThrowFaultException_When_ContextIsNull threw …

  13. Visual Studio 16.8 RTM - NCrunch Error

    [quote=upper;15041][quote=michaelkroes;15040]I see from the solution cache that you had an error with the solution. But when I rebuild it on two different machines it works for me. I'm going to consult with Remco and see what we can try next. [/quote] thx[/quote] I found the problem: I removed …

  14. Visual Studio 16.8 RTM - NCrunch Error

    [quote=michaelkroes;15040]I see from the solution cache that you had an error with the solution. But when I rebuild it on two different machines it works for me. I'm going to consult with Remco and see what we can try next. [/quote] thx

  15. Visual Studio 16.8 RTM - NCrunch Error

    [quote=michaelkroes;15038]Awesome. I’ll investigate. [/quote] thank you very much! Btw. I also tried to reinstalled the .net sdk without luck.

  16. Visual Studio 16.8 RTM - NCrunch Error

    [quote=michaelkroes;15036]Just to clarify, you do expect that sdk to work with NCrunch right? Because it works with VS an R#. Vs 2019 had some changes before in this area. Our old test case seem to pass. [/quote] Yes. <Project Sdk="Microsoft.NET.Sdk"> AND <Project Sdk="Microsoft.NET.Sdk.Web"> sh…

  17. Visual Studio 16.8 RTM - NCrunch Error

    [quote=michaelkroes;15034]Thanks! I’ll give that a try and report back. [/quote] Please have look at the previous post, I found the reason, it <Project Sdk="Microsoft.NET.Sdk.Web"> br

  18. Visual Studio 16.8 RTM - NCrunch Error

    [quote=michaelkroes;15032]Sorry to hear that. The log you supplied shows the test execution process dying. Would you mind checking the event viewer to see if there's any extra information about the crashing process? If there's nothing there would you mind trying to create a small test project?…

  19. Visual Studio 16.8 RTM - NCrunch Error

    [quote=michaelkroes;15029]Hi, I'm not 100% sure this will be fixed with the next release. I can't reproduce it just yet. Would you mind giving this release a try? It should be released as the version that supports 16.8 and net5.0 soon: [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunc…

  20. Visual Studio 16.8 RTM - NCrunch Error

    After updating to VS 2019 16.8 (Enterprise) NCrunch only shows errors (we have a asp.net core 3.1 solution, about 40 c# projects) --> Full Framework Solutions (.net 4.7.2) seems to working fine in 16.8) Restarting VS, restarting NCrunch (deleting the .obj folder or the .vs folder) does not solve …