The type AuthenticationResult
exist in both Microsoft.AspNetCore.Authentication.Abstraction, Version 2.0.0.0
and Microsoft.AspNetCore.Authentication, Version=1.1.2.0
I want to use Version 1.1.2.0. How do I do this?
The type AuthenticationResult
exist in both Microsoft.AspNetCore.Authentication.Abstraction, Version 2.0.0.0
and Microsoft.AspNetCore.Authentication, Version=1.1.2.0
I want to use Version 1.1.2.0. How do I do this?
If you are using Nuget Package Manager console to install packages(which is the easiest way to install) refer to this stackoverflow link that demonstrates using versioned package installs.
If you are using the option "Manage Nuget Packages for solution" from the Tools/Nuget Package Manager Menu, you can select the version from the drop-down that shows up in the install options when selecting a package to install.
If you have installed both packages (I see they don't have the same namespace), to use the specific package version, you can just import that specific namespace to the class