specflow已禁用,SpecflowPackagePackage未正确加载 [英] specflow disabled, SpecflowPackagePackage didnt load correctly

查看:74
本文介绍了specflow已禁用,SpecflowPackagePackage未正确加载的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我遇到了一个问题,在Visual Studio扩展中,Specflow仍然被禁用.

I am having an issue with Specflow remaining disabled in Visual Studio extensions.

当我启动VS时,出现错误SpecflowPackagePackage无法正确加载.

When I start VS I get an error SpecflowPackagePackage didn't load correctly.

我尝试卸载并重新安装specflow,但似乎很奇怪.当我卸载时,它表示卸载成功,并要求重新启动VS.重新启动时,Specflow仍然存在,但是被禁用.

I tried to uninstall and reinstall specflow but it seems weird. When I uninstall it says uninstall successful and asks to restart VS. When I restart Specflow is still there but disabled.

使用Visual Studio 2015 Update 3(64位). Windows 10. Specflow版本2017.1.6

Using Visual Studio 2015, Update 3, 64bit. Windows 10. Specflow Version 2017.1.6

推荐答案

我不知道是什么引起了问题.但是我固定的方式是:

I don't know what caused the problem. But the way I fixed was:

注意.这可能会删除所有插件.

NOTE This might delete all plugins.

删除下面文件夹中的所有内容(关闭VS)

delete everything in below folders (with VS closed)

C:\Users\<username>\AppData\Local\Microsoft\VisualStudio\14.0
C:\Users\<username>\AppData\Roaming\Microsoft\VisualStudio\14.0

然后重新安装插件以及specflow.

And reinstall the plugins along with specflow.

如果有人可以发布更好的答案,请随时.

If someone can post a better answer please feel free to.

这篇关于specflow已禁用,SpecflowPackagePackage未正确加载的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆