0

我有一个引用 MvcContrib.Castle 的类库。我的程序集已签名,但不会编译

错误

Error 129 Assembly generation failed -- Referenced assembly 'MvcContrib.Castle' does not have a strong name

我已经尝试添加到 AssemblyInfo.cs

using System.Security;
[assembly: AllowPartiallyTrustedCallers]

问题仍然存在。

我也尝试过以下方法:http: //paulwideman.com/softwareartist/tag/medium-trust/

有谁知道要做什么?

如果它有助于我使用.net 4

提前谢谢了

4

1 回答 1

1

您可以唱 MvcContrib dll 而无需重建它们,例如使用此工具:http ://signer.codeplex.com/

于 2010-11-30T12:54:16.417 回答