Strong name error


Author
Message
Ger Cannoll
Ger Cannoll
Advanced StrataFrame User (654 reputation)Advanced StrataFrame User (654 reputation)Advanced StrataFrame User (654 reputation)Advanced StrataFrame User (654 reputation)Advanced StrataFrame User (654 reputation)Advanced StrataFrame User (654 reputation)Advanced StrataFrame User (654 reputation)Advanced StrataFrame User (654 reputation)Advanced StrataFrame User (654 reputation)
Group: StrataFrame Users
Posts: 430, Visits: 507
I have a project set up where I want to put some code to validate some business objects. This is a NON UI project (No Form) so I have included a reference to my BusinessObjects DLL in this project. All works fine in the code , and BO are referenced  correclty , but when I go to compile the project, I get an error :

---> Error 1 Assembly generation failed -- Referenced assembly 'Kernel_BOLibrary' does not have a strong name KernelCommonMethods

I have the same Business Objects DLL in another project and its workoing fine. Tries rebuilding etc but to no avail

Any ideas ?


 
Ivan George Borges
Ivan George Borges
Strategic Support Team Member (3.6K reputation)Strategic Support Team Member (3.6K reputation)Strategic Support Team Member (3.6K reputation)Strategic Support Team Member (3.6K reputation)Strategic Support Team Member (3.6K reputation)Strategic Support Team Member (3.6K reputation)Strategic Support Team Member (3.6K reputation)Strategic Support Team Member (3.6K reputation)Strategic Support Team Member (3.6K reputation)
Group: StrataFrame MVPs
Posts: 1.9K, Visits: 21K
Are you sure you are using the right version of your library at run time? If so, have you searched your hard disk for old versions of your Kernel_BOLibrary, there might be an old one being used for your EXE.
Ger Cannoll
Ger Cannoll
Advanced StrataFrame User (654 reputation)Advanced StrataFrame User (654 reputation)Advanced StrataFrame User (654 reputation)Advanced StrataFrame User (654 reputation)Advanced StrataFrame User (654 reputation)Advanced StrataFrame User (654 reputation)Advanced StrataFrame User (654 reputation)Advanced StrataFrame User (654 reputation)Advanced StrataFrame User (654 reputation)
Group: StrataFrame Users
Posts: 430, Visits: 507
Hi Ivan. Thanks for replying.

When I had a looked at the project more closely, I noticed that there was a   .snk file in the poject, which I do not see in other projects. I removed this file from the project, and then it compiled ok.  Not sure what it was doing there or how it got in (or if it needs to be there) , but the fact that I have removed it does not seem to have done any damage
Greg McGuffey
Greg McGuffey
Strategic Support Team Member (3.5K reputation)
Group: Forum Members
Posts: 2K, Visits: 6.6K
That is a key file for signing of a project. Not sure how you got it there unless you signed the project at some point.  Glad that fixed it though.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search