简体   繁体   English

关于 VS 2013 的 Nuget 包管理器

[英]About Nuget Package Manager for VS 2013

I would like to know 1. Where the Nuget Package manager installed in c drive我想知道 1.C盘安装Nuget包管理器的地方

  1. When try to check the NuGet installed version using PowerShell script I am getting old version instead of installed version in VS 2013.当尝试使用 PowerShell 脚本检查 NuGet 安装版本时,我得到的是旧版本而不是 VS 2013 中的安装版本。

  2. I am trying to view the version and folder where it has installed.我正在尝试查看它安装的版本和文件夹。

您可以在 %windows drive%:\\Users\\your user.nuget\\packages 中看到您的本地 nuget 包

Run the following command:运行以下命令:

(Get-PackageProvider -Name NuGet -ListAvailable).ProviderPath

This will give you the path to NuGet installations这将为您提供 NuGet 安装的路径

In your position, I'd just go ahead and install the latest version of NuGet (Run as Administrator):在您的位置上,我会继续安装最新版本的 NuGet(以管理员身份运行):

Install-PackageProvider -Name NuGet -Force -Scope AllUsers

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM