By Ger Cannoll - 5/10/2011
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 ?
|
By Ivan George Borges - 5/10/2011
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.
|
By Ger Cannoll - 5/10/2011
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
|
By Greg McGuffey - 5/10/2011
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.
|
|