c# - 无法引用引用的项目
问题描述
我正在使用 Microsoft Visual Studio Community 2019 Preview - Version 16.9.0 Preview 1.0;.NET 版本5.0.100
;Windows 10 x64 版本 2004 ;ASP.NET Core Blazor Web 程序集。
我有3个项目:
a133.Server
(参考a133.Shared
)a133.Client
(参考a133.Shared
)a133.Shared
甚至,我使用完整路径
3>------ Build started: Project: a133.Server, Configuration: Debug Any CPU ------
3>CSC : error CS0006: Metadata file 'C:\Users\donhuvy\source\repos\a133\Client\bin\Debug\net5.0\ref\a133.Client.dll' could not be found
3>Done building project "a133.Server.csproj" -- FAILED.
========== Build: 0 succeeded, 3 failed, 0 up-to-date, 0 skipped ==========
我尝试删除参考,然后重新添加。我也尝试过重建项目。参考还是错误,怎么解决?
解决方案
推荐阅读
- android - Unity:错误AndroidVideoMedia,找不到曲目?
- javascript - 是否可以将 react-devtools-inline 安装到窗口中?
- bash - 在 Ubuntu 20.04 中针对来自 mailutils 的邮件发送带有文本和附件的电子邮件的行为发生了变化
- android - 来自 WebClient.DownloadDataAsync 的异常“无法识别 URI 前缀”
- akka - 未订阅周期响应的 Akka Streams HTTP API
- python - 重置井字游戏板的问题 - Python tkinter
- logging - GCP 日志记录 - 识别异常流量
- javascript - React-native 问题性能
- c - 当C中有多个同名记录时如何删除记录
- java - 如何删除字符串的开头和结尾字符