Forum member
upper
31 posts
Posts by upper
-
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.
04 Feb 2021 07:55 UTC
-
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.
03 Feb 2021 15:55 UTC
-
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…
02 Feb 2021 06:18 UTC
-
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
01 Feb 2021 12:13 UTC
-
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…
01 Feb 2021 12:05 UTC
-
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…
01 Feb 2021 11:10 UTC
-
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…
01 Feb 2021 11:02 UTC
-
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…
24 Nov 2020 08:42 UTC
-
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…
16 Nov 2020 11:25 UTC
-
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
16 Nov 2020 08:28 UTC
-
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…
16 Nov 2020 06:33 UTC
-
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 …
15 Nov 2020 14:50 UTC
-
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 …
11 Nov 2020 19:01 UTC
-
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
11 Nov 2020 18:25 UTC
-
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.
11 Nov 2020 17:16 UTC
-
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…
11 Nov 2020 17:13 UTC
-
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
11 Nov 2020 17:08 UTC
-
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?…
11 Nov 2020 17:02 UTC
-
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…
11 Nov 2020 16:47 UTC
-
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 …
10 Nov 2020 19:33 UTC