{"id":832,"date":"2023-08-14T04:59:43","date_gmt":"2023-08-14T04:59:43","guid":{"rendered":"https:\/\/www.devopssupport.in\/blog\/?p=832"},"modified":"2023-08-14T04:59:45","modified_gmt":"2023-08-14T04:59:45","slug":"flutter-error-visual-studio-is-missing-necessary-components-2","status":"publish","type":"post","link":"https:\/\/www.devopssupport.in\/blog\/flutter-error-visual-studio-is-missing-necessary-components-2\/","title":{"rendered":"Flutter error: Visual Studio is missing necessary components"},"content":{"rendered":"\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"139\" src=\"https:\/\/www.devopssupport.in\/blog\/wp-content\/uploads\/2023\/08\/image-2-1024x139.png\" alt=\"\" class=\"wp-image-833\" srcset=\"https:\/\/www.devopssupport.in\/blog\/wp-content\/uploads\/2023\/08\/image-2-1024x139.png 1024w, https:\/\/www.devopssupport.in\/blog\/wp-content\/uploads\/2023\/08\/image-2-300x41.png 300w, https:\/\/www.devopssupport.in\/blog\/wp-content\/uploads\/2023\/08\/image-2-768x104.png 768w, https:\/\/www.devopssupport.in\/blog\/wp-content\/uploads\/2023\/08\/image-2-850x115.png 850w, https:\/\/www.devopssupport.in\/blog\/wp-content\/uploads\/2023\/08\/image-2.png 1311w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>[!] Visual Studio &#8211; develop for Windows (Visual Studio Community 2022 17.6.5)<br>\u2717 Visual Studio is missing necessary components. Please re-run the Visual Studio installer for the &#8220;Desktop<br>development with C++&#8221; workload, and include these components:<br>MSVC v142 &#8211; VS 2019 C++ x64\/x86 build tools<br>&#8211; If there are multiple build tool versions available, install the latest<br>C++ CMake tools for Windows<br>Windows 10 SDK<\/p>\n\n\n\n<p>If you are trying to develop C++ applications in Visual Studio and you receive the error message &#8220;Visual Studio is missing necessary components&#8221;, it means that Visual Studio does not have all of the necessary components installed to build and run your C++ projects.<\/p>\n\n\n\n<p>The specific components that are missing will vary depending on the version of Visual Studio that you are using and the type of C++ projects that you are trying to build. However, the most common missing components are MSVC v142 &#8211; VS 2019 C++ x64\/x86 build tools, C++ CMake tools for Windows, Windows 10 SDK. <\/p>\n\n\n\n<p>To fix this error, you can either re-run the Visual Studio installer and select the &#8220;Desktop development with C++&#8221; workload, or you can manually install the missing components.<\/p>\n\n\n\n<p>To re-run the Visual Studio installer, go to the Visual Studio website and download the latest version of the installer. Once the installer has downloaded, run it and select the &#8220;Desktop development with C++&#8221; workload.<\/p>\n\n\n\n<p>To manually install the missing components, you can open the Visual Studio Installer and go to the &#8220;Individual components&#8221; tab. In the &#8220;Individual components&#8221; tab, you can select the missing components and click on the &#8220;Install&#8221; button.<\/p>\n\n\n\n<p>Once the missing components have been installed, you should be able to build and run your C++ projects without any errors.<\/p>\n\n\n\n<p>Make sure that you are using the latest version of Visual Studio. Older versions of Visual Studio may not have the necessary components to build and run C++ projects.<\/p>\n\n\n\n<p>If you are still getting the error message after you have re-run the Visual Studio installer or manually installed the missing components, you may need to contact Microsoft support for assistance.<\/p>\n\n\n\n<p>You can find more information about the Visual Studio installer and the individual components that are available for installation on the Visual Studio website: https:\/\/visualstudio.microsoft.com\/downloads\/.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>[!] Visual Studio &#8211; develop for Windows (Visual Studio Community 2022 17.6.5)\u2717 Visual Studio is missing necessary components. Please re-run the Visual Studio installer for the &#8220;Desktopdevelopment&#8230; <\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-832","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.devopssupport.in\/blog\/wp-json\/wp\/v2\/posts\/832","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.devopssupport.in\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devopssupport.in\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devopssupport.in\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devopssupport.in\/blog\/wp-json\/wp\/v2\/comments?post=832"}],"version-history":[{"count":2,"href":"https:\/\/www.devopssupport.in\/blog\/wp-json\/wp\/v2\/posts\/832\/revisions"}],"predecessor-version":[{"id":836,"href":"https:\/\/www.devopssupport.in\/blog\/wp-json\/wp\/v2\/posts\/832\/revisions\/836"}],"wp:attachment":[{"href":"https:\/\/www.devopssupport.in\/blog\/wp-json\/wp\/v2\/media?parent=832"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopssupport.in\/blog\/wp-json\/wp\/v2\/categories?post=832"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopssupport.in\/blog\/wp-json\/wp\/v2\/tags?post=832"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}