如何为WSP Builder解决方案伪造Manifest.xml
-
09-12-2019 - |
题
我知道wsp builder在运行时创建清单,然后删除它,但我可以以某种方式冒充少数东西来添加一些安全控制(我知道其他方式,但我想知道我是否可以这样做,但是我可以通过这种方式做到这一点)
解决方案
WSPBuilder will only allows Safe Controls entries for objects that inherits from the "Control" class. A simple fix could be to create an empty class that inherits from WebControl
and use the same namespace in your fake ascx file.