拉出一些代碼更新後,我發現我在構建時收到了此消息。某些NuGet包在Visual Studio應用程序中的解決方案中缺失
Some NuGet packages are missing from the solution.
The packages need to be restored in order to build the dependency graph.
Restore the packages before performing any operations
在Solution Explorer與丟失的引用圖標
顯示的引用鏈接我刪除了參考文獻,然後在包管理器控制檯的按鈕出現,問我是否想安裝缺少的包。但是,這並沒有奏效。
右鍵單擊解決方案,恢復Nuget包。 – user3185569
只需在NuGet命令行中鍵入restore? – Fang
哎呀,我是右鍵點擊該項目。當我右鍵點擊解決方案時,該選項可用。 –