Free cookie consent management tool by TermsFeed Policy Generator

Changes between Version 12 and Version 13 of Documentation/DevelopmentCenter/CreateNewPluginUsingVS


Ignore:
Timestamp:
06/26/14 18:48:39 (10 years ago)
Author:
abeham
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Documentation/DevelopmentCenter/CreateNewPluginUsingVS

    v12 v13  
    2626
    2727=== Project properties ===
    28 In the project's properties we configure: Assembly information, build, debug, and signing.
     28In the project's properties we configure: Assembly information, build, debug, and signing. If you open the properties please also make sure the //target framework// is set to .NET Framework 4.0.
    2929
    30 Assembly information:: [[Image(assembly_info.png, align=right)]]
    31   We set the assembly version to the same value as the current HeuristicLab version by convention. In the official HeuristicLab repository the revision part is synchronized with the SVN revision number, it can be simply set to 0 in our case. Changing major or minor version numbers in the course of development marks a breaking change to previously saved files. If HeuristicLab wants to load an item of a plugin with version 3.3.8 it will accept the same plugin in version 3.3.9 to open it. However, it will reject the plugin when its major or minor is different (e.g. 3.2.7, 3.4.3 or 4.0.1). The "Assembly file version" is not used by HeuristicLab and can be set without any restrictions.
     30[[Image(assembly_info.png, 30%, align=right, margin-left=30)]]
     31
     32'''Assembly information'''
     33 We set the assembly version to the same value as the current HeuristicLab version by convention. In the official HeuristicLab repository the revision part is synchronized with the SVN revision number, it can be simply set to 0 in our case. Changing major or minor version numbers in the course of development marks a breaking change to previously saved files. If HeuristicLab wants to load an item of a plugin with version 3.3.8 it will accept the same plugin in version 3.3.9 to open it. However, it will reject the plugin when its major or minor is different (e.g. 3.2.7, 3.4.3 or 4.0.1). The "Assembly file version" is not used by HeuristicLab and can be set without any restrictions.
     34
     35'''Build'''
     36 We want to automatically put the plugin into the StableRoot\bin folder when we compile it. On the "Build" tab change the configuration box from "Active (Debug)" to "All Configurations" and enter `..\..\..\stable\bin` in the output path.
     37
     38'''Debug'''
     39 On the "Debug" tab choose "Start external program" and select HeuristicLab.exe inside StableRoot\bin - this setting is stored in the .csproj.user file.
     40
     41[[Image(debug_options.png)]]
     42
     43'''Signing'''
     44 Activate "Sign the assembly" and create a new key or use the HeuristicLab.snk inside the plugins of StableRoot. Otherwise call the new key "TheKey", but deselect the password option.
     45
     46Save and close the project's properties.
    3247
    3348=== References ===