Geoff Overfield Geoff Overfield - 1 year ago 57
ASP.NET (C#) Question

Visual Studio C# does not allow me to use Microsoft.AspNet.Identity namespace

Why is my application not letting me use the following namespace:

using Microsoft.AspNet.Identity;

Is there any way I can get rid of this in
Visual Studio 2015

Answer Source

I didn't have the NuGet Package installed. For this, (In Visual Studio) I went to Tools -> NuGet Package Manager -> Manage NuGet Packages for Solution and installed the Microsoft.AspNet.Identity.Core package.

For anyone using new packages and namespaces for the first time, like I was, don't despair. It's not as complicated as it seems!

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download