![](/img/trans.png)
[英]Random assembly references fail (“Are you missing a using directive or an assembly reference?”)
[英]Missing assembly reference error shows, but the references are already exists
我面臨的問題是 VS 2012 中有一個 Web API 項目,我嘗試在該項目中實現 JWT。 我們有一個編碼概念,如果使用任何 NuGet 包,我們的項目必須移動到項目中的“ExternalDLLs”文件夾中,並從該文件夾中引用 DLL。 這是為了避免不需要的 NuGet 更新。 請參閱下面已安裝的 NuGet 包。
所有引用都從“ExternalDLL”文件夾中正確完成,但它顯示如下圖所示的錯誤。
“IdentityModel”文本中有一條藍線,它顯示一條消息,您是否缺少 using 指令或程序集引用? . 我已經從 ExternalDLLs 文件夾中引用了 DLL 。
您需要將這些引用 dll 添加到您的項目中。 (因為你刪除了它們)。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.