如何解决C# 测试项目 - 构建失败,找不到应用程序依赖项清单
我正在构建一个带有单元测试项目的 .NET 核心应用程序。主应用程序依赖于名为 BarCode 的 nuget 包。当我签入测试项目时,我的 BitBucket 管道现在失败并出现此错误。知道为什么吗?为什么提到 .NET 标准?
Starting test execution,please wait...
A total of 1 test files matched the specified pattern.
Testhost process exited with error: Error:
An assembly specified in the application dependencies manifest (XYZ.Apps.Tests.deps.json) was not found:
package: 'BarCode',version: '2020.12.2'
path: 'lib/netstandard2.0/IronBarCode.dll'
. Please check the diagnostic logs for more information.
Test Run Aborted.
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。