Forum member

tkarlsen

19 posts

Posts by tkarlsen

  1. Support for C# source generators?

    It doesn't seem like there is any interest in fixing this, making NCrunch unfortunately unusable for us. Maybe we will renew our licenses if it ever gets implemented, but this lack of responsiveness is worrying.

  2. Support for C# source generators?

    [quote=Remco;15188]Ok, this doesn't look like it will be easy to fix then. We'll need to look into this more before we can commit to whether a fix is feasible. It would be great if you could add a feature request for this on [url=https://ncrunch.uservoice.com]uservoice[/url] so we can track its …

  3. Support for C# source generators?

    [quote=Remco;15111]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 c…

  4. Could not load file or assembly after 4.2.0.7 update

    [quote=michaelkroes;14279]Thanks for all the help so far! We've squashed some bugs but this last one is pretty persistent. I've been looking at opensource projects that also use Microsoft.Extensions.Identity.Stores, I found one with several thousands tests. This project works fine in NCrunch. Th…

  5. Could not load file or assembly after 4.2.0.7 update

    [quote=michaelkroes;14277]Here's the new version: [/quote] Well some good news! The non-integration test project now works fine. That's the one that is referencing a standard netcoreapp3.1 library and was throwing the System.Drawing exceptions. However, the integration test library that targe…

  6. Could not load file or assembly after 4.2.0.7 update

    [quote=michaelkroes;14273]Thanks, that might be the core issue. Couple more questions: Is the framework reference directly in the project file? Or is it implicitly added by the package? Do they perhaps also reference an aspnetcore project? [/quote] The framework reference is directly in the…

  7. Could not load file or assembly after 4.2.0.7 update

    [quote=michaelkroes;14271]Thanks for the clarification. Can you confirm the project type(s) you are using? Ie. Is this an aspnetcore or wpf project? Or both?[/quote] The test projects themselves are netcoreapp3.1, but they also include "<FrameworkReference Include="Microsoft.WindowsDesktop.App" /…

  8. Could not load file or assembly after 4.2.0.7 update

    [quote=michaelkroes;14269]We have another build out that fixes a similar error message but has a different cause. This is for netcore WPF projects. Could you please give that a build a try? If that doesn't work we are going to need that sample project to progress further. [/quote] That buil…

  9. Could not load file or assembly after 4.2.0.7 update

    [quote=michaelkroes;14258]Hi all, Sorry for the delay. We've got a build out that fixes the problem for the test solution. Would you mind trying it out? [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunch_Console_4.3.0.1.msi]NCrunch_Console_4.3.0.1.msi[/url] [url=https://s3.amazonaws.…

  10. Could not load file or assembly after 4.2.0.7 update

    [quote=Remco;14241]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 s…

  11. Could not load file or assembly after 4.2.0.7 update

    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.

  12. Using network shares from tests run from grid node

    That worked great, thanks! I guess I was so caught up in what I was doing, I completely forgot to check the service credentials. Everything is running perfectly now, appreciate it.

  13. Using network shares from tests run from grid node

    Some of my tests use files located on a network share that is protected by a username/password. When I run the tests locally, everything works fine. I have the network credentials cached on my dev machine. I also have the credentials cached on my NCrunch grid node machine, but I'm guessing NCrunch r…

  14. xUnit category not used

    Yes it did show the correct category, and that lead me down the path to dig a little deeper. I tried running the tests 3 times on two different machines, tried resynchronize/rebuild/rerun without any luck. One thing I hadn't tried was deleting the NCrunch cache directory, so I shut down VS and delet…

  15. xUnit category not used

    I'm using xUnit 2.2 and I have some test classes marked as [Trait("Category", "UsesNetworkFiles")]. This worked fine in NUnit (with [Category("UsesNetworkFiles"]) to skip expensive tests when I'm running tests at home, but after switching to xUnit, NCrunch doesn't seem to detect the test category th…

  16. "Could not load file or assembly" with BindingRedirect

    [quote=Remco;10324][quote=tkarlsen;10322] I'll see if I can try to create a simple solution demonstrating the problem tomorrow.[/quote] Thanks for doing this. Having looked as much as I can at this issue, I don't think I'll be able to progress with it further without a code sample. [/quote] …

  17. "Could not load file or assembly" with BindingRedirect

    [quote=Remco;10321][quote=tkarlsen;10320] You can create an ASP.NET Core project but still target the full .NET framework, and the reason I'm doing that is because I have some dependencies on third party libraries that target the full framework. Here's an explanation of how (and why) to do it: …

  18. "Could not load file or assembly" with BindingRedirect

    [quote=Remco;10319]Hi, thanks for sharing this problem. I'm a little confused by this, as I was always under the impression that .NET Core and .NET 4.6.2 were mutually exclusive (hence why .NET Standard exists). How is it that you've managed to build this structure? Is there a reason you're not…

  19. "Could not load file or assembly" with BindingRedirect

    I'm running NCrunch 3.6.0.2 on VS 2017, and I have an ASP.NET Core project targeting .NET 4.6.2 and a library project that also targets .NET 4.6.2 but also has dependencies on some .NET Core stuff because I moved some of my data classes into it. I have an NUnit test library project that runs test…