Calling VSTA Macro

Calling VSTA Macro

I've added a simple VSTA macro which displays a message

public void TestButton()
{
MessageBox.Show("This is a test.");
}
When I create a function to Execute VSTA macro the Macro Selection pop up is empty. I built ths project by going to build > BildProjectAddin and still nothing appears. Does anyone have any idea how to call the macro? Thank you.

This is a migrated post! Originally posted on 09.11.2012 by user conradsmith. Please be aware that information can be outdated.