Maya 2008 & VS 2008: http://www.rayfile.com/files/958fa1c7-ed28-11dd-9208-0014221b798a/
Maya 2009 & VS 2008: http://www.rayfile.com/files/5fa3fa2e-ed28-11dd-afab-0019d11a795f/
Follow the readme file in those archived files copy needed files and folders to destination.
For test only:
Create a plug-in project with default settings. Open the C++ file, add following line at the beginning of the file:
#include<maya/MGlobal.h>
Change the following line:
setResult("helloWorld command executed!");
to:
MGlobal::dispalyInfo("Hello World/n");
Save file, Build.
Next, open maya, from Window->Settings & Preferences -> Plug-in Manager, load the new plug-in created.
Then in the script editor, type in the plug-in name and execute to see the result.
The rectified version: http://www.rayfile.com/files/59a4912b-eed2-11dd-b2c4-0014221b798a/