none
Doesn't let me insert a Windows Form in a C++ Empty DLL Project

All replies

  • Have you tried saving it to a different directory ?

    Make a new directory like c:\myprog and save it there.


    n.Wright

    Thursday, January 05, 2017 1:23 AM
  • Hi AshleyLevion,

    Which version of Visual Studio do you use?

    Please check your Visual Studio version first to make sure your Visual Studio has installed the latest update. I'm using Visual Studio 2015 with Update 3, which is working fine when adding Windows Form in C++ Empty DLL project.

    And do you have this issue before? If it works fine before, please try with following steps to troubleshoot this issue.

    1. Run Visual Studio in safe mode to prevents all third-party VSPackages from loading when Visual Studio starts, thus ensuring stable execution. It could help us check whether this issue related to VS packages or not.
    2. Please try with other C++ project to check whether just the Empty DLL project has this issue. If other project could add successful, this issue should be related to VS project template. Please try restore Visual Studio default template with command "devenv /installvstemplates".
    3. Please check the ActiveLog.xml under the path of %AppData%\Microsoft\VisualStudio\14.0. This file will log all operations when you operate Visual Studio. Whether there has any log information when adding Windows Form.

    If this issue occurs after installing Visual Studio, I'm afraid that there has some installation issue. Please try repair your Visual Studio to check whether this issue could be fixed.

    Best Regards,
    Weiwei


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Thursday, January 05, 2017 5:04 AM
    Moderator
  • If you create the Win32 dll project, how about changing the property like the following screen shot using CLR support?

    Best Regards,

    Jack


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Friday, January 27, 2017 8:43 AM
    Moderator