-
Notifications
You must be signed in to change notification settings - Fork 10.5k
How can I get Microsoft.AspNetCore.Authentication.OAuth 9.0 as a standalone assembly? #63638
-
I am using the OAuthTokenResponse class from Authentication.OAuth.
When referencing the AspNetCore framework through a <FrameworkReference> in my project, this works fine:
<ItemGroup> <FrameworkReference Include="Microsoft.AspNetCore.App" /> </ItemGroup>
However, the class library cannot be used from a Blazor WASM project.
Now, if I try to reference Microsoft.AspNetCore.Authentication.OAuth directly:
<ItemGroup> <PackageReference Include="Microsoft.AspNetCore.Authentication.OAuth" /> </ItemGroup>
then the most recent version I find on NuGet is 2.3.0, which is still using Newtonsoft, and is not compatible with my own code, which is using System.Text.Json.
How (or where) can I get the 9.0.0 version of the assembly? Or is this by design?
Beta Was this translation helpful? Give feedback.
All reactions
You can't - the NuGet package is not shipped separately, which is why you can't find any versions newer than 2.x in NuGet.org.
Replies: 1 comment
-
You can't - the NuGet package is not shipped separately, which is why you can't find any versions newer than 2.x in NuGet.org.
Beta Was this translation helpful? Give feedback.