windows form CLR application in Visual studio 2012 RC?

前端 未结 5 760
情书的邮戳
情书的邮戳 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:14

    Yes, microsoft has removed the option, here is the response from microsoft (reference):

    C++/CLI is a great solution for interop, but we do not recommend creating brand new UI applications using C++/CLI.

    The workaround provided by the link is:

    1. Create an empty C++ solution with both 2012RC and MSVC2010 Express.
    2. Using 2010 Express, create a new WinForm App project inside the folder of the 2012RC empty solution. Close all saving.
    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 project to convert it to 2012RC "format"

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

提交回复
热议问题