Free cookie consent management tool by TermsFeed Policy Generator

source: branches/Templates/EmptyPlugin/EmptyPlugin/Plugin.cs @ 18242

Last change on this file since 18242 was 15745, checked in by gkronber, 6 years ago

#2887 updated templates for new repository structure

File size: 2.0 KB
Line 
1using HeuristicLab.PluginInfrastructure;
2
3namespace EmptyPlugin {
4  [Plugin("EmptyPlugin", "1.0")]
5  [PluginFile("EmptyPlugin.dll", PluginFileType.Assembly)] // each plugin represents a collection of files. The minimum is one file; the assembly.
6
7  // Usually your plugin references other HeuristicLab dlls. If you are referencing files (e.g. assemblies)
8  // from another plugin the corresponding plugin should be added as a dependency.
9  // Usually, if this information is incorrect you will still be able to use you plugin, but HL functionality
10  // which uses plugin dependency resolution will not work correctly. For instance if plugin dependencies are
11  // not correct then your plugin cannot be used on HeuristicLab.Hive
12  //
13  // [PluginDependency("HeuristicLab.Data", "3.3")]
14  // [PluginDependency("HeuristicLab.Core", "3.3")]
15
16  // HL plugin infrastructure discovers plugins on startup by trying to load all .dll and .exe files and looking for
17  // classes deriving from PluginBase. The meta-information for the plugin class is specified in the attributes
18  // above, and used by plugin infrastructure primarily for plugin dependency resolution.
19
20  // Steps:
21  // (1) Check out HL source code (e.g. the trunk version)
22  // (2) Build external libraries HeuristicLab.ExtLibs.sln using the Build.cmd (in the path of the HL source code)
23  // (3) Build HeuristicLab 3.3.sln using the Build.cmd
24  // (4) Build this project. The output path for binaries is set to "".
25  //     this assumes you have the following folder structure
26  //    <ROOT>
27  //    |..hl
28  //       |..branches
29  //       |  |..Templates
30  //       |     |..EmptyPlugin
31  //       |..trunk
32  //          |.. bin
33
34  //  (5) Check that the output file has been added to the HL binaries folder (hl/trunk/bin/EmptyPlugin.dll)
35  //  (6) Start hl/trunk/bin/HeuristicLab.exe and open the "Plugin Manager".
36  //      Make sure your EmptyPlugin appears in the list of loaded plugins
37  public class Plugin : PluginBase {
38  }
39}
Note: See TracBrowser for help on using the repository browser.