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

Ignore:
Timestamp:
06/26/14 18:48:39 (5 years ago)
Comment:

--

### Legend:

Unmodified
 v12 === Project properties === In the project's properties we configure: Assembly information, build, debug, and signing. In 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. Assembly information:: [[Image(assembly_info.png, align=right)]] 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. [[Image(assembly_info.png, 30%, align=right, margin-left=30)]] '''Assembly information''' 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. '''Build''' 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. '''Debug''' On the "Debug" tab choose "Start external program" and select HeuristicLab.exe inside StableRoot\bin - this setting is stored in the .csproj.user file. [[Image(debug_options.png)]] '''Signing''' 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. Save and close the project's properties. === References ===