For Excel-DNA to register your method as a macro with Excel, it needs to be 'static'. So this should work:
[ExcelCommand(MenuName = "ExcelPlugin Test", MenuText = "Write the Excel version")]
public static void WriteTheVersion()
{
}
Note that there is an Excel bug which affects the [ExcelCommand...]
style menus under Excel 2013 - this is fixed in the upcoming Excel-DNA version 0.32.