Forum member
Remco NCrunch Developer
7586 posts
Posts by Remco
-
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.
19 Aug 2018 04:35 UTC
-
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…
19 Aug 2018 04:33 UTC
-
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…
18 Aug 2018 04:32 UTC
-
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.
17 Aug 2018 23:53 UTC
-
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…
17 Aug 2018 23:46 UTC
-
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 …
17 Aug 2018 23:37 UTC
-
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 …
16 Aug 2018 23:20 UTC
-
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…
16 Aug 2018 23:15 UTC
-
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…
16 Aug 2018 23:13 UTC
-
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 Aug 2018 12:00 UTC
-
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…
16 Aug 2018 11:08 UTC
-
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 …
16 Aug 2018 00:52 UTC
-
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-…
16 Aug 2018 00:44 UTC
-
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…
15 Aug 2018 04:36 UTC
-
System.InvalidProgramException on x64 Testproject
Thanks Dan. This may be something you could report to Typemock. They usually take IL corruption issues quite seriously.
14 Aug 2018 01:02 UTC
-
T4 Template generation fails in 3.18
[quote=smitchamb;12529]I downgraded and it is still happening, so i must be something in the project related to the code analysis stuff.[/quote] It's not clear to me here what the difference is that causes this to happen in your NCrunch environment and not in others. But resolving the problem sh…
14 Aug 2018 01:01 UTC
-
'System.Xaml.XamlObjectWriterException' When using Microsoft Workflow Foundation
I'm impressed you managed to figure this out from such an obscure error message. It's true that the NCrunch build system defaults to x86. This is due to historical reasons (MSBuild used to only run under x86, and weird things would happen otherwise). I guess there is here a build task that does n…
13 Aug 2018 09:16 UTC
-
NCrunch using incorrect dependency version
Could you try enabling the [url=https://www.ncrunch.net/documentation/reference_project-configuration_preload-assembly-references]preload assembly references[/url] setting for the test project? Hopefully this will resolve the inconsistency, so at least we see the same version of the binary loaded f…
11 Aug 2018 01:23 UTC
-
Upgraded Web Project Not Building
[quote=simongh;12520] There was also a <Target Name="AfterBuild"> <RemoveDir Directories="$(BaseIntermediateOutputPath)" /> That was removing the nuget files and breaking the build[/quote] I think that this would have been the #1 issue here, as it would have caused some very inconsi…
11 Aug 2018 01:20 UTC
-
T4 Template generation fails in 3.18
Hi, thanks for sharing this issue. I can't think of any changes in v3.18 that could be directly responsible for this issue. But the error itself is interesting. The TextTemplating build task under the directory mentioned above seems to have a dependency on Microsoft.CodeAnalysis v2.8, but the f…
11 Aug 2018 01:13 UTC