Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/elixir/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
.net core 如何设置";dotnet工具安装";要使用本地nexus镜像?_.net Core - Fatal编程技术网

.net core 如何设置";dotnet工具安装";要使用本地nexus镜像?

.net core 如何设置";dotnet工具安装";要使用本地nexus镜像?,.net-core,.net Core,当我使用: dotnet工具安装 我可以看到它是从 如何设置dotnet tool install以使用本地nexus镜像存储库?这肯定会起作用。它使用您设置的nuget源。您遇到了哪些问题?如果您使用dotnet numget list source列出numget源代码,它会说什么?它是否列出了有问题的存储库 例如,地雷清单: C:\> dotnet nuget list source Registered Sources: 1. CompanyRepo [Enabled]

当我使用:
dotnet工具安装

我可以看到它是从


如何设置dotnet tool install以使用本地nexus镜像存储库?

这肯定会起作用。它使用您设置的nuget源。您遇到了哪些问题?如果您使用
dotnet numget list source
列出numget源代码,它会说什么?它是否列出了有问题的存储库

例如,地雷清单:

C:\> dotnet nuget list source
Registered Sources:
  1.  CompanyRepo [Enabled]
      https://pkgs.dev.azure.com/company/_packaging/repo/nuget/v3/index.json
  2.  LocalRepo [Enabled]
      C:\Users\erik\LocalRepo
  3.  nuget.org [Enabled]
      https://api.nuget.org/v3/index.json
  4.  Microsoft Visual Studio Offline Packages [Enabled]
      C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\

如果您的nexus镜像未在此处列出,您应该能够使用
dotnet nuget add source添加它

这肯定会起作用。它使用您设置的nuget源。您遇到了哪些问题?如果您使用
dotnet numget list source
列出numget源代码,它会说什么?它是否列出了有问题的存储库

例如,地雷清单:

C:\> dotnet nuget list source
Registered Sources:
  1.  CompanyRepo [Enabled]
      https://pkgs.dev.azure.com/company/_packaging/repo/nuget/v3/index.json
  2.  LocalRepo [Enabled]
      C:\Users\erik\LocalRepo
  3.  nuget.org [Enabled]
      https://api.nuget.org/v3/index.json
  4.  Microsoft Visual Studio Offline Packages [Enabled]
      C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\
如果您的nexus镜像未在此处列出,您应该能够使用
dotnet nuget add source

添加它。感谢使用“list source”命令,它可能会很有用,我对dotnet core很陌生。我现在结束这个问题,因为它是一个重复的“列表源代码”命令,它可能是有用的,我对dotnetcore相当陌生。我现在结束这个问题,因为它是来自