So, I'm in awkward situation - I wanted to create Windows Form App using Visual Studio, but I can't find any place to create Visual C++ Windows Form template. I tried even to reinstall Visual C++, add other libraries and search answer online - no results.
I can of course create new Winforms in C#:
But not in C++:
Also, all possible modules in Visual Studio Update was checked:
I tried even add template from Online list:
What should I do next? I use Visual Studio 2017 Community Edition.
Choose the menu item “Visual C++|UI”, and select the item “Windows Form”. Click the Add button.
Ok, I found a working way to creating Windows Forms in Visual Studio 2017.
Add .cpp file for main function.
In project add new item from UI->Windows Forms:
(If we didn't add main loop before the error will occur)
Also we need to tell Visual Studio that we are making Windows Application instead of Console Application:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With