1

Closed

QFD 13 publish error: no authorized type: System.Collections.Generic.List`1

description

添加了
<authorizedType Assembly="mscorlib, Version=4.0.0.0, Culture=neutral,PublicKeyToken=b77a5c561934e089" Namespace="System.Collections.Generic" TypeName="List1" Authorized="True" />
后,依然报此错误。

最终发现原因:
Assembly的值必须完全匹配,而以上的配置,PublicKeyToken前面少了一个空格。

完整的配置为:
<authorizedType Assembly="mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" Namespace="System.Collections.Generic" TypeName="List
1" Authorized="True" />


NND!

最新的wsp应该吧这个配置默认加上

file attachments

Closed Jul 27, 2015 at 6:33 AM by jianyi
resolve in latest version, > build150601

comments