How to create – add C++ Windows Form Application in Visual Studio 2012

Step One

Download the following files….
VS 2012 CPP Win

from this website:

Now extract the compressed file.

Step Two

Now fire up windows explorer and go to “C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\vcprojects\vcNET\“
or “[Visual Studio Installation Directory] \VC\vcprojects\vcNET\“

Step Three

Create a new directory and now backup all the files.

Step Four

Now copy all the extracted files from “Step One” and paste inside this folder “C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\vcprojects\vcNET\” or “[Visual Studio Installation Directory] \VC\vcprojects\vcNET\“

For all you VS express users:

use this directory: C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\vcprojects_WDExpress\vcNET\
and you also need to copy the WinForm directory from another version to C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\VCWizards\AppWiz\.NET\

Here’s the path for Winform in Visual Studio Express 2010:

C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\VCWizards\AppWiz\.NET\WinForm

Here’s the path for Winform in Visual Studio Express 2012:

C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\VCWizards\AppWiz\.NET\WinForm

Step Five

Run Visual Studio and select New Project > Visual C++ > CLR
Now you should be able to see Windows Forms Application
Be aware that the resulting C++ WinForm application in VS 2012 will use .Net Framework 4.5.

Step Six (optional)

Create a new Windows Forms in Visual C++ and see if everything is working or not.

Go to this web page for reference as the source for this blog post:

The comments there explain the VS Express instructions.

About these ads