Forum member

jpgrassi

4 posts

Posts by jpgrassi

  1. Migrating to .NET 5 - An item with the same key has already been added

    Hello, Thanks for looking into it, really appreciate it. I tried with the build you posted and I can confirm that it works now. Edit: Sorry for the nagging, but you have an idea if this fix is making to the next release? And if so, do you have maybe an estimate? Or if this build you sent i…

  2. Migrating to .NET 5 - An item with the same key has already been added

    More investigations: There's one class library that multi-targets <TargetFrameworks>netcoreapp3.1;net5.0</TargetFrameworks> and it's intentional since we don't have all projects yet to net5.0. If I make it target only netcoreapp3.1 then NCrunch is happy again. But the part that I don't understan…

  3. Migrating to .NET 5 - An item with the same key has already been added

    Hi! We have the project and test project with the same name, only at the end we have ".Tests". So for ex: My.Project -> My.Project.Tests. It has always worked without any issues. The problem only surfaces when I change the TargetFramework to net5.0. If I return to netcoreapp3.0 it works witho…

  4. Migrating to .NET 5 - An item with the same key has already been added

    Hello, I have an ASP.NET Core project which is targeting netcoreapp3.1. I started upgrading it to net5.0 both the projects themselves and the test project and I started having this error: An error occurred while analysing this project after it was built: NCrunch encountered an unexpected error…