LinqToTwitter v5.1.2 AspNetAuthorizer doesn't contains a definition for CredentialStore

Viewed 62

In my website .Net Framework 4.8, when I update from LinqToTwitter v5.1.1 to 5.1.2 I get an error message when I try to create a new instance of AspNetAuthorizer saying:

"AspNetAuthorizer doesn't contains a definition for CredentialStore" and "AuthorizeBase is defined in an assembly is not referenced. You must add a reference to assembly 'LinqToTwitter.netstandard, Version =5.1.2.0"

Code Example:

return new AspNetAuthorizer
{
    CredentialStore = new SessionStateCredentialStore
    {
        ConsumerKey = MyKey,
        ConsumerSecret = Secret
    },
    GoToTwitterAuthorization =
        twitterUrl => url
};

I tried to add a using and searched for the package "LinqToTwitter.netstandard" in nuget but doesn't exists.

Is this version broken?

1 Answers
Related