windows form CLR application in Visual studio 2012 RC?

前端 未结 5 755
情书的邮戳
情书的邮戳 2020-12-14 09:35

quick question, im just trying out VS2012 and trying to make a c++.net app but for the life of me i cant find the option anymore when making a new project.

In vs200

5条回答
  •  無奈伤痛
    2020-12-14 10:09

    Creating the template by yours self:

    1. Create an empty C++ solution with both 2012RC (New Project -> Other Project Types -> Visual Studio Solutions -> Blank Solution) and MSVC2010 Express (New Project -> Visual C++ -> Empty Project).
    2. Using 2010 Express, create a new Windows Form App project (name it “myWForm11” or so) inside the folder of the 2012RC empty solution. Close 2010 Express saving all.
    3. Using 2012RC and the "add existing project", add the 2010 Express-WinForm App project into the empty 2012RC solution.
    4. Right click on the solution to upgrade VC++ projects to 2012RC "format"
    5. FILE -> Export Template ... -> Next> Type in Template name: "Windows Form App, C++ 2012RC" or so and some description too.
    6. Finish
    7. Close solution

    Now you can create WF App in 2012RC “as always” (New Project -> Installed -> Templates -> Visual C++ -> Windows Form App, C++ 2012RC).

    It works and it is simple! But I don’t know all the consequences.

提交回复
热议问题