The Lonewolf.com
 
C# 2005 Decal Plugin Template
This template shows the basic elements of creating a plugin using Visual C# 2005 for Decal Alpha 4 (and later unless more breaking changes happen, in which case I'll update the template again). It will compile and create a basic working plugin with a view, static text area, and a working button. Inside, it shows the basic elements for including the Decal Filters, how to implement a View, and controls, and how to write to the chat window. It also includes error logging.

System Requirements:
  • .NET Framework 2.0 RTM
  • Microsoft Visual C# 2005 RTM (Express or better)
  • Decal 3 2.9.5.0 or higher
Changes:
  • Updated to work properly with Decal 2.9.5.0
  • Updated examples of getting filter references using Decal.Adapter
  • Updated examples of using the Wrappers for creating your view
  • Updated examples of using the Wrappers for creating your controls and control events

Installation Instructions:

  • Download and save the template .zip file from the DOWNLOADS page
  • Place the .zip file in your C# Templates directory (default location is My Documents\Visual Studio 2005\Templates\ProjectTemplates\Visual C#). Do NOT unzip the file, just copy or move it into this location, otherwise the template will not work.
  • Create a new project using the template

Possible issues you may run into:

If you did not install Decal to it's default location, or if you are running on 64bit Windows, you will need to either

  • Remove the references to Decal.Adapter and the Decal.Interop.* files and replace them with references from the location where you installed Decal
  • Change the reference path to the correct location

If you are not creating the project in the default Visual Studio 2005 projects location, you will need to update the path in the .reg file (included in the template) to reflect the path where you created the project.

I have been told that the template does work with the Express version of C# 2005, but I have not tried to do so.