none
UI not visible in ADD Item in Visual Studio 2019 RRS feed

  • Question

  • I am new to Visual Studio. I want to create first Windows Application with UI. But, there is no option for UI under Projects/ Add new Item/....

    Please guide , how to add UI.

    Monday, August 26, 2019 2:48 AM

All replies

  • In order to create an application that offers UI, choose an appropriate project type in “Create a new project” dialog. Some of the popular types:

    • Windows Forms App (.NET Framework)
    • WPF App (.NET Framework)
    • Universal Windows Platform App

     

    You can choose C# or VB language.

    If you do not see these projects, then probably your Visual Studio is incomplete. You will have to install the missing components using Visual Studio Installer.

    For example, you can start with Windows Form App. Then you will see the main form, where you can place your UI controls: buttons, textboxes, etc., which can be found in Toolbox. You can also add more forms.

    Give some details about your type of project.

    • Edited by Viorel_MVP Monday, August 26, 2019 6:18 AM
    Monday, August 26, 2019 6:14 AM
  • Hi mexcoindia,

    Did you create a Windows Form App?

    If so, the UI controls are in the ToolBox in the menu View-->ToolBox and then drag the control you want into the form.

    If you do not create a winform project,  please check the installer and make sure all the tools in the Workloads desktop development  are installed successfully. 

    If l misunderstand your issue, please provide more information about your project type and some screenshots.

    Any feedback will be expected.

    Best Regards,

    Perry


    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

    Monday, August 26, 2019 8:54 AM
  • Hi friend,

    Any update for this issue? Sorry to disturb and just want to confirm if this issue is solved or not. 

    And please check if Viorel's or Perry's reply helps to resolve your issue, if so, you can consider marking it as answer to indicate this issue is resolved, which benefit other members with similar issue.

    As for the issue you get:

    Not sure what project type you refer to, as I know there're several projects types related to UI in Windows app. Such as winform(C#,VB). wpf(C#,VB), uwp(C#,VB,C++)... 

    And if you can't find the UI designer window, for winform project please double-click the Form1.cs file. For wpf and UWP project, you can double-click the xx.xaml file to open the designer.

    After that, you don't need to add UI by Projects/Add new item, you can find the UI controls you need in Toolbox like what Perry suggested, and just drag the control to your designer window. 

    Look forward to your reply. Have a nice day!

    Sincerely

    Lance


    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.

    Wednesday, August 28, 2019 6:04 AM
  • Hi friend,

    Did your issue solve? Do you have any update? If your issue persists, please feel free to let us know.

    We are willing to help you further.

    Thanks for your understanding.

    Best Regards,

    Perry


    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, August 29, 2019 10:46 AM