Forum member
Remco NCrunch Developer
7586 posts
Posts by Remco
-
NetCore2 projects don't get X on exception lines
What happens if you turn off the 'Instrument output assembly' setting in NCrunch's project-level configuration? This should remove all the coverage markers, but I'm wondering if you get a line number in the error after you do this.
09 Oct 2017 02:59 UTC
-
NetCore2 projects don't get X on exception lines
Thanks for sharing this problem. For some reason, this doesn't seem to appear for me. There must be something in your environment that is triggering this. [code=plain] NCrunch: This test was executed on server '(local)' Xunit.Sdk.TrueException: Assert.True() Failure Expected: True Actua…
09 Oct 2017 02:47 UTC
-
Using System.Xml in .NET Core 2 gives FileNotFoundException for System.Collections.NonGeneric
Right, so this one doesn't look like it'll be easy to fix. This is being caused by binding information crossing over from NCrunch's .NET Core 1.0 and 1.1 assemblies over into the .NET Core 2.0 environment. MS changed the dependency handling between 1.1 and 2.0. This means that as soon as some…
09 Oct 2017 00:50 UTC
-
Using System.Xml in .NET Core 2 gives FileNotFoundException for System.Collections.NonGeneric
That's great! Thanks for sending that through. I'll take a look and will get back to you soon.
07 Oct 2017 11:56 UTC
-
Using System.Xml in .NET Core 2 gives FileNotFoundException for System.Collections.NonGeneric
Hi, thanks for sharing this problem. As long as this NuGet package has been added to the test project, there shouldn't be a resolution problem here for NCrunch. Are you able to share this code with me? The assembly resolution system under .NET Core is so complex that it is unfortunately impos…
07 Oct 2017 11:31 UTC
-
Tests utilising Microsoft.AspNet.TestHost fail in NCrunch
Thanks for sending through the logs. It's a bit unfortunate that the size of your solution prevented the loading of the projects from sharing information in the logs (which would have been the most interesting part), but I have identified something wrong going in NCrunch's project synchronisation s…
05 Oct 2017 02:42 UTC
-
NCrunch does not honor the max timeout and runs tests forever
Thanks for sending this through. There's a huge amount of complexity here in the interactions between this code and the entire tool system, so it will take me some time to analyse this. I find the difference in experience between VS2015 and VS2017 very interesting. I'll let you know when I have m…
05 Oct 2017 00:12 UTC
-
System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
Thanks for sending this through. This is a really good report as it explains some very strange things I've been seeing these last few months. It looks as though when there is an unexpected problem that appears during project load, the project gets pulled up by the engine in a half-initialised st…
04 Oct 2017 23:26 UTC
-
System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
[quote=jjvdgeer;11315] When I choose this commad, VS->Tools->NCrunch, the command will fail with some NREs. If I after this run the NCrunch command again, it fails, it has become corrupted.[/quote] Is there any chance you can share with me a trace log from NCrunch that shows this initial set …
04 Oct 2017 21:34 UTC
-
NUnit 2 vs NUnit 3
Thanks for the code sample. This problem is appearing because you have your NUnit v2 framework utilisation type set to 'StaticAnalysis' which although is faster, it doesn't have good support for many of NUnit's more niche features, such as TestCases. If you want to use TestCases, I recommend set…
04 Oct 2017 11:20 UTC
-
System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
Looking at the code involved here, I'm having a hard time understanding how this issue could exist, unless it were a downstream issue from something else going horribly wrong. I'm eager to learn more about this problem in the hope of reproducing it. Are you able to uncover any steps that consist…
04 Oct 2017 07:51 UTC
-
Build failed on Unity project
Hi, thanks for sharing this problem. I've seen this problem reported before a few months ago. I can't remember if it was also a unity project, but the problem originated from the nunit.framework.dll file. For some reason, this NUnit binary wasn't an officially released version of NUnit3, and it…
04 Oct 2017 06:15 UTC
-
System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
I think the cache corruption issue is a once off. I'm not sure why this has happened to you. Others have reported cache corruption problems on the later versions of NCrunch, but I've yet to encounter a use case that can consistently produce them in a way that allows me to fix them. Did removing…
04 Oct 2017 05:01 UTC
-
System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
Thanks for sending through the log. So we have two problems here. One is the failed Auto restore of NuGet packages by the console tool. The second looks to be caused by corrupt cache data. To solve the first problem: When you run the console tool, make sure you specify that you want to use …
03 Oct 2017 23:52 UTC
-
NUnit 2 vs NUnit 3
Hi, thanks for sharing this problem. NUnit2 is still supported and probably always will be. I am actually more certain of the NUnit2 integration than I am with NUnit3, because it's stood the test of time and this framework version isn't being updated anymore. Are you able to share this test c…
03 Oct 2017 23:45 UTC
-
System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
Would you be able to get me a detailed trace log from the console tool? You can do this by passing "-LogVerbosity Detailed" on the command line, and redirecting the output to a text file. If it's too much to paste here, you can submit it [url=https://www.ncrunch.net/support/contact]through the c…
03 Oct 2017 09:58 UTC
-
System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
For some reason, NCrunch thinks that the project 'C:\src\Classic-AMIS\trunk\Classic-AMIS-Internal\Classic.AMIS.Internal.Schema.UnitTests\Classic.AMIS.Internal.Schema.UnitTests.csproj' has a TargetFramework of netcoreapp or netstandard. Because of this, it's trying to find MSBuild.exe under the VS i…
03 Oct 2017 08:07 UTC
-
Risk bar and time remaining
Hi, thanks for posting. This feature is due to be completely redesigned. It has some serious internal performance issues that can cause it to block up the engine. For the time being, I'd recommend avoiding it. For this feature to work, it needs to build a running forecast of all tests in the q…
02 Oct 2017 22:37 UTC
-
System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
Hi, It looks like you're using a CPS based project and you don't have the .NET Core SDK installed. Are you able to open these projects in Visual Studio? Do they build on this machine?
02 Oct 2017 22:34 UTC
-
Tests utilising Microsoft.AspNet.TestHost fail in NCrunch
Is there any chance you could submit a bug report immediately after you've had this happen? Maybe the log will reveal something.
01 Oct 2017 00:03 UTC