You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In a new project create a nuget.config with these contents:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<!--To inherit the global NuGet package sources remove the <clear/> line below -->
<clear />
<addkey="foo"value="https://example.com" />
</packageSources>
<packageSourceCredentials>
<foo>
<addkey="Username"value="[email protected]" />
<addkey="Password"value="..." />
</foo>
</packageSourceCredentials>
</configuration>
Then run dotnet restore using .NET SDK 7.0.100-preview.4.22222.1.
Actual behavior:
❯ &"C:\Users\raines\Downloads\dotnet-sdk-7.0.100-preview.4.22222.1-win-x64\dotnet.exe" restore Determining projects to restore...S:\repro\dotnet\sdk\issues\23498\23498.csproj : error NU1301: Unable to load the service index for source https://api.nuget.org/v3/index.json. Retrying 'FindPackagesByIdAsyncCore' for source 'https://example.com/FindPackagesById()?id='Microsoft.NETCore.App.Ref '&semVerLevel=2.0.0'. Password decryption is not supported on .NET Core for this platform. The following feed uses an encrypted password: ' foo'. You can use a clear text password as a workaround. Windows Data Protection API (DPAPI) is not supported on this platform.
This is effectively a recurrence of dotnet/sdk#23498 caused by #7520--the new AssemblyDependencyResolver adopts the greater-than-or-equal version check much like #6993 wants, but that causes the NuGet scenario regression.
The text was updated successfully, but these errors were encountered:
In a new project create a
nuget.config
with these contents:Then run
dotnet restore
using .NET SDK7.0.100-preview.4.22222.1
.Actual behavior:
This is effectively a recurrence of dotnet/sdk#23498 caused by #7520--the new
AssemblyDependencyResolver
adopts the greater-than-or-equal version check much like #6993 wants, but that causes the NuGet scenario regression.The text was updated successfully, but these errors were encountered: