Opened 10 years ago

Closed 10 years ago

Last modified 9 years ago

#850 closed enhancement (done)

PluginInfrastructure should provide a way to get assemblies associated with a plug-in

Reported by: epitzer Owned by: gkronber
Priority: lowest Milestone: HeuristicLab 3.3.0
Component: PluginInfrastructure Version: 3.2
Keywords: Cc: gkronber

Description


Change History (7)

comment:1 Changed 10 years ago by epitzer

Expose locations (names) of assemblies associated with a plugin (r2666)

comment:2 follow-up: Changed 10 years ago by swagner

  • Cc gkronber added

I would prefer to be able to retrieve the complete information about the files of a plugin instead of the two properties Files and Assemblies in IPluginDescription. I suggest that there should be an interface for describing a file of a plugin (e.g. IPluginFile). gkronber, what do you think?

comment:3 in reply to: ↑ 2 Changed 10 years ago by gkronber

  • Owner changed from epitzer to gkronber
  • Status changed from new to assigned

Replying to swagner:

I would prefer to be able to retrieve the complete information about the files of a plugin instead of the two properties Files and Assemblies in IPluginDescription. I suggest that there should be an interface for describing a file of a plugin (e.g. IPluginFile). gkronber, what do you think?

Yes this is probably the best approach. I will change the code according to this suggestion.

comment:4 Changed 10 years ago by gkronber

r2688:

  • Implemented an enumerable to iterate through all PluginFiles as suggested by swagner
  • replaced the Assemblies enumerable with an AssemblyName enumerable for internal usage in the plugin infrastructure.
  • Using Assembly.Load() instead of Assembly.LoadFrom to prevent loading from GAC as far as possible.

comment:5 Changed 10 years ago by gkronber

  • Resolution set to fixed
  • Status changed from assigned to closed

comment:6 Changed 9 years ago by swagner

  • Milestone changed from Iteration 4 to Current

Milestone Iteration 4 deleted

comment:11 Changed 9 years ago by swagner

  • Milestone changed from Current to HeuristicLab 3.3.0

Milestone Current deleted

Note: See TracTickets for help on using tickets.