Thursday 27th November 2014,

Windows Forms Application in Visual C++ 2012

Arifur Rahman September 22, 2012 C ++ 20,771 views 31 Comments

Microsoft has removed the option to create a C++/CLI Windows Forms application by default, the template files are still installed. The only thing missing seems to be the .vsz files and a registration in the vcNET.vcdir file.

vcpp 2012 does not have any windows forms application by default 506x350 Windows Forms Application in Visual C++ 2012

Just follow these steps to have Windows Forms Application in Visual Studio C++ 2012

Step One

Download the following files.

VS 2012 CPP Win

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.

backup all the old files 550x270 Windows Forms Application in Visual C++ 2012

Backup all the old 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\

copy all the extracted files 550x313 Windows Forms Application in Visual C++ 2012

Copy all the extracted files

paste all the copied files 550x260 Windows Forms Application in Visual C++ 2012

Paste all the copied files inside the specified location inside VC++ installation dir

Step Five

Run Visual Studio and select New Project > Visual C++ > CLR

Now you should be able to see Windows Forms Application

visual cpp 2012 form application is now present 506x350 Windows Forms Application in Visual C++ 2012

Forms Application inside Visual C++ 2012

Step Six (optional)

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


new visual cpp 2012 form application is created 501x350 Windows Forms Application in Visual C++ 2012

New Visual C++ 2012 Form Application Created

visual cpp form application running in debug mode 501x350 Windows Forms Application in Visual C++ 2012

Visual C++ Form Application Running in Debug Mode

About The Author

I am a programmer and web developer. I blog from time to time about the problems that I face and also the experiences that I gather while working.


  1. hostgator plans November 3, 2012 at 8:00 pm

    Hello there! Do you use Twitter? I’d like to follow you if that would be okay. I’m
    definitely enjoying your blog and look forward to new updates.

    • abouthack November 11, 2012 at 10:51 am

      My facebook and twitter social links are posted on top. Thank you for your comment.

  2. B November 7, 2012 at 4:16 pm

    Great, thanks. 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\

    • Kostia October 6, 2013 at 5:19 pm

      Thank You Bro, this realy helped me!)

  3. Numan November 17, 2012 at 4:21 pm

    thanx for this nice help.

  4. JR November 24, 2012 at 3:55 pm

    Thank you for this. Microsoft’s treatment of C++ coders in the last two releases has been baffling. No Intellisense in the last release, no new forms in 2012.

    • abouthack November 24, 2012 at 5:38 pm

      You are most welcome.

    • Ahmed December 26, 2012 at 8:50 pm

      I agree, its like they are trying to have a poor business strategy. My solution to the problem is visual studio 6 and 2010. I think 2010 was the beginning of their collapse.

  5. gammimg December 16, 2012 at 11:16 am

    Great web site you have here.. It’s difficult to find good quality writing like yours these days. I seriously appreciate people like you! Take care!!

  6. Christian December 22, 2012 at 4:00 pm

    Danke für die Hilfe

  7. bbkaran January 1, 2013 at 12:06 am

    when i copy these files, they get locked. Unlock IT software can’t see these files.
    any help?

  8. daniel January 12, 2013 at 4:35 pm

    I’ve got some problem here… when i tryed to create the project i saw the new options,but i just could not select them.Any ideias of how to solve it?

  9. Gregor January 18, 2013 at 5:13 pm

    This behaivor looks like, you tryed this workaround in VS Express.
    In the Express version are no winform templates. You have to copy them from an older VS Express version (2010 or 2008) into the 2012 directory.
    See the comment by B:
    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\

  10. Lorenz January 29, 2013 at 2:55 pm


    thanks for this great instruction. I have one additional question. Do you have an really easy way to create a windows form app that runs on another computer, or an easy way to create an installer for that?

  11. asheykh February 3, 2013 at 5:52 am

    Thank you so much
    excellent , Great work.

  12. John Arden February 9, 2013 at 3:28 pm

    Hi, the zip file you uploaded contains only six files, but in your screenshots, it shows 11 files. Is it okay? thanks!

  13. Constantine March 9, 2013 at 7:38 pm

    Thank you very much! It’s all works.

  14. deadeddie March 9, 2013 at 9:57 pm

    Thanks. Saved a lot of time. Works great

  15. Muhammad March 10, 2013 at 6:13 pm


  16. Doimão March 31, 2013 at 8:37 pm

    Very good friend! Thank you.

  17. Abhilash April 21, 2013 at 10:12 am

    will this work for visual basic in visual studio 2012

  18. Luciano May 26, 2013 at 1:12 am

    Wow, wow, woW :D
    You saved my life man.
    All the Best!

  19. Merfy May 28, 2013 at 2:13 pm

    Perfect! Thanks you very much!

  20. Jasen June 19, 2013 at 9:19 pm

    Thanks! Creating a blank CLR project and adding the winform afterwards with all the linking and what not is a bit of a pain in the ass.

  21. ce June 26, 2013 at 3:30 pm

    muito obrigado pelo seu tutorial

  22. Carson Evans July 13, 2013 at 1:28 pm

    Hello I am having a problem. Everything worked up until I go and make the Windows Forms project. I enter my project name and click create, then the window disappears like it should but instead of creating the project it sends me back to project creation a second later.

  23. Anonymous August 4, 2013 at 1:35 am

    Whats up! I simply wish to give an enormous thumbs up for the great info you

  24. Ricardo August 15, 2013 at 1:44 am

    Thanks!! You saved my life

  25. Blackvz August 23, 2013 at 3:25 am

    Really usefull ! Finally thanks bro !!!

  26. Papoff September 20, 2013 at 5:18 am

    About “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\”
    I simply don’t have another version of MVS.
    Can somebody send me this WinForm directory?

  27. skulex October 2, 2013 at 1:42 pm

    Thanks. You saved my genitals, because I was planning to sever them and feed them to the crows perched and waiting in the mulberry tree visible from my office window.

Leave A Response

CommentLuv badge