首页 > 解决方案 > 无法引用引用的项目

问题描述

我正在使用 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个项目:

这是内部项目a33.Shared 在此处输入图像描述

这是内部项目a33.Client 在此处输入图像描述

甚至,我使用完整路径

在此处输入图像描述

在此处输入图像描述

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 ==========

我尝试删除参考,然后重新添加。我也尝试过重建项目。参考还是错误,怎么解决?

标签: c#visual-studio.net-coreblazorblazor-webassembly

解决方案


推荐阅读