Forum member
Remco NCrunch Developer
7611 posts
Posts by Remco
-
NCrunch console ERROR (Internal): System.ArgumentNullException
[quote=GreenMoose;10125] Hrm no, I have a lot of projects in this solution :|.[/quote] You may need to apply some deductive logic here so we can work out why the console tool won't load the projects. A few interesting things to check: - Does the console tool also behave this way when used on…
27 Mar 2017 23:14 UTC
-
NCrunch console ERROR (Internal): System.ArgumentNullException
Hi, thanks for sharing this problem. I can see how this is happening in NCrunch and it should be easy to fix it, but this looks like a downstream problem from something else. This exception should only happen if you are running NCrunch over a solution with no projects able to be processed (i.e. al…
27 Mar 2017 12:22 UTC
-
NCrunch code coverage icons not displayed when using MoeIDE extension
[quote=Der-Albert.com;10121]There was no color gutters on some lines, white gutter on clearly covered lines, single gutter at the start of the method (on that timeframe i wrote the me too). but in another project (fresh, never run with NCrunch) yesterday everthing everthing was fine. Today i ope…
27 Mar 2017 12:16 UTC
-
NCrunch code coverage icons not displayed when using MoeIDE extension
[quote=Der-Albert.com;10119]No, no special extensions. Except ReSharper. Currenty the color gutters are shown and actionable.[/quote] Sorry.. I'm now confused. Is this an intermittent issue? Or are there different colours that are out of alignment for you? (i.e. not the markers)
26 Mar 2017 22:41 UTC
-
NCrunch code coverage icons not displayed when using MoeIDE extension
[quote=Der-Albert.com;10117]Btw. the coloring is gone on my machine while working, and is not coming back. restart of VS2017 does not help.[/quote] Are you using the above extension, or anything similar that might affect visual layouts? Does running "C:\Program Files (x86)\Microsoft Visual Stu…
24 Mar 2017 22:47 UTC
-
Any Plans to optimize ASP.NET, .NET Core Experience?
[quote=Der-Albert.com;10112]With 3.6/7 it is faster than 3.5, feeling not as fast yet as in normal C# Assemblies, but now i can feel the progress. before that it takes ages even to build the projects.[/quote] If you're able to highlight any areas you feel seem to be significantly slower, I can tr…
24 Mar 2017 08:34 UTC
-
NCrunch, Core 1.0.1 and BadImageFormatException
Hi Rasmus, The pre/post build step disabling in NCrunch (via settings) only controls the PreBuildEvent and PostBuildEvent properties; it won't suppress any custom build targets you've coded in yourself. I recommend extending the condition on your build step to avoid running under NCrunch, Cond…
24 Mar 2017 08:31 UTC
-
NCrunch fails to start debugging tests
The build below contains a fix for the SEHException on debug issue: [url=http://downloads.ncrunch.net/NCrunch_Console_3.7.0.2.msi]http://downloads.ncrunch.net/NCrunch_Console_3.7.0.2.msi[/url] [url=http://downloads.ncrunch.net/NCrunch_Console_3.7.0.2.zip]http://downloads.ncrunch.net/NCrunch_Cons…
24 Mar 2017 05:54 UTC
-
NCrunch, Core 1.0.1 and BadImageFormatException
Ok, here's the next try! [url=http://downloads.ncrunch.net/NCrunch_Console_3.7.0.2.msi]http://downloads.ncrunch.net/NCrunch_Console_3.7.0.2.msi[/url] [url=http://downloads.ncrunch.net/NCrunch_Console_3.7.0.2.zip]http://downloads.ncrunch.net/NCrunch_Console_3.7.0.2.zip[/url] [url=http://download…
24 Mar 2017 05:52 UTC
-
NCrunch Build failure on C# 6 projects
[quote=fcournoyer;10106]Hi Remco! Thanks for the quick response. Sadly this contains sensitive code from the company I'm working for, that I can't share. [/quote] Understood. This is usually the case :( [quote=fcournoyer;10106] Obviously, making a small project using "nameof" operator doe…
23 Mar 2017 23:06 UTC
-
NCrunch Build failure on C# 6 projects
Hi Francois, Thanks for sharing this problem. I've had a couple of other users report similar problems. Unfortunately I can't tell why this is happening. Is there any chance you can share a sample project that reproduces this issue?
23 Mar 2017 22:39 UTC
-
Cannot build VSIX package in Visual Studio 2017
Great to hear. This will also improve your build performance under NCrunch.
23 Mar 2017 22:18 UTC
-
extern alias throwing exception
Thanks for sharing these extra details. Looking at the way these references are declared, I think I can understand why NCrunch might have problems here. NCrunch doesn't consider the alias when attempting to uniquely identify the reference, so it's most likely getting them confused. Although it'…
23 Mar 2017 22:18 UTC
-
NCrunch console warnings in log output?
[quote=GreenMoose;10096]Yeah my intention was to fail the TeamCity build if it finds a ncrunch warning in logs (as it does for all other warnings). I can parse the html output file but that's not pretty :)[/quote] I can't make promises on this right now, but I'll take a look :)
23 Mar 2017 05:28 UTC
-
NCrunch, Core 1.0.1 and BadImageFormatException
Ok, I think I have a solution to this issue. Try the build below and let me know how you go: [url=http://downloads.ncrunch.net/NCrunch_Console_3.7.0.1.msi]http://downloads.ncrunch.net/NCrunch_Console_3.7.0.1.msi[/url] [url=http://downloads.ncrunch.net/NCrunch_Console_3.7.0.1.zip]http://download…
23 Mar 2017 02:49 UTC
-
NCrunch console warnings in log output?
This warning is included in the AllResults.html file along with more detailed information that includes the tests with duplicate names. Or are you looking for a specific string to go into the NCrunch internal logs so you can pick this up with a Regex? I generally recommend steering away from tyi…
22 Mar 2017 22:53 UTC
-
Env variable in NCrunch Cache Storage Path
Ok, thanks, I've managed to reproduce this now. NCrunch isn't liking the environment variable exclusively taking up the whole value when trying to parse the storage path as a relative path. A fix will be included in the next build.
22 Mar 2017 22:43 UTC
-
NCrunch code coverage icons not displayed when using MoeIDE extension
Hi Jason, Thanks for sharing this issue. NCrunch adds its icons to the VS IDE by extending the WPF model with a few new elements. It took some trial and error to get this playing nicely with other plugins and tools, and there are many variables to consider (i.e. VS colour scheme etc). My f…
22 Mar 2017 22:12 UTC
-
Cannot build VSIX package in Visual Studio 2017
Hi Peter, This looks to be an error thrown by a VSIX validation step in your build process. Probably this step isn't needed for NCrunch to run tests over the assembly, so it may be worth disabling it by specifying a condition on the <Import> used to include it in your build system, for example: …
22 Mar 2017 22:08 UTC
-
extern alias throwing exception
Hi, thanks for sharing this problem. There haven't been any changes around extern aliases in NCrunch for quite some time. Most likely this hasn't been solved in a version newer than what you're using. Are you able to reproduce this problem in a project sample that you can share with me? NCru…
22 Mar 2017 22:03 UTC