Closed vtortola closed 10 years ago
Did you check the file path which was added to the configuration file?
Von: vtortola notifications@github.com Gesendet: Mittwoch, 21. Mai 2014 11:38 An: baseclass/Contrib.SpecFlow.Selenium.NUnit Betreff: [Contrib.SpecFlow.Selenium.NUnit] The plugin cannot be loaded (#3)
Hi,
As soon as I installed the library through NuGet I cannot run tests anymore because this error:
AngularJS.SpecFlow.Registration.RegistrationPageFeatureExampleFeature (TestFixtureSetUp): SetUp : TechTalk.SpecFlow.SpecFlowException : Unable to load plugin: Baseclass.Contrib.SpecFlow.Selenium.NUnit. Please check http://go.specflow.org/doc-plugins for details. ----> System.IO.FileNotFoundException : Could not load file or assembly 'Baseclass.Contrib.SpecFlow.Selenium.NUnit.SpecFlowPlugin' or one of its dependencies. The system cannot find the file specified.
I installed the plugin through NuGet. I am using:
They are basically the latest versions available in NuGet. I am using the default config. I can disable the plugin and then it works as before.
What maybe the problem?
Thanks.
Reply to this email directly or view it on GitHubhttps://github.com/baseclass/Contrib.SpecFlow.Selenium.NUnit/issues/3.
Yes. The path exists.
I can see a warning in Visual Studio:
Warning 36 The primary reference "Baseclass.Contrib.SpecFlow.Selenium.NUnit.SpecFlowPlugin" could not be resolved because it was built against the ".NETFramework,Version=v4.5" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.0". AngularJS.SpecFlow
May it be related?
Your project is built with 4.0? There is currently no 4.0 build, can't you switch?
From: vtortolamailto:notifications@github.com Sent: ý21.ý05.ý2014 17:29 To: baseclass/Contrib.SpecFlow.Selenium.NUnitmailto:Contrib.SpecFlow.Selenium.NUnit@noreply.github.com Cc: Daniel Romeromailto:daniel.romero@baseclass.ch Subject: Re: [Contrib.SpecFlow.Selenium.NUnit] The plugin cannot be loaded (#3)
Yes. The path exists.
I can see a warning in Visual Studio:
Warning 36 The primary reference "Baseclass.Contrib.SpecFlow.Selenium.NUnit.SpecFlowPlugin" could not be resolved because it was built against the ".NETFramework,Version=v4.5" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.0". AngularJS.SpecFlow
May it be related?
— Reply to this email directly or view it on GitHubhttps://github.com/baseclass/Contrib.SpecFlow.Selenium.NUnit/issues/3#issuecomment-43770820.
Argh.. no :( Visual Studio 2010 does not support 4.5 . It is odd because NuGet didn't prevent me from installing the package in 4.0. There are plans to switch to VS2012, but not at the moment.
Is there anything preventing me from build the project from the source myself in .NET 4.0 ?
Cheers.
You can add an additional project which builds the linked source files in 4.0 contribute that to github and i'll take care of creating a new nuget packet version
From: vtortolamailto:notifications@github.com Sent: ý21.ý05.ý2014 19:01 To: baseclass/Contrib.SpecFlow.Selenium.NUnitmailto:Contrib.SpecFlow.Selenium.NUnit@noreply.github.com Cc: Daniel Romeromailto:daniel.romero@baseclass.ch Subject: Re: [Contrib.SpecFlow.Selenium.NUnit] The plugin cannot be loaded (#3)
Argh.. no :( Visual Studio 2010 does not support 4.5 . It is odd because NuGet didn't prevent me from installing the package in 4.0. There are plans to switch to VS2012, but not at the moment.
Is there anything preventing me from build the project from the source myself in .NET 4.0 ?
Cheers.
— Reply to this email directly or view it on GitHubhttps://github.com/baseclass/Contrib.SpecFlow.Selenium.NUnit/issues/3#issuecomment-43785238.
Hi, I pulled three files that build the solution in .NET 4.0.
I have now another issue that I am not completely sure it is related with this, so I will detail it in another post.
Cheers.
Hi,
As soon as I installed the library through NuGet I cannot run tests anymore because this error:
I installed the plugin through NuGet. I am using:
They are basically the latest versions available in NuGet. I am using the default config. I can disable the plugin and then it works as before.
What maybe the problem?
The full exception is:
Thanks.