forum.alglib.net

ALGLIB forum
It is currently Sun Dec 22, 2024 11:18 pm

All times are UTC


Forum rules


1. This forum can be used for discussion of both ALGLIB-related and general numerical analysis questions
2. This forum is English-only - postings in other languages will be removed.



Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Strong name key
PostPosted: Mon Nov 04, 2013 11:27 am 
Offline

Joined: Mon Nov 04, 2013 11:24 am
Posts: 2
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


Top
 Profile  
 
 Post subject: Re: Strong name key
PostPosted: Tue Nov 05, 2013 1:31 pm 
Offline
Site Admin

Joined: Fri May 07, 2010 7:06 am
Posts: 927
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.


Top
 Profile  
 
 Post subject: Re: Strong name key
PostPosted: Tue Nov 05, 2013 1:42 pm 
Offline

Joined: Mon Nov 04, 2013 11:24 am
Posts: 2
Thanks Sergey
I'll give it a try


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 31 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group