我跟随一个博客帖子让scriptcs在两个步骤中运行。基本上,我做了这个:
@powershell -NoProfile -ExecutionPolicy Unrestricted -Command "iex ((New-Object Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%systemdrive%\chocolatey\bin然后我在做这件事时出错了:
cinst scriptcs无法从路径'jQuery.2.0.1.1.nupkg‘读取包。
这在另一台机器上有效,但在我目前的笔记本电脑上却失败了。知道我做错了什么吗?
编辑
根据达米安的回答,下面我只需删除位于这里的NuGet缓存的内容:
C:\Users\userName\AppData\Local\NuGet\Cache
发布于 2013-09-07 01:00:54
来自巧克力(%LocalAppData%\NuGet\Cache)的这只虫子建议您需要清除NuGet缓存GitHub,这应该会自行解决。
发布于 2017-07-18 08:52:16
请试试看-
运行scriptcs
https://stackoverflow.com/questions/18661114
复制相似问题