Skip to content

Commit

Permalink
Additional config changes to support AccountDeleter migration (#10180) (
Browse files Browse the repository at this point in the history
#10189)

Add bindingredirect for dependencyinjection.dll

Co-authored-by: Drew Gillies <drewgil@microsoft.com>
  • Loading branch information
ryuyu and drewgillies authored Sep 20, 2024
1 parent 58a3fb3 commit 6e639f3
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
11 changes: 11 additions & 0 deletions src/AccountDeleter/app.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Microsoft.Extensions.DependencyInjection" publicKeyToken="adb9793829ddae60" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-8.0.0.0" newVersion="8.0.0.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>
4 changes: 2 additions & 2 deletions src/NuGetGallery.Core/Services/CloudBlobClientWrapper.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) .NET Foundation. All rights reserved.
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.

using System;
Expand Down Expand Up @@ -278,4 +278,4 @@ private static ClientCertificateCredential GetCredentialUsingServicePrincipal(st
return new ClientCertificateCredential(tenantId, appID, clientCert, new ClientCertificateCredentialOptions { AuthorityHost = new Uri(authorityHost), SendCertificateChain = true });
}
}
}
}

0 comments on commit 6e639f3

Please sign in to comment.