Seddryck / NBi

NBi is a testing framework (add-on to NUnit) for Business Intelligence and Data Access. The main goal of this framework is to let users create tests with a declarative approach based on an Xml syntax. By the means of NBi, you don't need to develop C# or Java code to specify your tests! Either, you don't need Visual Studio or Eclipse to compile your test suite. Just create an Xml file and let the framework interpret it and play your tests. The framework is designed as an add-on of NUnit but with the possibility to port it easily to other testing frameworks.
http://www.nbi.io
Apache License 2.0
106 stars 37 forks source link

Nunit FileLoadException when using Bootstrapper in Visual Studio 2019 #591

Closed FLandgraf closed 4 years ago

FLandgraf commented 4 years ago

When setting up a new Project (Class Lib .Net Framework) and integration the NBI.VisualStudio Bootstrapper in Visual Studio 2019 everything seems to be fine at first glance.

When hitting F5 Nunit will show up but present the following error: _System.IO.FileLoadException: Could not File or Assembly "nunit.framework, Version=2.7.1.0, Culture=neutral,PublicKeyToken=2638cd05610744eb" or one of its dependencies.

These Token points to

<Reference Include="nunit.core, Version=2.7.1.0, Culture=neutral, PublicKeyToken=2638cd05610744eb, processorArchitecture=MSIL">
      <HintPath>..\packages\NUnitV2.Core.2.7.1\lib\nunit.core.dll</HintPath>
</Reference>
<Reference Include="nunit.core.interfaces, Version=2.7.1.0, Culture=neutral, PublicKeyToken=2638cd05610744eb, processorArchitecture=MSIL">
      <HintPath>..\packages\NUnitV2.Core.2.7.1\lib\nunit.core.interfaces.dll</HintPath>
</Reference>

Does anybody else experience the same problem?

volkerheck commented 4 years ago

Yes, I am running into the same issue. Volker

Seddryck commented 4 years ago

I'll take a look to this.

Seddryck commented 4 years ago

As a work-around, run Update-Package NUnit -version 2.7.1.0 to be sure that the correct version is registered in your project. I'll check in the package itself where the reference is wrong.

volkerheck commented 4 years ago

Thank you – that makes sense. I will try and let you know.

Seddryck commented 4 years ago

I updated to NBi.VisualStudio 1.22.0 and 1.22.1 to fix this kind of issues, feel free to use them.

volkerheck commented 4 years ago

Thank you!

Mit freundlichen Grüßen Volker Heck Senior Consultant | Microsoft Certified Trainerhttps://www.youracclaim.com/badges/3b239071-c662-48c3-a210-6de1f6e11ab5/public_url

Mob: +49 175 3317482 Mail: v.heck@kigroup.demailto:v.heck@kigroup.de Web: www.ki-performance.comhttp://www.ki-performance.com/


KI performance GmbH – Mittelstraße 12-14 – D-50672 Köln Geschäftsführer: Steffen Braun, Sascha Utzen – Sitz/Registergericht: Köln – HRB 86595 w3w address: /// anfrage.ereignen.rahmenhttps://map.what3words.com/anfrage.ereignen.rahmen /// cycle.trout.hoveredhttps://map.what3words.com/cycle.trout.hovered

Von: Cédric L. Charlier notifications@github.com Gesendet: Sonntag, 7. Juni 2020 14:40 An: Seddryck/NBi NBi@noreply.github.com Cc: Volker Heck v.heck@kigroup.de; Comment comment@noreply.github.com Betreff: Re: [Seddryck/NBi] Nunit FileLoadException when using Bootstrapper in Visual Studio 2019 (#591)

I updated to NBi.VisualStudio 1.22.0 and 1.22.1 to fix this kind of issues, feel free to use them.

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/Seddryck/NBi/issues/591#issuecomment-640212887, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AEX4OIVSC36MDL5Y4AKC5GLRVODCDANCNFSM4L2T5IFA.