类型或命名空间名称“KasraDll”;无法找到(您是否缺少 using 指令或程序集引用?)

发布于 2024-12-29 14:12:58 字数 105 浏览 2 评论 0原文

我有一个在我的计算机上构建的项目。但是当我想使用 TFS 创建团队构建时,我收到此错误:

找不到类型或命名空间名称“KasraDll”(您是否缺少 using 指令或程序集引用?)

I have a project that is built in my computer. but when I want create a team build with TFS i am getting this error:

The type or namespace name 'KasraDll' could not be found (are you missing a using directive or an assembly reference? )

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

自演自醉 2025-01-05 14:12:58

您是否已将 KasraDll 检查到源代码管理中? TFS 构建需要一种方法来解析对此文件的引用。 TFS 模式和实践 讨论将第 3 方文件检查到源代码管理中。

或者,如果这是您创建的程序集,您可以将其设置为程序集引用(对构建的二进制文件的引用),您应该将其设置为项目引用(在解决方案中添加对项目的引用)。

Have you checked the KasraDll into source control? The TFS Build will need a way to resolve the reference to this file. The TFS Patterns and Practices discusses checking 3rd Party files into source control.

Alternatively, if this is an assembly you created, you may have it set as an assembly reference (a reference to the built binary), you should have it set as a project reference instead (adding a reference to the project in the solution).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文