关于StrongNameIdentityPermissionAttribute的问题 [英] problem about StrongNameIdentityPermissionAttribute

查看:54
本文介绍了关于StrongNameIdentityPermissionAttribute的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨:

我已经尝试过使用Studio 10.0进行编译的以下代码,但是它不起作用.

I have tried the codes as following which compiling with studio 10.0, however, it not works.

[StrongNameIdentityPermissionAttribute(SecurityAction.Demand,
   PublicKey = "......")]
public class test{

public test(){
...
}
}

即使添加上面的声明也没有什么不同.我不知道它为什么不起作用的确切原因,有什么好的方法吗?

it makes no different even I add the upper declaration. I don't know the exact reason why it not work, is there any good way 

谢谢,

推荐答案

您好clementcw,

Hi clementcw,

  有关更多信息,您可以参考以下链接:

  For more information,you can refer to these links as follows:

 使用StrongNameIdentityPermissionAttribute

  Using the StrongNameIdentityPermissionAttribute

http://www.morganskinner.com/Articles/StrongNameIdentityPermission/

 

 我希望它能解决您的问题.

  I hope it will solve your problem.

 

此致

王杰森


这篇关于关于StrongNameIdentityPermissionAttribute的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆