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
Which version of Microsoft Identity Web are you using?
Microsoft.Identity.Web.TokenCache all versions
Where is the issue?
Token cache nuget dependencies
Is this a new or an existing app?
Existing app, trying to migrate to .Net Core via older Asp.Net Core release.
Repro
Install Microsoft.Identity.Web.TokenCache on a service using net472, and aspnetcore 2.1 or 2.2
Expected behavior
Installing the nuget package should not break aspnetcore
Actual behavior
Microsoft.Identity.Web.TokenCache pulls in packages from Microsoft.Extensions 5.0.0.
A change to Microsoft.Extensions.Primitives in this release breaks the Asp.Net Core versions that run on .Net Framework, essentially the Kestrel worker thread crashes.
Possible solution
Depend on a 3.1.x version of Microsoft.Extensions for Net Framework.
Additional context / logs / screenshots / link to code dotnet/aspnetcore#28112 describes the issue in more detail. For projects stuck on .Net Framework for some reason or other, and those trying to modernize their codebases piecewise, this dependency issue is pretty frustrating.
The text was updated successfully, but these errors were encountered:
You can repro this by cloning https://github.com/stephenjust/AspNetCore-FullFramework
You can start the project "WebApplication.Basic" in that repo's current state, then install Microsoft.Identity.Web.TokenCache which will cause AspNetCore to break. AspNetCore seems to be relatively tightly coupled to particular versions of Microsoft.Extensions.
Which version of Microsoft Identity Web are you using?
Microsoft.Identity.Web.TokenCache all versions
Where is the issue?
Is this a new or an existing app?
Existing app, trying to migrate to .Net Core via older Asp.Net Core release.
Repro
Install Microsoft.Identity.Web.TokenCache on a service using net472, and aspnetcore 2.1 or 2.2
Expected behavior
Installing the nuget package should not break aspnetcore
Actual behavior
Microsoft.Identity.Web.TokenCache pulls in packages from Microsoft.Extensions 5.0.0.
A change to Microsoft.Extensions.Primitives in this release breaks the Asp.Net Core versions that run on .Net Framework, essentially the Kestrel worker thread crashes.
Possible solution
Depend on a 3.1.x version of Microsoft.Extensions for Net Framework.
Additional context / logs / screenshots / link to code
dotnet/aspnetcore#28112 describes the issue in more detail. For projects stuck on .Net Framework for some reason or other, and those trying to modernize their codebases piecewise, this dependency issue is pretty frustrating.
The text was updated successfully, but these errors were encountered: