Can't include Microsoft.Security.Application?

后端 未结 6 1056
离开以前
离开以前 2021-02-19 01:55

I can\'t include Microsoft.Security.Application

using Microsoft.Security.Application;

Gives this error:

6条回答
  •  栀梦
    栀梦 (楼主)
    2021-02-19 02:07

    Uninstall and re-install AntiXSS:

    Tools --> NuGet Package Manager --> Package Manager Console (UI may differ if using other than Visual Studio 2013):

    Uninstall-Package AntiXSS
    Install-Package AntiXSS
    

    For multi-project solutions, be sure to set the default project to whichever one is experiencing the problem. Use Uninstall-Package -Force AntiXSS if uninstall fails and if you can handle any package dependency problems that may arise, though I know of none for this package.

提交回复
热议问题