Forum member

Remco NCrunch Developer

7611 posts

Posts by Remco

  1. System.InvalidProgramException: Common Language Runtime detected an invalid program.

    Hi, thanks for sharing this issue. We have a fix pending for this that we're hoping to push late this week. You can use the dev build below if you need the fix earlier: [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunch_Console_4.6.0.2.msi]NCrunch_Console_4.6.0.2.msi[/url] [url=http…

  2. Support for C# source generators?

    I think that most likely the problem here is going to be the cross-project interaction. This would break [url=https://www.ncrunch.net/documentation/considerations-and-constraints_project-atomicity]NCrunch's project atomicity constraints[/url]. Do you have any option for your code generation to b…

  3. Tests Not DIsplayed

    Thanks for confirming you've solved this, and for your explanation of the problem. From a UX perspective, it's useful to know this. I'm glad you're up and running again.

  4. InvalidOperationException with init properties

    Hi, we have a fix pending for this in the build here - [url=https://forum.ncrunch.net/yaf_postst3047_Problem-with-dotnet-5.aspx]https://forum.ncrunch.net/yaf_postst3047_Problem-with-dotnet-5.aspx[/url]

  5. Support for C# source generators?

    Does it make any difference if you turn on the 'Copy referenced assemblies to workspace' setting? Your success with generator will depend entirely on: - When the generation is performed - What is being generated - What dependencies the generation has You may need to delve into the generat…

  6. Distributed processing and user secrets

    Hi, thanks for posting. If I understand the way that secrets are intended to work, they are essentially parameters that are supposed to be specific to the machine on which the code is being executed. This is somewhat of an issue for distributed processing. Clearly the intent of distributed pr…

  7. Tests Not DIsplayed

    Hi, thanks for sharing this problem. Could you submit a bug report after the test disappears? The log file may yield some useful information. When the test disappears from the Tests Window, do its coverage markers also disappear from the source code?

  8. Support for C# source generators?

    Hi, It really depends on the generator. NCrunch doesn't have any mechanism to specifically exclude generators, but there is an infinite number of ways in which the generators can work. How is the test being generated? Is it through a build task?

  9. Metrics Not Being Computed

    Thanks for the extra details. It looks like this is a missing code coverage issue. Can you check if any of the [url=https://www.ncrunch.net/documentation/troubleshooting_missing-code-coverage]suggestions on this documentation page[/url] work for you?

  10. NCrunch console never exiting

    Hi Bart, NCrunch enforces timeouts in two different ways: 1. ThreadAbortException: NCrunch hits a hanging test thread with ThreadAbortException, causing it to fail its execution and report a stack trace. This is not performed under .NET Core (which does not support ThreadAbortException). 2.…

  11. Ignored tests not appearing in RawResults.xml written by console runner

    Hi, thanks for posting. I've taken a look at the code involved here, and I can't see a way to do this with what we're exporting at the moment. It's supposed to be in RawResults.xml, but it looks to have been omitted unintentionally. I've logged a defect to get this fixed in the next build.

  12. Test method must be public

    Would you be interested in trying the build below to see if this solves the issue for you? [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunch_Console_4.6.0.2.msi]NCrunch_Console_4.6.0.2.msi[/url] [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunch_Console_4.6.0.2.zip]NCrunch_Con…

  13. Project using PostSharp builds in Visual Studio but not in NCrunch.

    Would you be interested in trying the build below to see if this solves the issue for you? [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunch_Console_4.6.0.2.msi]NCrunch_Console_4.6.0.2.msi[/url] [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunch_Console_4.6.0.2.zip]NCrunch_Con…

  14. NCrunch console crash: NullReferenceException at ModelCodeMember.get_FilePath

    Would you be interested in trying the build below to see if this solves the issue for you? [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunch_Console_4.6.0.2.msi]NCrunch_Console_4.6.0.2.msi[/url] [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunch_Console_4.6.0.2.zip]NCrunch_Con…

  15. ncrunch chooses incorrect target with multi-targetted project reference

    Would you be interested in trying the build below to see if this solves the issue? [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunch_Console_4.6.0.2.msi]NCrunch_Console_4.6.0.2.msi[/url] [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunch_Console_4.6.0.2.zip]NCrunch_Console_4.6…

  16. VS 2019 Enterprise 16.8 RTM - MS Fakes - Not Working

    An update on this one. We haven't been able to find an obvious cause for this problem. Since most of the operation of MSFakes is a black box to us, it'll probably take some time before we know what's going on. We'll update you when we have more information.

  17. NCrunch console never exiting

    Hi, thanks for sharing this problem. [quote][10:24:39.5298-Core-117] Checking for tasks to launch (1 out of 5 concurrent tasks are active)[/quote] This particular message indicates that there is a task hanging or running well over time. It might be possible to identify the specific task by in…

  18. VS 2019 Enterprise 16.8 RTM - MS Fakes - Not Working

    Great, thanks! We'll take a look and will get back to you soon.

  19. VS 2019 Enterprise 16.8 RTM - MS Fakes - Not Working

    Sorry just trying to confirm the status here ... Does the problem still exist after the adjustments you made? If so, is it possible for you to reproduce it with a sample solution?

  20. VS 2019 Enterprise 16.8 RTM - MS Fakes - Not Working

    [quote=UppSol;15067] If cleaned the bin + obj folder and rebuilded the project, so the fakes project(generated by VS/compiler) and the corresponding (generated) files have been rebuilded correctly. Should this be enough or should I do something else as well? [/quote] Fakes generates its own as…