.net core 在.NET Core for Windows上不支持密码解密?

.net core 在.NET Core for Windows上不支持密码解密?,.net-core,nuget-package-restore,.net Core,Nuget Package Restore,我最近将一个私有NuGet存储库转换为需要身份验证 为了构建一个使用该存储库的项目,我使用NuGet Sources add-name[repo\u name]-Source[Source\u url]-UserName[UserName]-Password[Password]向本地NuGet.Config添加了身份验证 现在,当我尝试运行dotnet restore时,出现以下错误: Password decryption is not supported on .NET Core f

我最近将一个私有NuGet存储库转换为需要身份验证

为了构建一个使用该存储库的项目,我使用
NuGet Sources add-name[repo\u name]-Source[Source\u url]-UserName[UserName]-Password[Password]
向本地NuGet.Config添加了身份验证

现在,当我尝试运行
dotnet restore
时,出现以下错误:

    Password decryption is not supported on .NET Core for this platform. The following feed uses an encrypted password: 'nuget-sdet'. You can use a clear text password as a workaround.
我知道这在linux上不受支持,但我正在Windows Server 2012 R2上运行

这是在非常旧版本的.NET Core上运行的:
1.0.0-preview2-003121

对于较新版本的.NET Core,Windows是否支持密码解密


或者我是在以明文形式存储密码还是重新启用对提要的匿名访问之间进退两难?

您是否尝试添加
--以明文形式存储密码
选项?似乎您正在使用nuget CLI,因此它将是
-StorePasswordInClearText
我知道我可以以明文形式存储它。我试图找出除了明文密码和启用对存储库的匿名访问之外,我是否还有其他选择。