Can't include Microsoft.Security.Application?

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

I can\'t include Microsoft.Security.Application

using Microsoft.Security.Application;

Gives this error:

6条回答
  •  南旧
    南旧 (楼主)
    2021-02-19 02:13

    If, like me, you're using AntiXSSLibrary in a class library via Nuget, and got the above error:

    1. Remove all external references that you had through Nuget
    2. Remove the Nuget package file - which is packages.config found in the solution's root directory
    3. Remove the packages directory - again in your solution's root directory
    4. Reinstall all your components again

提交回复
热议问题