Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not load file or assembly Microsoft.Identity.Client, Version=4.37.0.0 #116

Closed
wikipi opened this issue Nov 28, 2021 · 1 comment
Closed

Comments

@wikipi
Copy link

wikipi commented Nov 28, 2021

When I run on my local macine, I keep getting an error when assigning IConfidentialClientApplication on Startup.Auth.cs file in TaskWebApp project. It says:

Could not load file or assembly 'Microsoft.Identity.Client, Version=4.37.0.0, Culture=neutral, PublicKeyToken=0a613f4dd989e8ae' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

Im using Visual Studio Community 20219, installed .NET 4.8., I have cleaned solution project, deleted packages folder, and rebuild solution. It keeps throwing an error.

When I deploy it to Azure App Service, using Windows OS, Framework ASP V4.8, it says:

Found conflicts between different versions of the same dependent assembly

azureeeeee

for detail link: https://github.com/wikipi/active-directory-b2c-dotnet-webapp-and-webapi/runs/4344953525?check_suite_focus=true

@Turbo549
Copy link
Contributor

I issued pull request #119 to address this and to fix a problem that was occurring when your B2C policy names use mixed case and TasksController.AcquireTokenForScopes() calls were failing to silently acquire a token to access the sample API.

@pmaytak pmaytak closed this as completed Oct 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants