Basic Tanji module base:
- Visual C# Windows Forms App
- targeting .NET Framework 4.7.1
- added
usingdirectives - added mandatory
[Module()]line - renamed inheritance from
FormtoExtensionForm
Based on Darkbox Urban resource "Tanji/For developers/Plugin development/Setting up" (revision: last edited: 23-05-2018 19:16:31) by Squiz which details the manual steps.
Place the released ZIP in the default Project template directory %userprofile%\Documents\Visual Studio 2017\Templates\ProjectTemplates\
If you have set a custom directory, you can see it at Visual Studio menu bar "Tools"/Options…/Projects and Solutions/Locations/User project templates location
The reverse way of how to add it: simply delete the ZIP.
- Create a new project in Visual Studio
- Choose the "Visual C#" category in which the template should appear as last in the list
- Add the dependencys Sulakore and Tangine!
If you open Form1.cs before adding the dependencys it will fuck you up. If so, add the dependencys then and close and reopen the solution (if you only open it while a file in it is the active tab, it won't reload).
- Change the Assembly name of the project at
Visual Studio menu bar "Project"/Properties…/Application/Assembly name
You may also want to update the Copyright year at Assembly Information…
- Visual Studio menu bar "Project"/Export Template…
- Keep Template Type = Project template
- Append version number to the template name (e.g.
v1.0) - Set description
Basic Tanji module base - Use the Tanji icon as Icon Image
E.g. if Tanji modules target a new .NET Framework version and you want to contribute by pushing an updated version.
