Maya Plug-in Wizard For Visual Studio

Maya provides a wizard for Microsoft Visual Studio 2012 Update 4 which can be used to quickly and easily create Visual Studio projects for Maya plug-ins. The wizard is not installed automatically by the Maya installer so you must copy some files by hand before you can start using it.

Follow these steps to install the wizard

  1. The wizard can be found in the devkit\pluginwizard\MayaPluginWizard2.0.zip folder of your Developer Kit installation (see Setting up your build environment: Windows environment (64-bit)). Unzip this file.
  2. Copy the following files to the C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\vcprojects folder:

    MayaPluginWizard.vsdir

    MayaPluginWizard.vsz

    MayaPluginWizard.ico

  3. Notice that the unzipped file contains a top-level folder named MayaPluginWizard and within that a sub-folder which is also named MayaPluginWizard. Copy the top-level MayaPluginWizard folder to C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\VCWizards
NOTE:

If you are working with a non-english installation of Microsoft Visual Studio, then you may have to alter the folders that the files are copied into above.

Follow these steps to use the wizard

  1. Start Microsoft Visual Studio, invoke File -> New -> Project -> Visual C++ Projects and select MayaPluginWizard.
  2. Enter a name and solution name and select the OK button.
  3. Fill in the information for the Plug-in setup screen.
  4. Click Next to get the Plug-in type dialog, or select it from the link in the sidebar, and fill in any required information.
  5. Click Next to get the Included libraries dialog, or select it from the link in the sidebar, and fill in any required information.
  6. Click Finish to create the project.