看起来"系统网Http">dll。我不断收到与之相关的各种错误:在尝试还原nuget包时(似乎框架无法连接到nuget索引:
Unable to load the service index for source https://api.nuget.org/v3/index.json.
即使试图通过Visual studio 2019社区登录microsoft帐户:
we could not refresh the credentials for the account ...
Could not load file or assembly System.Web.Http, Version=5.2.2.0
这似乎是一个系统问题。我应该在系统级的哪里查找该dll?请帮助
问题是GAC中缺少dll:为了到达GAC,请在运行中键入assembly作为系统变量。丢失的dll应该位于系统中。网Http文件夹,位于GAC_MSIL中(取决于microsoft操作系统(。我从另一个来源得到了它,并在那里找到了