JChem Base for .NET applications, dll references.

User 478d103dc9

29-04-2013 18:07:12

 


I’ve implemented MarvinSketch to draw the molecule then pass
strMol value into JChemSearch object(
JChem Class
Library
) which performs actual search. 


I’m a bit confused what assemblies
need to be referenced or included into bin folder.
 All of those that comes with JChem .NET API?


Thank you

ChemAxon eb65a25631

30-04-2013 08:10:31

Hi, the best approach is to always reference and deploy all the Jchem.NET assemblies.


Regards,


Andras

User 478d103dc9

30-04-2013 14:26:25










akovacs wrote:

Hi, the best approach is to always reference and deploy all the Jchem.NET assemblies.


Regards,


Andras



Hi Andras,


 All of the ChemAxon.IKVM.xxx and IKVM.xxx ones?  It’s roughly 190 of them.


 Also should they be referenced from GAC
(C:\Windows\assembly\GAC_MSIL)
  or project path just fine?


Thank you

ChemAxon eb65a25631

30-04-2013 15:24:06

Hi,


yes, all of them. There's no reason for cherry-picking them.


(It will take some time, when you add them to VS.)


Referencing assemblies only a hint for the visual studio for type resolution.


If you installed JChem.NET API, the installer put all the asemblies into the GAC,


so the assemblies will be resolved from there.


 


If you plan to deploy your application where no JChem.NET API installed, you should definitely put these assemblies beside your app(, or put them ino the GAC).


 


Regards,


Andras

User 478d103dc9

30-04-2013 15:31:59










akovacs wrote:

Hi,


yes, all of them. There's no reason for cherry-picking them.


(It will take some time, when you add them to VS.)


Referencing assemblies only a hint for the visual studio for type resolution.


If you installed JChem.NET API, the installer put all the asemblies into the GAC,


so the assemblies will be resolved from there.


 


If you plan to deploy your application where no JChem.NET API installed, you should definitely put these assemblies beside your app(, or put them ino the GAC).


 


Regards,


Andras



 


Thank you Andras.

User bc3eb0a599

07-04-2014 20:31:32

Hi Andras:


I'm having trouble getting my VB.NET application (VS 2010), which has references to ChemAxon .NET API DLLs, to call the latest installed version of ChemAxon .NET APIs. It seems that it always requires the version used during compile time. It also always include the referenced dlls in the setup application. How do I tell my application to always use the latest version of ChemAxon .NET DLLs?


Tom

ChemAxon bd13b5bd77

07-04-2014 22:46:50

Hi Tom, 


 


please see my answers at: https://www.chemaxon.com/forum/viewtopic.php?p=55559


 


Viktor