Search code examples
securitymembership-providervisual-studio-2013

System.Web.Security doesn't exist in assemblies


Either i am late to the party or i did something wrong. I am working with Visual Studio 2013 and i was trying to use Membership class however, using System.Web.Security; namespace doesn't exist in my assemblies.

What can i do to solve this?

Note: System.Web exists

Targeting: .NET Framework 4.5.1


Solution

  • The System.Web namespace exists in System.dll

    The System.Web.Security namespace exists in System.Web.dll

    You can check this by going to the System.Web and System.Web.Security namespaces, opening one of the classes, and checking what the msdn article states is the dll (listed as the assembly).