Somebody over on Rigging Dojo posted a question about this today, and I wrote up a gist 6 months for it, so I thought I'd display this more prominantly.
And here's the steps if you don't want to click through:
MayaPluginWizard never works. Here's setting up a project from scratch. File > New Project > Visual C++ > Win32 > Win 32 Project > Name it. Win32 Application Wizard > Next > DLL Additional Options > Empty Project checked > Finish Main Window Right-click Source Files > Create an empty .cpp file Project > Properties Change Configuration to "All Configurations" Platform to "x64" - should be default Linker > General > remove $(TargetExt) and replace it with .mll Linker > General > Additional Library Directories C:\Program Files\Autodesk\Maya2016\lib Linker > Input > Additional Dependencies Foundation.lib;OpenMaya.lib;OpenMayaUI.lib;OpenMayaAnim.lib; OpenMayaFX.lib;OpenMayaRender.lib;Image.lib;opengl32.lib;glu32.lib; C/C++ > General > Additional Include Directories (must have downloaded devkit prior to doing this) C:\Program Files\Autodesk\Maya2016\include C/C++ > Preprocessor > Preprocessor Definitions WIN32;NDEBUG;_WINDOWS;NT_PLUGIN;REQUIRE_IOSTREAM Linker > Command Line > Additional Options /export:initializePlugin /export:uninitializePlugin