Article | 41023406 |
Type | HowTo |
Product | Engine |
Version | 4.1.6.1029 |
Date Added | 1/21/2004 |
Submitted by | Hans BERENDE |
Keywords |
I tried to sign my C#-application using a key file ([assembly:AssemblyKeyFile("..\\..\\..\\Viewer.snk")]), but it refuses to do so:
Assembly generation failed -- Referenced assembly 'AxInterop.VDProLib' does not have a strong name
Assembly generation failed -- Referenced assembly 'Interop.VDProLib' does not have a strong name
Can you tell me how I can sign my application anyway?
For VectorDraw Professional, Standard and Viewer version 4.1 When you try to compile a managed assembly that references a COM Interop assembly or any another managed assembly that does not have a strong name, you may receive the following error message: Assembly generation failed -- Referenced assembly 'Interop.Project1' does not have a strong name Cause When you compile an assembly with a strong name, any referenced assemblies must also have strong names. Resolution: 1. In Microsoft Visual Studio .NET, got to the references of your project, Delete the existing reference to VectorDraw component that are : VDProLib and AxVDProLib for VectorDraw Professional VDStdLib and AxVDStdLib for VectorDraw Standard VDViewLib and AxVDViewlib for VectorDraw Viewer 2.Add a references in vdsn.zip file to your Visual Basic .NET project, that are: VDProLib.dll and AxVDProLib.dll for VectorDraw Professional VDStdLib.dll and AxVDStdLib.dll for VectorDraw Standard VDViewLib.dll and AxVDViewlib.dll for VectorDraw Viewer 3.Rebuild the project.