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....
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.
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
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
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
Great stuff, glad it worked for you! :)
is working on a reply...