question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

DPAPI error messages since updating VS to 17.1.0

See original GitHub issue

Since we updated VS 2022 to 17.1.0 yesterday, running this command:

dotnet tool update dotnet-outdated-tool -g

Results in this error message:

C:\Program Files\dotnet\sdk\6.0.200\NuGet.targets(130,5): error : Der Dienstindex für die Quelle "https://nuget.telerik.com/v3/index.json" konnte nicht geladen werden. [C:\Users\ukeim\AppData\Local\Temp\p1eijxar.5tx\restore.csproj]
C:\Program Files\dotnet\sdk\6.0.200\NuGet.targets(130,5): error :   Kennwortentschlüsselung wird für .NET Core für diese Plattform nicht unterstützt. Der folgende Feed verwendet ein verschlüsseltes Kennwort: "nuget.telerik.com". Sie können ein Klartextkennwort als Problemumgehung verwenden. [C:\Users\ukeim\AppData\Local\Temp\p1eijxar.5tx\restore.csproj]
C:\Program Files\dotnet\sdk\6.0.200\NuGet.targets(130,5): error :   Windows Data Protection API (DPAPI) is not supported on this platform. [C:\Users\ukeim\AppData\Local\Temp\p1eijxar.5tx\restore.csproj]
Fehler beim Update des Tools "dotnet-outdated-tool". Ursache:
Das Toolpaket konnte nicht wiederhergestellt werden.
Fehler bei der Installation des Tools "dotnet-outdated-tool". Dieser Fehler kann folgende Ursachen haben:

* Sie versuchen, eine Vorschauversion zu installieren und haben nicht die Option "--version" verwendet, um die Version anzugeben.
* Ein Paket mit diesem Namen wurde gefunden, aber es handelte sich nicht um ein .NET-Tool.
* Auf den erforderlichen NuGet-Feed kann nicht zugegriffen werden, möglicherweise aufgrund eines Problems mit der Internetverbindung.
* Sie haben den Namen des Tools falsch eingegeben.

Weitere Gründe sowie Informationen zum Erzwingen der Paketbenennung finden Sie unter https://aka.ms/failure-installing-tool.

(German error message, sorry).

Translated to English the error messages read:

The service index for source “https://nuget.telerik.com/v3/index.json” could not be loaded. [C:\Users\ukeim\AppData\Local\Temp\p1eijxar.5tx\restore.csproj]

Password decryption is not supported for .NET Core for this platform. The following feed uses an encrypted password: nuget.telerik.com. You can use a clear text password as a workaround.

Windows Data Protection API (DPAPI) is not supported on this platform.

On the PC of one of my co-workers the error occurs on a different NuGet feed, so I do think this is not related to the feed itself. And I also doubt that this is related to the dotnet-outdated tool itself.

My question

Is this a known issue? Are there any workaround?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:2
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
wazzamatazzcommented, Feb 17, 2022

This is a duplicate of #23498.

Upgrading build tools on one of our build agents to VS2022 17.1 (from 17.0.x) this morning has broken everything that uses authenticated feeds.

0reactions
baronfelcommented, Feb 23, 2022

Correct, this is a duplicate. Thank you for reporting, but I’ll close this in favor of #23498.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Data Protection API (DPAPI) seemingly broken
The Data Protection API seems to be broken on my machine. Data Encrypted using the "ProtectData" function will only reliably decrypt if it ......
Read more >
Password decryption not supported on .NET Core for ...
I now get the following error when I try running dotnet restore : Password decryption is not supported on .NET Core for this...
Read more >
static_asserts after upgrade to Version 17.1.0 Preview 6.0
After upgrading to Version 17.1.0 Preview 6.0 from Preview 3.0, I am getting several static_assert errors during compilation.
Read more >
Error after updating VS 2022 : r/VisualStudio
I recently updated my visual studio 2022 from 17.5 to 17.6.1 (skipped 17.6 update). But after the update, it's constantly showing me error...
Read more >
Troubleshoot system updates on Xbox
This solution can help you troubleshoot errors caused by an unsuccessful system update on your Xbox Series X|S or Xbox One console. If...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found