Forum member

Remco NCrunch Developer

7586 posts

Posts by Remco

  1. 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…

  2. 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…

  3. 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…

  4. 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…

  5. 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…

  6. 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?

  7. Cannot build VSIX package in Visual Studio 2017

    Great to hear. This will also improve your build performance under NCrunch.

  8. 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'…

  9. 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 :)

  10. 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…

  11. 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…

  12. 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.

  13. 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…

  14. 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: …

  15. 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…

  16. Env variable in NCrunch Cache Storage Path

    Do you see NCrunch give any errors in its log when it attempts to load from this configuration file? This setting is being passed through a method to resolve environment variables, so something must be amiss. Are you able to share the value of this environment variable as this exists on your machi…

  17. NCrunch, Core 1.0.1 and BadImageFormatException

    Thanks for your help. I've managed to reproduce and isolate this issue. The problem is that the CLR seems to have an issue with loading assemblies dynamically from the user's nuget packages directory. Not all assemblies are affected by this, which has me somewhat confused. System.Net.Http seem…

  18. NCrunch Console on dotnetcore without vstudio2017?

    I've yet to test whether this is possible without Visual Studio. Most likely there is a maze of things you'll need to have installed. Are you also able to build the solution on this machine using MSBuild?

  19. NCrunch 3.6.0.2 requires your project to use .NET 4.6.2

    Hi, This is caused by a regression in v3.6 where the engine is not detecting the correct version of .NET installed on the system. Detecting the newer versions of .NET is often difficult because these frameworks are usually released from Microsoft without any guidance on how to accurately detec…

  20. Unnecessary .ncrunchproject files

    Sorry, there really isn't anything more I can do about this in NCrunch. It is normal practice for tools to place files adjacent to project files. The PreviouslyBuiltSuccessfully flag is an important value that needs to be stored per project. Removing this value would create problems far in exce…