Skip to content
This repository was archived by the owner on Sep 3, 2019. It is now read-only.

xnumad/Tanji-Module-Template

Repository files navigation

Tanji Module Template

New project

Basic Tanji module base:

  • Visual C# Windows Forms App
  • targeting .NET Framework 4.7.1
  • added using directives
  • added mandatory [Module()] line
  • renamed inheritance from Form to ExtensionForm

Acknowledgements

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.

Add the template

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

Delete the template

The reverse way of how to add it: simply delete the ZIP.

Use the template

  • 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…

Make a template yourself

  • 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.

About

Visual Studio template for Tanji modules to skip the setup

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages