Forum member

Remco NCrunch Developer

7611 posts

Posts by Remco

  1. The target "_SplitProjectReferencesByFileExistence" does not exist in the project.

    Thanks for sending through the bug report. I can't see a clear reason for this error. The project looks fine. I think the Windows update may have broken something in the underlying toolset. Can you try the following? 1. Find your version of MSBuild.exe that ships with VS (usually something …

  2. IXunitSerializable and serializable

    Hi, thanks for sharing this issue. This problem is related to the overall architecture of the continuous runner. For NCrunch to do things the way it does, it needs to have two different domains - one to discover the tests, and one to run the tests. This is different from serial test runners tha…

  3. VS 2022 Preview + FSharp = Boom

    Congrats on finding our first VS2022 explosion!! :) Can you confirm that the project builds correctly under VS2022? (Sorry, I know this is probably implied, but the nature of this error looks very toolset-y). Edit: Something else to check would be whether changing your [url=https://www.ncrunch…

  4. The target "_SplitProjectReferencesByFileExistence" does not exist in the project.

    Hi, thanks for sharing this issue. This error is a catch-all thrown up by MSBuild when it can't resolve the base system targets from the project file. Can you confirm if this project file builds normally using MSBuild via the command line? ... And could you submit an NCrunch bug report afte…

  5. Project failing to build - stuck in 'First time build' status

    Is there any chance you can build a code sample that can reproduce the issue which you can share with me? Something is unusual about the structure of the DLL being built here. I wonder if that AssemblyAttribute might have something to do with it.

  6. Project failing to build - stuck in 'First time build' status

    [quote=MihaMarkic;15523]I'm seeing a similar issue, but the exception seems different (peeked into report.zip). Also, only a single (not test) project fails to build. Reinstalling doesn't help. Bug report submitted.[/quote] Thanks for sending through the bug report. It looks like the NCrunch ins…

  7. Visual studio preview 16.9.4 breakage

    [quote=NeilMacMullen;15520]Odd - I didn't get email notifications on this thread (but do agree that the issue seems to have gone away by itself). I _did_ get a "New post notification" today (11th Jul 2021 around 05:11 BST) - maybe someone kicked the forum server ? ;-) [/quote] This was caused by…

  8. Support for C# source generators?

    Thanks again for your help. Would you be interested in trying the build below to see if this works for you? [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunch_Console_4.9.0.4.msi]NCrunch_Console_4.9.0.4.msi[/url] [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunch_Console_4.9.0…

  9. Support for C# source generators?

    [quote=jschreuder;15515][quote=jschreuder;15514] Alright, I think I've narrowed it down. For this solution I'm using a custom build property TargetFrameworks = net48 to exclude any non-net48 projects and also cross-targeted projects (netstandard / net48) from NCrunch. This was working ok in early …

  10. Support for C# source generators?

    Does setting your 'Max number of processing threads' setting to significantly lower value make any difference?

  11. Support for C# source generators?

    [quote=jschreuder;15509] Thanks Remco. Unrelated to source generators as I'm not using them, but on this build the engine process is crashing almost immediately after loading all projects (in both VS2019 and VS2021). I've submitted a bug report via the menu.[/quote] Thanks for sharing these repo…

  12. Support for C# source generators?

    Thanks for confirming! I don't think the compiler packages warning is related to this work. If you aren't getting any errors, it's nothing to worry about. There are use cases related to the compiler packages that can cause NCrunch to bomb out with weird errors. If you aren't seeing these, then y…

  13. Support for C# source generators?

    Would you be interested in trying the build below? We've implemented handling for the source generation. Note that it presently isn't possible for NCrunch to instrument the source generating project or track code coverage in it. [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunch_Consol…

  14. Project failing to build - stuck in 'First time build' status

    Thanks Charlotte, I've received the bug report and confirmed the exception below: System.Exception: System.BadImageFormatException: Could not load file or assembly 'nCrunch.TestRuntime, Version=4.8.0.3, Culture=neutral, PublicKeyToken=01d101bf6f3e0aea' or one of its dependencies. The module was e…

  15. Project failing to build - stuck in 'First time build' status

    Hi Charlotte, Thanks for sharing this problem. Most likely there is a problem occurring under the hood that isn't being reported properly. Would you mind submitting a bug report through the NCrunch menu after you've had this happen to you? The log in the report should help me to analyse the …

  16. Pausing ncrunch from External Build

    Hi, thanks for posting. NCrunch monitors for VS builds via an in-process event. We don't have anything in NCrunch that can be used to create the kind of behaviour you are after ... but there may still be a way to get what you want, depending on what your script is doing. Under normal circumst…

  17. Support for C# source generators?

    [quote=ndeslandes;15496] Are you still looking for a working solution with the problem? I can probably cook one up if that helps. Source generators have just been introduced in our solution, and I now find myself in the same situation as tkarlsen, with NCrunch now being simply unusable :-(.[/quote…

  18. Unable to cast transparent proxy to type 'IInnerWeaver'.

    [quote=bosmanr;15493]Well I wonder if I need to add some extra configuration. I found some older posts about copying referenced assemblies and copying the Fody packages. Or should it work out of the box with default settings? Weird thing is the same solution works on my desktop (requiring manual reb…

  19. Unable to cast transparent proxy to type 'IInnerWeaver'.

    Hi Remco, Thanks for sharing this problem. I'm not sure where to begin on this, so I reached out to Simon Cropp (the developer of Fody) for help. He's wondering if you are able to create a sample that can reproduce the problem? [dead link].

  20. NCrunch hang with long running async test

    [quote=jamezor;15488]Hi Remco, just wondering if there was any further update on this issue? Thanks.[/quote] Hi, I think we did end up fixing this earlier this year. Most likely the fix is included in the latest release on the download page, if not, we're hoping to push a new build later this mo…