不能包含Microsoft.Security.Application? [英] Can't include Microsoft.Security.Application?
问题描述
我不能包括 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?)
是的,我点击了 Bin->添加引用...-> AntiXSSLibrary.dll ,并把它添加到Bin文件夹包括AntiXSSLibray.xml
And yes I Clicked on Bin->Add Reference...->AntiXSSLibrary.dll and it added it to the Bin Folder including the AntiXSSLibray.xml
我重建了整个网站,仍然一无所获。
I rebuilt the whole website, and still nothing.
我使用ASP .NET 3.5的C# - AntiXSSLibrary 4.0稳定
I'm using ASP .NET 3.5 C# - AntiXSSLibrary 4.0 Stable
推荐答案
用鼠标在你的网站 - >转换为web应用。参见:<一href="http://stackoverflow.com/questions/735054/how-to-convert-asp-net-website-to-asp-net-web-application?lq=1">How转换ASP.NET网站,ASP.NET Web应用程序
Right mouse on your website -> Convert to webapplication. See: How To Convert ASP.NET Website to ASP.NET Web Application
这篇关于不能包含Microsoft.Security.Application?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!