开发者

MvcContrib.Castle Meduim Trust & Signed Assemblies

开发者 https://www.devze.com 2023-01-16 08:00 出处:网络
I have a class library which references MvcContrib.Castle. My Assembly is signed, but will not compile

I have a class library which references MvcContrib.Castle. My Assembly is signed, but will not compile

error

Error 129 Assembly 开发者_JAVA百科generation failed -- Referenced assembly 'MvcContrib.Castle' does not have a strong name

I have tried added to the AssemblyInfo.cs

using System.Security;
[assembly: AllowPartiallyTrustedCallers]

the issue persists.

I have tried the following too: http://paulwideman.com/softwareartist/tag/medium-trust/

Anyone know what todo?

if it helps im using .net 4

many thanks in advance


You can sing MvcContrib dlls without rebuilding them, for example with this tool: http://signer.codeplex.com/

0

精彩评论

暂无评论...
验证码 换一张
取 消