Forum member

Remco NCrunch Developer

7586 posts

Posts by Remco

  1. Unit Test fails to get GUID from ThisAssembly.Git.Sha

    [quote=Hunter-d-_-b;14246]With these settings it doesn't seem to run any tests at all. It shows green ticks next to 20 projects and question marks next to test projects.[/quote] With the instrumentation off, you'll need to queue up the tests manually as the impact detection will be disabled. Thi…

  2. .Net Core 3.1 with WPF classes fail

    [quote=jotto;14242]Thanks for following up guys. Unfortunately I'm getting the same error with "Copy referenced assemblies to workspace".[/quote] Thanks for confirming this. Right now I believe it to be caused by this problem: [url=https://forum.ncrunch.net/yaf_postst2892_Could-not-load-file-or-…

  3. Could not load file or assembly after 4.2.0.7 update

    An update on this problem... It's pretty big. This issue is downstream from some major package reference restructuring performed by MS with the release of .NET Core 3.0 and VS 16.4. We don't yet know how we're going to solve this, but it's safe to say that we won't have a solution within the …

  4. Unit Test fails to get GUID from ThisAssembly.Git.Sha

    Thanks for sharing this. I'm not really sure what is happening here without a bit more context (i.e. full code sample), but is it possible this code is trying to retrieve extra metadata from an assembly under .NET Core? Can you confirm whether this behaviour is the same after trying the followin…

  5. .Net Core 3.1 with WPF classes fail

    It's possible that this is a v4.2 regression - [url=https://forum.ncrunch.net/yaf_postst2892_Could-not-load-file-or-assembly-after-4-2-0-7-update.aspx]https://forum.ncrunch.net/yaf_postst2892_Could-not-load-file-or-assembly-after-4-2-0-7-update.aspx[/url]. We're investigating this. I recommend t…

  6. Could not load file or assembly after 4.2.0.7 update

    [quote=tkarlsen;14231]We are having similar issues with the latest release. In our case we're on .NET Core 3.1, and we are getting System.IO.FileNotFoundException. Nothing has changed in our project since installing the new version, and it worked fine in the previous version.[/quote] Thanks for c…

  7. Xunit issue with ICollectionFixture<T>

    I've had a go at trying to reproduce this problem using the same structure and configuration as you've described above. Unfortunately, the tests seem to work correctly every time for me. Are you able to reproduce this with a sample solution that you can share with me? You can submit code in ZIP…

  8. Could not load file or assembly after 4.2.0.7 update

    Hi, thanks for sharing this with the use case to reproduce it! We're taking a look at this and will get back to you soon.

  9. Xunit issue with ICollectionFixture<T>

    Hi, thanks for posting! Can you share any more specific details of the failure? Does any logging code on the CollectionFixture indicate things being called out of order? This all happens under the hood for us in Xunit, we simply tell it which tests to execute.

  10. NCrunch and FakeItEasy.Out And RefParameters Configuration Extensions

    Hi, thanks for sharing this issue. My best guess here is that the loading of the type from this assembly is sequence specific. Probably if the referenced assembly has been previously loaded into the process, it works fine .. but if the test tries to run and load the assembly itself, it fails. …

  11. Missing exception info when crunching in optimized mode

    Hi, thanks for sharing this issue. This problem is caused by the inability of the .NET 4.7.1 runtime to interpret portable PDB files. You'll find that if you compile this test project to a console application and try to run it, you'll have the same result. You're not seeing this in the VS run…

  12. Issue when building project with protobuf files

    Hi Kenneth, Can you confirm whether these proto files are included in the projects themselves? If not, does adding them make any difference? Something you can also use if you don't want to add them is to try including them using the 'Additional files to include' project-level configuration se…

  13. NCrunch seems to slow down VS 2019 (16.4)

    [quote] Thx for your time. I was typing in a C# File with about 100 or 200 lines of code, it seems, that ReSharpers ReSpeller Feature is the root cause, deactivating this feature helps, but there are still 3,8secs that is taken by NCrunch, is there anything I can do to mitigate that issue. Unfort…

  14. NCrunch seems to slow down VS 2019 (16.4)

    Hi, thanks for sharing this issue. The snapshots you've provided suggest that the issue is appearing in the code we use to show coverage markers in the editor window. We haven't touched this code for a few years now, though I expect there's a possibility you might have found an edge case where i…

  15. NCrunch 4 - Instrumentation Mode - Optimized - "The name [x] does not exist in the current context"

    Thanks for confirming! We were corrupting some of the metadata inside the PDB. It was affecting all projects building a non-portable PDB and only affecting yield/async methods as far as I can tell.

  16. NCrunch 4 - Instrumentation Mode - Optimized - "The name [x] does not exist in the current context"

    Thanks again for your help in identifying this issue Matt. I've implemented a targeted fix for this in the build below. It would be great if you could confirm whether this solves the issue for you: [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunch_Console_4.2.0.5.msi]NCrunch_Console…

  17. NCrunch 4 - Optimized mode - Debugging tests is mission impossible?

    For anyone having issues resolving variables in async methods, would you be interested in trying the build below? It contains a targeted fix for this problem. It would be great if you could confirm whether this solves the issue for you. [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunc…

  18. Stutter in Optimised Mode

    Hi, thanks for sharing this issue. Can you confirm the setting you have for the 'Max number of processing threads' in your NCrunch configuration? Can you also confirm the value of your 'Engine hosting strategy' inside NCrunch configuration? If you try to do this with Task Manager enabled, d…

  19. NCrunch 4 - Optimized mode - Debugging tests is mission impossible?

    [quote=Advisto;14195] Any news on this topic Remco?[/quote] Sorry, no fix is available yet for the async local variables issue. We're working on it. This is in quite a complex area of the product, and right now we're also very busy with .NET Core 3.0 issues, which are a higher priority as th…

  20. xUnit with custom Fact/Theory attribute

    Thanks for the source link! Looking at this code, I can confirm that we cannot support this use case. In this particular instance, the test case itself derives from IXunitTestCase and implements its own custom logic. For NCrunch to be able to work with Xunit, we need to make several assumptio…