Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Bertil de Groot 2 posts 22 karma points
    Feb 18, 2011 @ 13:20
    Bertil de Groot
    0

    Assembly generation failed -- Referenced assembly 'umbraco' does not have a strong name

    Hello,

    Currently, i make user controls in visual studio to be used in Umbraco. When I reference the 'umbraco.dll' in my visual studio project and use it in my user controls, I get the message 'Assembly generation failed -- Referenced assembly 'umbraco' does not have a strong name' when building the Solution.

    My employer wants my project to be signed. The umbraco.dll is unsigned though....

    Has anybody experience with this?

    With regards,

    Bertil de Groot

  • Sascha Wolter 615 posts 1101 karma points
    Feb 21, 2011 @ 04:46
    Sascha Wolter
    1

    Hi Bertil,

    I recently had the same issue. What I did was to sign the umbraco assemblies using a small free program I've downloaded using a key I've created using the VS key generator. Unfortunately I can't find the exact tool I've been using anymore (bugger...), however there seem to be quiet a few out there if you just search for '.net strongly sign assembly after build'. It worked like a charm for me.

    Another alternative would be to get the Umbraco source for the version you are using, sign the projects yourself and build Umbraco yourself. Haven't tried that out though, might encounter additional issues if the dependent dlls are itself not signed, so you might need to use the first workaround for those as well.

    Hope that helps,

    Sascha

  • Bertil de Groot 2 posts 22 karma points
    Feb 21, 2011 @ 09:19
    Bertil de Groot
    0

    Hello Sascha,

    I searched for the words you mentioned and google came up with:

    http://ryanfarley.com/blog/archive/2010/04/23/sign-a-.net-assembly-with-a-strong-name-without-recompiling.aspx

    I created a batchfile a he suggests and the signed umbraco.dll worked like a charm :-)

    Thanx and regards

  • Sascha Wolter 615 posts 1101 karma points
    Feb 21, 2011 @ 23:54
    Sascha Wolter
    0

    Great stuff, glad it worked for you! :)

Please Sign in or register to post replies

Write your reply to:

Draft