Open HeuristicLab-Trac-Bot opened 6 years ago
Is the following an issue (for Hive execution?)
warning CS8002: Referenced assembly 'AutoDiff, Version=1.2.1.0, Culture=neutral, PublicKeyToken=null' does not have a strong name.
Replying to [comment:5 gkronber]:
Is the following an issue (for Hive execution?)
warning CS8002: Referenced assembly 'AutoDiff, Version=1.2.1.0, Culture=neutral, PublicKeyToken=null' does not have a strong name.
Yes, at least this is not straight forward. Loading of all plugins and assemblies work but when a type from the assembly is actually instantiated (e.g. NLR -> Run) we get an exception.
FileLoadException: Could not load file or assembly 'AutoDiff, Version=1.2.1.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. A strongly-named assembly is required. (Exception from HRESULT: 0x80131044) at HeuristicLab.Problems.DataAnalysis.Symbolic.TreeToAutoDiffTermConverter..cctor()
r15656: referenced new version of AutoDiff plugin (using nuget package). No other changes necessary because the API has not changed.
I think we discussed once that we should stop strong naming our assemblies. I don't think we gain anything from strong naming because we don't put assemblies in the GAC. But of course if HeuristicLab is to be integrated into a strong-named project then we also need to provide a strong named version which means that all dependencies are to be strong named too.
Latest version 1.2.2 . We currently use 1.0
Issue migrated from trac ticket # 2870
milestone: HeuristicLab 4.x Backlog | component: ExtLibs | priority: low
2018-01-02 17:50:18: @mkommend created the issue