Forum member
Remco NCrunch Developer
7586 posts
Posts by Remco
-
NCRunch console: Multiple assemblies with equivalent identity have been imported
Hi, thanks for sharing this problem. What I find particularly interesting about this problem is that it's happening during build of the project. NCrunch doesn't really do much manipulation of dependencies during the build of .NET Core projects, most of this is handled downstream in the runtime e…
08 Nov 2017 20:54 UTC
-
Debuging a test - watch issue
Thanks for sharing these extra details. The debugger itself is unfortunately a bit of a black box (unless you work within MS). The difference in behaviour is likely to be related to the structure of the PDB file, which NCrunch needs to reconstruct when it instruments the assembly. To troubles…
08 Nov 2017 11:17 UTC
-
Debuging a test - watch issue
Hi, Thanks for sharing this problem. Do you have any variables showing up in the locals for your debugger? Are you able to inspect method parameter values or class members/fields? Do you experience this problem on a small sample solution?
08 Nov 2017 10:17 UTC
-
Building Large Source Trees Spanning Solutions
I'm glad to hear you found the problem and were able to resolve it. This particular expression (GetDirectoryNameOfFileAbove) is a frightfully complex thing for NCrunch to handle because of the sequence of evaluation in MSBuild. It's not a surprise to me that this expression has interfered with res…
07 Nov 2017 23:36 UTC
-
DataTestMethod with Enumerators fail in NCrunch
Can you confirm whether you set your framework utilisation type for MSTest to DynamicAnalysis? As described earlier, it just wasn't feasible to support all use cases of the DataRow under StaticAnalysis.
07 Nov 2017 09:22 UTC
-
DataTestMethod with Enumerators fail in NCrunch
I recommend installing via the MSI rather than the ZIP, if possible. My first guess would be that the O/S is blocking NCrunch from running its task runners. If you need to install the ZIP, check that the files aren't being blocked. See here for specifics: [url=http://www.ncrunch.net/documentati…
07 Nov 2017 08:22 UTC
-
DataTestMethod with Enumerators fail in NCrunch
Hi, Sorry about this. There's been quite a bit of slippage in the v3.12 scope because of a sudden and rather gigantic issue around PDB support in .NET Core. Here's an early build for you: [url=http://downloads.ncrunch.net/NCrunch_Console_3.12.0.4.msi]http://downloads.ncrunch.net/NCrunch_Cons…
07 Nov 2017 07:34 UTC
-
Could not load file or assembly 'xunit.runner.utility.netstandard15, Version=2.2.0.3545, Culture=neu
After you build your project (just using VS), can you check whether there is a xunit.runner.utility.netstandard15.dll file in your build output directory? This file should be copied there by an xunit build step. If its not there, then there is something wrong with your xunit installation. Removin…
06 Nov 2017 22:55 UTC
-
Could not load file or assembly 'xunit.runner.utility.netstandard15, Version=2.2.0.3545, Culture=neu
There must be a nuget package dependency from one of your projects to xunit.runner.utility. This is how it's landing in the .deps file. Make sure you remove all nuget dependencies on this library.
06 Nov 2017 12:17 UTC
-
xunit.runner.utility v2.2.0 "Unable to restore required Nuget packages..."
NCrunch has its own internal list of Nuget packages that are required for operation under .NET Core. Because it's to be expected that a machine may not have all these required packages installed, NCrunch will automatically try to restore them if it detects .NET Core projects are being loaded. At t…
06 Nov 2017 10:48 UTC
-
Could not load file or assembly 'xunit.runner.utility.netstandard15, Version=2.2.0.3545, Culture=neu
Hi, thanks for sharing this problem. Is there anything in your solution that includes anywhere a reference to xunit.runner.utility? NCrunch packages this binary with its own Xunit integration module. You can find the file that NCrunch should be loading at C:\Program Files (x86)\Microsoft Visual…
06 Nov 2017 10:42 UTC
-
All tests failed due to unexpected error
Hi Alex, Thanks for sending through the sample solution. The problem is being caused by a call to Debug.Fail in the destructor of XmlFileInfoDocument. As I understand it, destructors are called when the GC physically removes objects from the heap. This code being in a destructor essentiall…
06 Nov 2017 00:30 UTC
-
Async build and build in general is a lot slower on VS 2017 Preview 4
[quote=abelb;11442] All in all an excellent result and it makes it much more pleasant to work with NCrunch and such large projects. However, I think performance for large scale projects should remain a focus point (if you can give it the priority and time it needs of course). [/quote] Great to …
03 Nov 2017 23:11 UTC
-
All tests failed due to unexpected error
Thanks Alex. I'll take a look and will get back to you soon.
03 Nov 2017 04:34 UTC
-
_SplitProjectReferencesByFileExistence
Hi, thanks for posting. Generally, when I've seen this problem, it's because MSBuild wasn't able to resolve the .targets files that were necessary to build the project. The solution to this will depend on how your build system is structured. Somewhere in the project (or in its related imports) …
03 Nov 2017 04:34 UTC
-
All tests failed due to unexpected error
Hi Alex, When you run the tests with a debugger, do they return to the runner with the expected result? (i.e. does the runner work correctly?) Do you experience this problem with any other .NET Core solutions on your machine? If you create a sample .NET Core test framework using the same test…
02 Nov 2017 06:18 UTC
-
All tests failed due to unexpected error
Hi Alex, Thanks for sharing this issue. This problem is occurring because something is taking out the nCrunch.TestHost process responsible for running your tests. The timing of the error suggests that this is happening during test execution. I find it interesting that after a fresh reset, the …
01 Nov 2017 10:18 UTC
-
Manually associated test fixture with dependent class
I have a feeling that you may have discovered a hole in the impact detection. Probably you made a change to a code structure in a way that the impact detection couldn't detect, so nothing was run. If it's happened to you once, it'll likely happen again. If you can identify the hole and discover…
31 Oct 2017 10:27 UTC
-
Manually associated test fixture with dependent class
Hi Daniel, Thanks for posting. Just to clarify, are you talking about the 'Run impacted tests automatically, others manually' mode? (The run all tests automatically runs everything regardless of impact detection). Can you share any more details around how the metadata classes are utilised …
31 Oct 2017 04:13 UTC
-
Building Large Source Trees Spanning Solutions
Hi Kaleb, Thanks for posting! When NCrunch creates a workspace for your project, it does so with consideration to upwards relative references by padding out the workspace directory. In this way, all dependencies should be contained completely within the workspace. It's not clear to me why …
30 Oct 2017 22:21 UTC