visual-studio-2013 - XUnit nuget 失败(visual studio 2013)xunit.core 已经定义了依赖项

标签 visual-studio-2013 specflow xunit xunit.net

在为 XUnit.Net 做 Nuget 时,我得到:

Attempting to resolve dependency 'xunit'.
Attempting to resolve dependency 'xunit.core (= 2.0.0-rc1-build2826)'.
'xunit.core' already has a dependency defined for 'xunit.extensibility.core'.

尝试使用 Nuget Specflow.XUnit 时我得到相同的结果

最佳答案

如果需要预发布版本,则需要更新 NuGet 本身。

Tools > Extensions and Updates > Updates > Visual Studio Gallery.

关于visual-studio-2013 - XUnit nuget 失败(visual studio 2013)xunit.core 已经定义了依赖项,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28102392/

相关文章:

qt - 在windows上部署Qt5应用程序的问题

visual-studio - Visual Studio 2019 测试资源管理器不能很好地与 xUnit 配合使用

c# - 单元测试自定义 Serilog 接收器

testing - 如何使用 Autofac 正确配置模拟依赖项以测试 Web Api (ASP.NET Core) Controller

c# - 使用 SpecFlow 测试引用我项目中的文件夹

visual-studio - Intellisense 不适用于 MS 测试文件

c++ - std::regex_match 和 std::regex_search 之间的区别?

c# - .net 类库中的注释

visual-studio-2013 - 即使通过 NuGet 安装,SpecFlow 也找不到包

testing - 学习小 cucumber 的推荐阅读