You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

如何卸载通过PowerShell安装的Azure Artifacts Credential Provider

卸载Azure Artifacts Credential Provider的具体步骤
  • 先关闭所有NuGet相关进程(如Visual Studio、dotnet命令行工具、NuGet包管理器等),防止文件被占用无法删除。
  • 打开PowerShell,执行以下命令删除Credential Provider的核心文件目录:
    Remove-Item -Path "$env:USERPROFILE/.nuget/plugins/netcore" -Recurse -Force
    Remove-Item -Path "$env:USERPROFILE/.nuget/plugins/netfx" -Recurse -Force
    
    这两个目录分别对应.NET Core/.NET 5+和.NET Framework环境下的Credential Provider文件。
  • (可选)检查系统环境变量,若存在NUGET_CREDENTIALPROVIDER_SESSIONTOKENCACHE_ENABLED等与该凭据提供器相关的变量,直接删除即可完成彻底清理。

内容的提问来源于stack exchange,提问作者user1624858

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.06.29 00:25:54