C++ GUI: Install C++ CLR Workloads in Visual Studio | WinForms

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
one of the most communications I cannot mention how is hard to set up this is Studio 2019 for super smash CLR windows forms application development in this video let's see how first we need download the web installer from the official website and I have a link for it in the description below so after the download is done we can launch the installer and it will download some stuff again so after that download is completed it will start installing automatically and after the installation is done we will be able to launch the Visual Studio installer so after you launch that click on use your studio community 2019 and click install after that we can start selecting the components we need so first click on desktop development its it as plus and remove all the unnecessary things that we are not going to use in this series so you can just leave these for and you should be good to go and in the individual components make sure to install the C++ CLS support for version 140 to build tools and you will get all these three components automatically selected now for that you can click download all then install because that's the most efficient way and you can change the installation locations and also from the workloads you can also select all these three items which are commonly used when you are working with C++ however for the most part of this series we are not going to use them so just choose desktop development C++ with C++ CLI support for version 142 build tools so after that you can click install and this will download all the files required and then it will start install it so after downloading is completed it will start installing and after the installation is completed it will prompt us that we should restart our computer to proceed with the installation so just click restart now or whatever and then after your computer screen standard you can launch Visual Studio so go to the Start menu and launch your studio installer and from there you can launch the application so after Visual Studio is launched you can close the Installer if you want you can create a Microsoft account or sign in with your existing one I'm just going to skip that part and I'm going to set the family environment as C++ because that's what I prefer and then we can continue so after a few seconds or Meek's whatever we will get this you studio dialog and from there you can click create your project and now you can search for CLR and you should see two options called CLR and project dotnet core and CLR and project dotnet framework so the dotnet core thing here is used to make dll's libraries but the seller and project based on the Dutton framework is used to create console and other types of applications so in our case GUI applications which use Windows forms so you can choose a location and give your project a name and click create and the project will be created so after that you need to go to project properties and from there go to linker systems and change this subsystem to Windows and from advanced change the entry point to main and next you need to go to project admin item and UI windows form and click Add so after you add the form you should get this error so it's something like that happens you can just close it by the way you should open the my form dot CPP file and paste this code right here after that you can save it and close but when you open my pom dot h if you don't see the form but you see a cord that means there's something wrong with the solution so you can just close Visual Studio or disclose in solution and reopen it and you should be good to go so as you can see the my form is properly loaded so next we can run the application by clicking local business be better and it should work so fortunately first and also we can add stuff to this from the toolbox like buttons and stuff so that's it for this video guys hope you guys enjoyed hope you guys learn something new there's tons of videos on our channel about visual C++ windows forms application development you can check out those and let's meet you in another one and bye for now
Info
Channel: Sciber
Views: 199,915
Rating: undefined out of 5
Keywords: c++, programming, software development, how to install c++ clr in visual studio, c++ clr windows forms template, c++ installation, how to install visual studio 2019 for c++, how to install visual studio 2019 bangla, how to install visual studio 2019 on mac, c++ visual studio, c++ visual studio code, c++ visual studio 2019, c++ visual studio tutorial for beginners, visual studio, windows form, visual studio 2017, installing windows forms in c++ visual studio, visual studio 2019, c#
Id: HcxlYkU8aY0
Channel Id: undefined
Length: 4min 45sec (285 seconds)
Published: Sun Jul 05 2020
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.