[SOLVED] Can't include Microsoft.Security.Application?

Issue

I can’t include Microsoft.Security.Application

using Microsoft.Security.Application;

Gives this error:

The type or namespace name ‘Security’ does not exist in the namespace ‘Microsoft’ (are you missing an assembly reference?)

And yes, I clicked on Bin -> Add Reference… -> AntiXSSLibrary.dll and it added it to the Bin Folder including the AntiXSSLibrary.xml.

I rebuilt the whole website, and still nothing.

I’m using ASP .NET 3.5 C# – AntiXSSLibrary 4.0 Stable

Solution

Right mouse on your website -> Convert to webapplication. See: How To Convert ASP.NET Website to ASP.NET Web Application

Answered By – Polity

Answer Checked By – Clifford M. (BugsFixing Volunteer)

Leave a Reply

Your email address will not be published. Required fields are marked *