Forum member

Remco NCrunch Developer

7611 posts

Posts by Remco

  1. Extreme delays in build when post-build event included

    Hi, thanks for posting. How is this post build event specified in your project file? Is this using a build property or a custom build target? Note that NCrunch will only suppress the properties - the custom build targets must have conditions applied to them if you want them suppressed ([url=://…

  2. Grid Node - AccessViolationException - Protected Memory Issue

    I think it's possible that the blocking of code coverage is only reliably effective here from line 1 of the file, as line 0 would sit before the '//ncrunch: no coverage start', so probably the instrumentor is still processing line 0. In which case we likely have no option here other than to turn …

  3. serious typing lag when running NCrunch in VS2019

    [quote=MatthewSteeples;13789] Remco: Is it possible to disable the affinity options (is it as simple as putting all of my cores in both options)? As you've configured the processes properly with priority etc, I'd rather rely on the OS to do the scheduling[/quote] Yes, absolutely. Using the conf…

  4. NCrunch support for tests in .razor files

    Thanks for sending through the code sample. I've managed to identify the source of the problem here. The build system is reporting the .razer file as being a Content file rather than a Compile one. This breaks conventions inside the build system as it means the file doesn't pass through a numbe…

  5. ASP.NET Core Build

    [quote=fsdschmidt;13784]The problem has gone. I've just updated to the current server and client version of NCrunch and now everything is fine! Thanks for your support. [/quote] Great to hear! Thanks for confirming.

  6. ASP.NET Core Build

    Can you try adding the following line of code into the primary PropertyGroup in your project file? <TypeScriptCompileBlocked Condition="'$(NCrunch)' == '1'">true</TypeScriptCompileBlocked>

  7. ASP.NET Core Build

    Hi Michael, Thanks for sharing this issue. Deactivating TypeScript compilation under NCrunch is often worthwhile as it can improve performance and suppress issues like this. This in particular looks like a dependency issue on the grid node. Can you confirm if you're able to build this partic…

  8. Custom nuget.config causing Nuget restore warning

    [quote=VNicholson;13777] Are there plans to make NCrunch respect the nuget.config overrides so it installs dependencies to the specified globalPackagesFolder? Presumably that would also get rid of the spurious warning?[/quote] Yes, and yes :)

  9. Custom nuget.config causing Nuget restore warning

    Hi, thanks for sharing this issue. In your case, this error is probably more of a warning. It's being caused by an internal discrepancy between your redirected package path and the default global packages directory on your system. Essentially, NCrunch has tried to install several packages it su…

  10. NCrunch support for tests in .razor files

    In theory, NCrunch should support any source file that has debugging information present in the output PDB file. In practice, we've never tested this with razor files. I honestly didn't know it was possible to build such a structure. Could I convince you to provide us with a small sample proj…

  11. "Deterministic builds only support portable PDBs" in F# project

    Looking at how this is working, I expect that everyone using FSharp with NCrunch will likely need to adjust their .fsproj file for it to work correctly after updating their VS. Interestingly, when I tried the <Deterministic> flag inside the project file, it didn't work for me. Hence the suggesti…

  12. Receiving test errors after updating to 3.29

    [quote=DanAtkinson;13761][quote=Remco;13759] I'm not sure what the next steps are for this. This appears to be a solution (thank you!) but I'm not sure if it's intended to be a permanent one, or what the impact of it will be. [/quote] Excellent. I can now guess with reasonable accuracy what is…

  13. Nullable Type is not supported

    This could be a referencing error of some kind in disguise. Are you able to reproduce this in a sample project you can share with me? You can submit small code samples through the [url=https://www.ncrunch.net/support/contact]NCrunch contact form[/url].

  14. Receiving test errors after updating to 3.29

    Could you try deactivating the following two config settings at solution level (or for all projects in the solution) and confirm for me if this makes any difference in the error? [url=https://www.ncrunch.net/documentation/reference_project-configuration_instrument-output-assembly]Instrument outpu…

  15. Receiving test errors after updating to 3.29

    Thanks for these extra details. Could you try running one of the tests that consistently produces this problem with the VS debugger attached? (i.e. use the debug option in NCrunch). Make sure you have your exception settings to break on ALL exceptions. At the moment I'm strongly suspecting th…

  16. NCrunch could deliver a little more detail with exceptions on analysis

    Thanks for sharing this. It does look to be an internal exception kicked up by Xunit. The stack trace above doesn't seem to be complete. I'm not sure if this is due to the availability of debug information, but there is at least one step missing on the call stack here. When we discover tests, …

  17. Receiving test errors after updating to 3.29

    Thanks for sharing this issue. The error message describes a situation where the test execution process suddenly disappears without warning. This makes it hard to establish the source of the problem as the process likely took any error information with it. I hope you'll excuse the questions bel…

  18. serious typing lag when running NCrunch in VS2019

    Thanks for taking the time to go into so much detail on this issue. With the information you've provided, my best empirical analysis is that the issue is caused by overall resource load on your machine interfering with the responsiveness of the IDE. NCrunch makes use of a O/S level feature calle…

  19. Nullable Type is not supported

    Hi, thanks for posting. This message is a bit misleading in that although NCrunch is reporting it, the message is actually coming from the compiler and we have very little to do with it. Are you experiencing a difference in the compiler results between NCrunch and VS?

  20. "Deterministic builds only support portable PDBs" in F# project

    Can you try adding the following into the primary property group in your .fsproj file? <OtherFlags>--deterministic-</OtherFlags>