Describe the bug
After the recent update of VS Preview (I got the telemetry prompt earlier today), I'm not able to restore packages from feeds that use an encrypted password.
To Reproduce
- Make sure some password-protected feeds are registered and they use encrypted password
- Prepare a project that requests something from the feed
- Run
dotnet nuget locals all --clear just in case to make sure the restore operation is needed
- Run
dotnet restore
Exceptions (if any)
Retrying 'FindPackagesByIdAsyncCore' for source 'https://nuget.xyz.com/repository/nuget-prod/FindPackagesById()?id='Package'&semVerLevel=2.0.0'.
Password decryption is not supported on .NET Core for this platform. The following feed uses an encrypted password: 'repo-name'. You can use a clear text password as a workaround.
Windows Data Protection API (DPAPI) is not supported on this platform.
Detailed exception.
Further technical details
- Windows 10 21H2
- SDK
6.0.200-preview.21617.4
Workaround
Use global.json and downgrade to 6.0.100.
Describe the bug
After the recent update of VS Preview (I got the telemetry prompt earlier today), I'm not able to restore packages from feeds that use an encrypted password.
To Reproduce
dotnet nuget locals all --clearjust in case to make sure the restore operation is neededdotnet restoreExceptions (if any)
Detailed exception.
Further technical details
6.0.200-preview.21617.4Workaround
Use
global.jsonand downgrade to6.0.100.