Build error, This project references NuGet

前端 未结 7 2056
旧时难觅i
旧时难觅i 2020-12-29 18:17

When I try to build my solution, I get the following error message:

Severity Code Description Project File Line Suppression State Error

7条回答
  •  庸人自扰
    2020-12-29 19:14

    Why should you need manipulations with packages.config or .csproj files?
    The error explicitly says: Use NuGet Package Restore to download them.
    Use it accordingly this instruction: https://docs.microsoft.com/en-us/nuget/consume-packages/package-restore-troubleshooting:

    Quick solution for Visual Studio users
    1.Select the Tools > NuGet Package Manager > Package Manager Settings menu command.
    2.Set both options under Package Restore.
    3.Select OK.
    4.Build your project again.

提交回复
热议问题