Sling_Blade
asked on
Cannot Register Assembly - Using Managed Assembly Without A Strong Name
I am almost through with my project and I need to register it in the GAC.
Problem is I am referencing a managed assembly created by an outside company and this referenced assembly does not have a strong name.
Therefore I am unable to create a strong name for my project (I.e. I cannot create a strong name for my assemble unless all "managed" assemblies it refenences also have a strong name).
Is there any work around in a situation like this?
Problem is I am referencing a managed assembly created by an outside company and this referenced assembly does not have a strong name.
Therefore I am unable to create a strong name for my project (I.e. I cannot create a strong name for my assemble unless all "managed" assemblies it refenences also have a strong name).
Is there any work around in a situation like this?
ASKER
Thanks for the response and I have already found the article you linked to. :-)
The assembly is a .net managed assembly.
My problem is that the assembly is created from an outside company therefore i cannot recompile it, therefore I cannot give it a strong name.
What I am after is a work around, if one exists.
I doubt one exists but I thought I'd give it a try.
The assembly is a .net managed assembly.
My problem is that the assembly is created from an outside company therefore i cannot recompile it, therefore I cannot give it a strong name.
What I am after is a work around, if one exists.
I doubt one exists but I thought I'd give it a try.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Another solution is to load the assembly and call its methods dynamically. It's a hassle to do this, but it is the only work-around I am aware of.
2) Are getting an error like this?
PRB: "Assembly Generation Failed" Error Message When You Try to Build a Managed DLL Without a Strong Name
http://support.microsoft.com/?kbid=313666
If so, then the solution is shown in the article for VB.NET and C#.
Bob