I am working through Pluralsight course on OAuth2 and have added a project to the solution.
I used a new Asp.Net 4.5.2 empty template which I have set SSL to true on. I set the framework back to 4.5 to be consistent with the other projects in the solution.
I run the following in the Package Manager Console:
PM> install-package Microsoft.Owin.Host.SystemWeb
The error is:
Install-Package : Unable to find package 'Microsoft.Owin.Host.SystemWeb'At line:1 char:1
+ install-package Microsoft.Owin.Host.SystemWeb
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Install-Package], Exception
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
After studying this question I tried adding the version from the course. Here is the result:
PM> install-package Microsoft.Owin.Host.SystemWeb -Version 3.0.1
Attempting to gather dependencies information for package 'Microsoft.Owin.Host.SystemWeb.3.0.1' with respect to project 'TripCompany.IdentityServer', targeting '.NETFramework,Version=v4.5'
Install-Package : Package 'Microsoft.Owin.Host.SystemWeb' is not found in the following primary source(s): 'E:\EShared\NuGet'. Please verify all your online
package sources are available.At line:1 char:1
+ install-package Microsoft.Owin.Host.SystemWeb -Version 3.0.1
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Install-Package], Exception
+ FullyQualifiedErrorId