forum.alglib.net
http://forum.alglib.net/

Strong name key
http://forum.alglib.net/viewtopic.php?f=2&t=1040
Page 1 of 1

Author:  mrest [ Mon Nov 04, 2013 11:27 am ]
Post subject:  Strong name key

Hi,

I'm trying to use alglib for the first time, but having trouble building my application after referencing the alglib dll.
I get following error:
Error 1 Assembly generation failed -- Referenced assembly 'alglibnet2' does not have a strong name

I'm using a trial version of the commercial edition

Any help appreciated

Morten

Author:  Sergey.Bochkanov [ Tue Nov 05, 2013 1:31 pm ]
Post subject:  Re: Strong name key

It seems that your own assemblies are signed, so having unsigned ALGLIB makes it incompatible with them. You have two options here:
* rebuild alglibnet2.dll yourself and sign it (ALGLIB can be built just as usual C# assembly, without any additional steps)
* read http://stackoverflow.com/questions/331520/how-to-fix-referenced-assembly-does-not-have-a-strong-name-error for information about signing external assemblies.

I think that we should add signed assemblies for the next release... It was not done before because I am not really into these C#-specific issues, and didn't thought about it.

Author:  mrest [ Tue Nov 05, 2013 1:42 pm ]
Post subject:  Re: Strong name key

Thanks Sergey
I'll give it a try

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/