Closed le-yams closed 2 years ago
Same issue on ubuntu
Same here - I'm stuck using SpecFlow.Actions.Playwright version 0.1.178 and can't upgrade to 0.1.258 because of the wrong dependency.
Indeed, this package is broken! @SabotageAndi
fixed with #74 - upload to NuGet.org is done within the hour
@SabotageAndi Thanks for the update :)
But, after updating to SpecFlow.Actions.Playwright 0.1.281, I now have an error during the project build (it disappears when I rollback to SpecFlow.Actions.Playwright 0.1.178)
SpecFlow.Tools.MsBuild.Generation.targets(93, 5): [MSB4018] Échec inattendu de la tâche "GenerateFeatureFileCodeBehindTask".
System.IO.FileNotFoundException: Could not load file or assembly 'SpecFlow.Actions.Configuration.SpecFlowPlugin, Version=0.1.0.0, Culture=neutral, PublicKeyToken=null'. Le fichier spécifié est introuvable.
File name: 'SpecFlow.Actions.Configuration.SpecFlowPlugin, Version=0.1.0.0, Culture=neutral, PublicKeyToken=null'
at SpecFlow.Actions.Configuration.Generation.TargetsGeneratorPlugin.GeneratorPluginEvents_CustomizeDependencies(Object sender, CustomizeDependenciesEventArgs e)
at TechTalk.SpecFlow.Generator.Plugins.GeneratorPluginEvents.RaiseCustomizeDependencies(ObjectContainer container, SpecFlowProjectConfiguration specFlowProjectConfiguration)
at TechTalk.SpecFlow.Generator.GeneratorContainerBuilder.CreateContainer(SpecFlowConfigurationHolder configurationHolder, ProjectSettings projectSettings, IEnumerable`1 generatorPluginInfos, IObjectContainer parentObjectContainer)
at SpecFlow.Tools.MsBuild.Generation.WrappedGeneratorContainerBuilder.BuildGeneratorContainer(SpecFlowConfigurationHolder specFlowConfigurationHolder, ProjectSettings projectSettings, IReadOnlyCollection`1 generatorPluginInfos, IObjectContainer rootObjectContainer)
at SpecFlow.Tools.MsBuild.Generation.GenerateFeatureFileCodeBehindTaskExecutor.Execute()
at SpecFlow.Tools.MsBuild.Generation.GenerateFeatureFileCodeBehindTask.Execute()
at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
at Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask(ITaskExecutionHost taskExecutionHost, TaskLoggingContext taskLoggingContext, TaskHost taskHost, ItemBucket bucket, TaskExecutionMode howToExecuteTask)
Could it be related to the SpecFlow.Actions.Configuration 0.1.281 transitive dependency? (I'm seeing a SpecFlow.Actions.Configuration.SpecFlowPlugin.dll
in its nuget package lib subfolders)
Should I open a new issue?
Grml, stupid MSBuild Assembly loading. I will check it tomorrow
I can confirm that I've successfully updated SpecFlow.Actions.Playwright to 0.1.258 and everything seems to work as it should. Thanks.
@le-yams I can't reproduce your issue. I added a new example project for Playwright (https://github.com/SpecFlowOSS/SpecFlow-Examples/tree/master/Actions/PlaywrightExample) and this is working.
Please open a new issue. Looks like it is something different,
Hello,
SpecFlow.Actions.Playwright 0.1.258 was released a few hours ago but its dependencies seems to be wrong regarding the specflow configuration plugin.
It seems that it points to the same version:
but this one does not exist. SpecFlow.Actions.Configuration.SpecFlowPlugin latest is 0.1.250 (and is also marked as deprecated).
Here is the error I get when trying to install SpecFlow.Actions.Playwright 0.1.258:
Thank you in advance :)
Regards, Yann