Reflector Add-in Starter Kit (C#)

by Jason Haley 31. March 2008 13:59

I've been writing Reflector add-ins now for a year or so and often find myself copying and pasting code just to get to a starting point.  I even wrote a blog entry a while ago about the typical template I used to get started (Getting started with Reflector Addins).  After reading about VSI (Visual Studio Installer) files in Working With Microsoft Visual Studio 2005 a while back, I added an item to my mental todo list to create a set of templates I use for writing Reflector add-ins - and with two Reflector presentations coming this next weekend, I figured now was as good a time as any to actually finish it.

The current version of the vsi file can be found here - http://jasonhaley.com/files/ReflectorAddinStarterKit.vsi

If you download it today, it only has the C# templates (plan to add VB templates sometime soon).

Once you download the vsi and run it (double-click and the installer will take over), you will see a list like shown below of the contents. 

NOTE: If you don't want your VS.Net Project Items and dialog clogged up (see images below that show a dialog with all items installed) with templates you may never need - I would recommend just checking the ".Net Reflector Add-in Project (C#)" item.

image 

Since I did not sign the vsi file (actually just a zip file), you will get the following dialog after clicking next on the first page of the install wizard.

image

The image below shows the two project templates installed.  Normally I only use the .NET Reflector Add-in project.

image

The image below highlights all the project items installed.  Most of which I rarely use - which will explain why some of the templates are the first draft of a template.

image

The package class is the one I have used the most, so if you happen to find and errors or improvements that can be made to the templates - please let me know and I'll make sure the vsi file gets updated.

Comments (0) | Post RSSRSS comment feed |

Categories:
Tags:

Comments are closed