0

我发现我在windows中没有System.net.http.dll文件GAC夹。不知道我是怎么弄丢的。所以我尝试按照说明gacutil.exe在 ASP.net 文件夹中安装它。

但是由于链接中的空格,我得到了错误。

我尝试从其目录以及 GAC 文件夹中运行 gacutil。两者都有类似的错误。

C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.7.2>gacutil -i C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.7.2\System.Net.Http.dll
'gacutil' is not recognized as an internal or external command,
operable program or batch file.

C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.7.2>C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.7.2 Tools\gacutil -i System.Net.Http.dll
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.

C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.7.2>C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.7.2 Tools\gacutil -i System.Net.Http.dll
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.

任何帮助表示赞赏。

4

0 回答 0