Forum member

Remco NCrunch Developer

7611 posts

Posts by Remco

  1. Error message: ERROR (Internal): System.Exception: Failed to extract test from its task

    The build below contains a fix for this issue if you're still seeing this happen: [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunch_Console_3.19.0.2.msi]NCrunch_Console_3.19.0.2.msi[/url] [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunch_Console_3.19.0.2.zip]NCrunch_Console_3…

  2. Getting Generics error on 3.18.0.2 that wasn't there in 3.17.x

    Would you like to try the build below to see if this resolves the problem for you? This build contains a targeted fix for this issue. [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunch_Console_3.19.0.2.msi]NCrunch_Console_3.19.0.2.msi[/url] [url=https://s3.amazonaws.com/downloads.ncrun…

  3. NCrunch using incorrect dependency version

    Could you try the build below and let me know if this solves the problem for you? [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunch_Console_3.19.0.2.msi]NCrunch_Console_3.19.0.2.msi[/url] [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunch_Console_3.19.0.2.zip]NCrunch_Console_3…

  4. NCrunch using incorrect dependency version

    We've been chasing this one all week (and weekend, sadly). It's tough. It's actually been around for a while too, since the first versions of .NET Core. The problem is being caused by package referencing overrides related to aspnetcore. When aspnetcore is referenced, certain packages (such as …

  5. Pdb loading fail using System.Reflection.Metadata

    Hi, thanks for posting! This is caused by NCrunch's current lack of support for portable PDBs. To compensate, the NCrunch build system automatically overrides your project settings so that the PDB generated for your project will always be a legacy Win32 PDB. This then allows NCrunch to properly…

  6. NCrunch using incorrect dependency version

    This problem is proving much harder to resolve than I expected. It will be a few days before I can provide a fix. Sorry.

  7. T4 Template generation fails in 3.18

    Here's a build with the fix included: [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunch_Console_3.19.0.1.msi]NCrunch_Console_3.19.0.1.msi[/url] [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunch_Console_3.19.0.1.zip]NCrunch_Console_3.19.0.1.zip[/url] [url=https://s3.amazonaws…

  8. T4 Template generation fails in 3.18

    I've managed to find a solution to this problem. The issue comes from a change introduced in VS 15.8 that forcefully redirects assembly references out to shim assemblies in a different location of the disk. From what I can tell, this appears to affect projects that make use of .NET Standard librar…

  9. T4 Template generation fails in 3.18

    Thanks! It looks like this reproduces the problem for me (System.Net.Http resolution). I'll let you know as soon as I have more information. You can remove the download link if you're uncomfortable about having this code online.

  10. Getting Generics error on 3.18.0.2 that wasn't there in 3.17.x

    Hi, thanks for sharing this issue. Support for DynamicDataAttribute is newly introduced in NCrunch v3.17. The reason you haven't seen this fail on older versions of NCrunch is likely because the test wasn't being detected and reported. At the time NCrunch 2.17 was released, MSTest v2 didn't exi…

  11. NCrunch using incorrect dependency version

    Thanks! With this sample I can reproduce the problem exactly as described. This is being caused by a dependency clash between netstandard/netcoreapp. I have some ideas on how it might be possible to fix this. I'll let you know as soon as I have more information. If you're uncomfortable about …

  12. Code Coverage Markers Misaligned

    [quote=aylwyn;12547] I also note that my solution, and in particular the project that this test is covering, is rather large so I suspect it's not the timing issue here. [/quote] This will almost certainly be something else, though probably it will likewise be hard to pin down and fix. When …

  13. T4 Template generation fails in 3.18

    It's looking to me like MS have changed some of the assembly resolution logic inside MSBuild as part of the 15.8 update. I've just done some testing on my end to try and reproduce this using the bug report you sent through, but so far I've had no luck in getting it to fail. Is there any chance you…

  14. NCrunch using incorrect dependency version

    [quote=BenREbits;12545] I have created a sample solution and sent it via the contact form which replicates the issue and I'm hoping and praying that it's not something stupid that I'm doing. The subject is the same as the OP name and contains the link to this post[/quote] Sadly, this one didn…

  15. NCrunch using incorrect dependency version

    [quote=BenREbits;12542]I love how their version of a "simplified" solution is far more complex than any they have done before. [/quote] Sadly, this is just the tip of the iceberg :( [quote=BenREbits;12542] So we're running an ASP.NET Core 2.1.2 project referencing two .NET Standard 2.0 proje…

  16. NCrunch using incorrect dependency version

    [quote=BenREbits;12540]Enabling the setting made no difference. I have checked through all of the dependency files and can find no reference to the 4.1.1.0 version, only 4.3.0. 4.1.1.0 seems to be the version that's built in to .NET Core 2.1.2[/quote] Unfortunately this is where the versioning sy…

  17. How to resolved reference to nCrunch.TestRuntime.DotNetCore error during build

    Hi, thanks for posting. I'm sorry to say that Xamarin (and thus Android) are [url=https://www.ncrunch.net/support/frameworks]not in the list of platforms currently supported by NCrunch[/url]. Presently no work has been done to ensure Xamarin build targets will function currently when executed …

  18. Error message: ERROR (Internal): System.Exception: Failed to extract test from its task

    Hi, thanks for sharing this issue. We've had this recently appear on our own build too. It seems to be caused by a complex series of rare interactions around the test pipeline and in the cases where I've been able to pin it down, it's been related to tests being added or removed to NCrunch's in-…

  19. Trend Antivirus Exclusion rules for NCrunch

    Hi, thanks for posting. Instead of trying to exclude processes by EXE name, it may work better if you restrict the scanning to exclude the directories where NCrunch does work. Try excluding the following: The NCrunch installation dir (i.e. C:\Program Files (x86)\Microsoft Visual Studio\2017\E…

  20. System.InvalidProgramException on x64 Testproject

    Thanks Dan. This may be something you could report to Typemock. They usually take IL corruption issues quite seriously.