如何解决为 http_proxy 加密密码,访问 nuget 源
在这里Nuget connection attempt failed "Unable to load the service index for source",我看到了许多针对此问题提出的解决方案
Unable to load the service index for source ...
我发现自己现在尝试 dotnet build
的错误。
我看到建议将 XML 放入其中之一
<packageSourceCredentials>
<vstsfeed>
<add key="Username" value="yourname@company.com" />
<add key="Password" value="this is an encrypted password" >
<!-- add key="ClearTextPassword" value="not recommended password" -->
</vstsfeed>
</packageSourceCredentials>
<config>
<!-- Proxy settings -->
<add key="http_proxy" value="host" />
<add key="http_proxy.user" value="username" />
<add key="http_proxy.password" value="encrypted_password" />
</config>
进入Nuget.Config
。
密码是如何加密的?什么应该进入 encrypted_password 占位符空间?
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。