Forum member
Remco NCrunch Developer
7586 posts
Posts by Remco
-
An item with the same key has already been added
Some more interesting clues that I hope will help with isolating the issue: - The issue seems to be caused by an assembly-level attribute - The issue is caused by having more than one range within the assembly with the same metadata token. This is a little beyond my current understanding of the…
07 Oct 2015 01:25 UTC
-
Ncrunch is infinitely building. No tests are starting.
Ok - this means that something on your system is preventing the engine host process from launching additional processes, but it won't interfere with the IDE. Are you running a virus scanner?
06 Oct 2015 20:58 UTC
-
Ncrunch is infinitely building. No tests are starting.
Is it possible this has enabled FIPS on your machine? I don't think the problem itself is related to VS itself - more likely it's something resident on your machine that is interfering with .NET processes. Do you actually see a test host .EXE launch when you try to run the test?
06 Oct 2015 08:59 UTC
-
An item with the same key has already been added
Hi, thanks for sharing this issue. Looking at the stack trace, this problem appears to be caused by some kind of metadata corruption or new IL arrangement that NCrunch/cecil is unfamiliar with. Unfortunately the only way for me to troubleshoot this problem is to have a code sample that can relia…
06 Oct 2015 00:38 UTC
-
Ncrunch is infinitely building. No tests are starting.
Thanks for sharing the report. Unfortunately there was nothing in the report log that indicated any problem. Was there anything that caused this to suddenly start happening? Perhaps something you've installed? What happens if you try to debug the test?
05 Oct 2015 21:30 UTC
-
Ncrunch is infinitely building. No tests are starting.
Hi, Thanks for sharing this. It looks as though something is preventing the task runner from initialising correctly. Could you submit a bug report after you've had this happen?
05 Oct 2015 09:02 UTC
-
Build fails: Could not load file or assembly Microsoft.CodeAnalysis
Sorry. The actual solution for this is to have NCrunch automatically try to detect the Nuget dependency and include its files automatically. This is coming in the 2.17 release. The previous line on this has been to allow people to include the files themselves, to prevent workspace bloat .. but …
01 Oct 2015 20:10 UTC
-
Build failing on signing (NCrunch bug when the key is outside of the project source?)
[quote=larsendaniel;7801]Just as a quick update. I'm essentially giving up on this problem for now. The temporary workaround when it fails, is to wait for 15 minutes and then have NCrunch reload the project and try again. Works almost everytime. Very strange indeed.[/quote] Do you have a virus…
01 Oct 2015 20:08 UTC
-
Build fails: Could not load file or assembly Microsoft.CodeAnalysis
Hi, This is likely to be the same as this issue here: [url=http://forum.ncrunch.net/yaf_postst1664_NCrunch-build-failure-after-adding-Microsoft-Net-Compilers-package.aspx]http://forum.ncrunch.net/yaf_postst1664_NCrunch-build-failure-after-adding-Microsoft-Net-Compilers-package.aspx[/url]. Addi…
01 Oct 2015 10:47 UTC
-
Parallel Execution based on Test Framework
Hi, thanks for posting. NCrunch will deliberately disable any and all parallel execution performed by frameworks it invokes. This includes the new parallelisation features in Xunit V2. Under NCrunch, MSTest is actually emulated rather than integrated, and NCrunch's implementation of MSTest won'…
01 Oct 2015 02:48 UTC
-
Jenkins CI association
I'm afraid that I can't provide direct guidance on this, as I have no knowledge of Jenkins or how to configure it. The console tool essentially just takes a series of parameters and will run against a solution file. The tool outputs a number of reports that contain the results in human and machi…
30 Sep 2015 22:19 UTC
-
Standalone GUI app
At the moment, there is nothing built into NCrunch that will let you do this. The NCrunch console application was designed more for batch runs on build servers than for concurrent use, although there is a growing number of users that are requesting a way to get NCrunch out of Visual Studio :) [u…
30 Sep 2015 22:17 UTC
-
Disabling automatic run test
Hi, thanks for posting. Try adding the .cpp extension to the 'Files Excluded from Auto Build' setting - [url=http://www.ncrunch.net/documentation/reference_project-configuration_files-excluded-from-auto-build]http://www.ncrunch.net/documentation/reference_project-configuration_files-excluded-from…
30 Sep 2015 11:34 UTC
-
MSpec test using RazorEngine fails on some machines but does not fail in Resharper or MSpec runner
Excellent. I think that leaving this setting enabled for you would be best solution to this problem. I've been doing some digging around here to try and solve a very similar seeming issue with System.Runtime, and concluded that the behaviour under the hood here is likely to be quite complex. Ba…
29 Sep 2015 23:19 UTC
-
Build failing on signing (NCrunch bug when the key is outside of the project source?)
[quote=larsendaniel;7783]I think the signing error is a red herring. I did notice today that the DLL in the $(OUT) directory was 0 bytes when NCrunch was hitting the error, which seems to indicate that the issue occurred before signing even started. And then when it succeeded (waited 15 minutes an…
29 Sep 2015 21:45 UTC
-
MSpec test using RazorEngine fails on some machines but does not fail in Resharper or MSpec runner
Hi, thanks for sharing this issue. Does enabling the NCrunch project-level 'Pre-load all assembly references into test environment' setting on the relevant test project resolve this issue?
29 Sep 2015 21:33 UTC
-
Build failing on signing (NCrunch bug when the key is outside of the project source?)
[quote=larsendaniel;7776] As for disabling signing, I'm open to this option as a workaround if we can get it to work. I need to apply the option to most of my projects, since many of them are signed by default in our system. However I remember running into issues with access when I tried that bef…
29 Sep 2015 04:59 UTC
-
Build failing on signing (NCrunch bug when the key is outside of the project source?)
What sort of pattern do you see around the occurrence of this problem? Does it happening intermittently? (i.e. 1 out of every X times), or is it more like a magnet? (i.e. it starts failing and keeps failing until it suddenly starts consistently working). Since I cannot reproduce the problem and …
28 Sep 2015 22:48 UTC
-
NCrunch build failure after adding Microsoft.Net.Compilers package.
Hi Andy, This is most likely caused by an implicit dependency on the compiler resources inside the NuGet package - [url=http://www.ncrunch.net/documentation/considerations-and-constraints_implicit-file-dependencies]http://www.ncrunch.net/documentation/considerations-and-constraints_implicit-file-…
27 Sep 2015 21:04 UTC
-
Build failing on signing (NCrunch bug when the key is outside of the project source?)
Hi, Thanks for sharing this issue. Looking at this in detail, I can think of two possibilities: 1. We're missing some kind of key information - For example, perhaps something is tampering with the key file. Maybe its being generated somewhere, or there are file permissions that restrict ac…
26 Sep 2015 00:37 UTC