我正在安装一个大型C#项目,我被告知要先将3.3到3.4或更高版本的nuget升级。无法升级VS2015的nuget
我下载的NuGet扩展(VS 2015年VSIX v3.4.4),并试图安装它,我得到这个:
8/7/2017 2:04:32 PM - Upgrading 'NuGet Package Manager for Visual Studio 2015', version 3.3.0.167 to version 3.4.4.1321.
8/7/2017 2:04:41 PM - Install Error : System.IO.IOException: The process cannot access the file because it is being used by another process.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
我尝试另一种方式 - 从内VS2015,工具 - >扩展和更新,发现现有的NuGet并试图先卸载它,我得到:
The process cannot access the file because it is being used by another process.
我掀起了“进程管理器”,发现两个过程中使用的NuGet:铬和devenv.exe的。 devenv是VS2015实例的一个过程。无论如何,我退出VS2015,甚至铬,没有帮助,相同的错误信息,当安装扩展。
其他的事情我想:
我发现正在使用的NuGet是在“C:\ Program Files文件(x86)的\的NuGet”,我取代现有的以nuget.exe的新版本,以及如在C nuget.tools:\程序文件(x86)\的NuGet \的Visual Studio 2015年,然后我就开始再次VS仍然得到了同样的信息
The process cannot access the file because it is being used by another process.
我删除了项目下的包文件夹,以及为下/.nuget,没有帮助。
我搜索了一下,发现这个link,但它也没有帮助解决问题。我承认我在智慧的结尾。
您是否启用了磁盘加密? – gravity
这是办公电脑,我不这么认为,但不确定,我怎么说? –
问问您的基础设施人员。 – Amy