Closed kirill-d-lappo closed 10 months ago
Yeah, the netcore plugin is expected to use dotnet CredentialProvider.Microsoft.dll
, so seems like a Rider issue here? The default NuGet libraries will do the correct thing here, so guessing Rider is initializing or using the SDK in a non-standard way here. Are any of these environment variables set? https://learn.microsoft.com/en-us/nuget/reference/extensibility/nuget-cross-platform-plugins#plugin-installation-and-discovery
@JohnSchmeichel
Are any of these environment variables set?
no, I use default set-up for the sdk and dotnet cli, no additional path configuration
Yeah, the netcore plugin is expected to use dotnet CredentialProvider.Microsoft.dll, so seems like a Rider issue here?
I guess, it is a Rider issue, but can't say definitely, I don't know internals of the tool.
I have created the same issue in YouTrack: https://youtrack.jetbrains.com/issue/RIDER-96160/Credential-Manager-Rider-Linux
Have you tried changing this setting? On my machine it defaults to "Rider Integrated" and that caused all sorts problems with Azure feeds. Changing it to CLI allows me to work with Azure Nuget feeds without issues.
Have you tried changing this setting? On my machine it defaults to "Rider Integrated" and that caused all sorts problems with Azure feeds. Changing it to CLI allows me to work with Azure Nuget feeds without issues.
yes, I have changed it to the third option, and Rider threw the error from the description.
This issue has had no activity in 90 days. Please comment if it is not actually stale.
I am not sure if it is an issue at all and who is responsible for it, I am just making some notes on the issue I have run into.
Preparations
Problem:
Rider does not communicate with the Azure nuget feed, user can't see any packages from it.
At the same time
dotnet restore
works as expected.Description
Rider logs contains the next error:
Seems like Rider uses credential provider binary directly to display packages.
But the plugin in artifacts is built for windows platform only.
Solution
Clone artifacts-credprovider repo and build the plugin manually for linux platform.