{"id":710,"date":"2023-07-08T17:59:00","date_gmt":"2023-07-08T17:59:00","guid":{"rendered":"https:\/\/www.devopssupport.in\/blog\/?p=710"},"modified":"2023-07-08T06:08:34","modified_gmt":"2023-07-08T06:08:34","slug":"flutter-error-visual-studio-is-missing-necessary-components","status":"publish","type":"post","link":"https:\/\/www.devopssupport.in\/blog\/flutter-error-visual-studio-is-missing-necessary-components\/","title":{"rendered":"Flutter error: Visual Studio is missing necessary components"},"content":{"rendered":"\n<p><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"215\" src=\"https:\/\/www.devopssupport.in\/blog\/wp-content\/uploads\/2023\/07\/image-2-1024x215.png\" alt=\"\" class=\"wp-image-712\" srcset=\"https:\/\/www.devopssupport.in\/blog\/wp-content\/uploads\/2023\/07\/image-2-1024x215.png 1024w, https:\/\/www.devopssupport.in\/blog\/wp-content\/uploads\/2023\/07\/image-2-300x63.png 300w, https:\/\/www.devopssupport.in\/blog\/wp-content\/uploads\/2023\/07\/image-2-768x162.png 768w, https:\/\/www.devopssupport.in\/blog\/wp-content\/uploads\/2023\/07\/image-2-850x179.png 850w, https:\/\/www.devopssupport.in\/blog\/wp-content\/uploads\/2023\/07\/image-2.png 1074w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>The error message suggests that your Visual Studio installation is missing some necessary components for Windows development with C++. To resolve this issue, you can follow these steps:<\/p>\n\n\n\n<p>Open the Visual Studio Installer. You can find it in your Start menu or by searching for &#8220;Visual Studio Installer.&#8221;<\/p>\n\n\n\n<p>In the Visual Studio Installer, locate the installation instance of Visual Studio Community 2022 17.6.4 and click on the &#8220;Modify&#8221; button.<\/p>\n\n\n\n<p>In the Workloads tab, scroll down or search for &#8220;Desktop development with C++&#8221; workload.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"508\" src=\"https:\/\/www.devopssupport.in\/blog\/wp-content\/uploads\/2023\/07\/image-3-1024x508.png\" alt=\"\" class=\"wp-image-713\" srcset=\"https:\/\/www.devopssupport.in\/blog\/wp-content\/uploads\/2023\/07\/image-3-1024x508.png 1024w, https:\/\/www.devopssupport.in\/blog\/wp-content\/uploads\/2023\/07\/image-3-300x149.png 300w, https:\/\/www.devopssupport.in\/blog\/wp-content\/uploads\/2023\/07\/image-3-768x381.png 768w, https:\/\/www.devopssupport.in\/blog\/wp-content\/uploads\/2023\/07\/image-3-850x422.png 850w, https:\/\/www.devopssupport.in\/blog\/wp-content\/uploads\/2023\/07\/image-3.png 1237w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Make sure the following components are selected within the &#8220;Desktop development with C++&#8221; workload:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>MSVC v142 &#8211; VS 2019 C++ x64\/x86 build tools (install the latest available version if multiple options are presented)<\/li>\n\n\n\n<li>C++ CMake tools for Windows<\/li>\n\n\n\n<li>Windows 10 SDK<\/li>\n<\/ul>\n\n\n\n<p>Click the &#8220;Modify&#8221; button to install the selected components.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"905\" height=\"392\" src=\"https:\/\/www.devopssupport.in\/blog\/wp-content\/uploads\/2023\/07\/image-4.png\" alt=\"\" class=\"wp-image-714\" srcset=\"https:\/\/www.devopssupport.in\/blog\/wp-content\/uploads\/2023\/07\/image-4.png 905w, https:\/\/www.devopssupport.in\/blog\/wp-content\/uploads\/2023\/07\/image-4-300x130.png 300w, https:\/\/www.devopssupport.in\/blog\/wp-content\/uploads\/2023\/07\/image-4-768x333.png 768w, https:\/\/www.devopssupport.in\/blog\/wp-content\/uploads\/2023\/07\/image-4-850x368.png 850w\" sizes=\"auto, (max-width: 905px) 100vw, 905px\" \/><\/figure>\n\n\n\n<p>Wait for the installation process to complete. It may take some time depending on your system and internet connection.<\/p>\n\n\n\n<p>Once the installation is finished, you should have the necessary components for Windows development with C++ in Visual Studio. You can then try running your project again to see if the error has been resolved.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The error message suggests that your Visual Studio installation is missing some necessary components for Windows development with C++. To resolve this issue, you can follow these&#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":[232,231,233,234],"class_list":["post-710","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-flutter-error","tag-visual-studio","tag-visual-studio-is-missing-necessary-components","tag-windows-development-with-c"],"_links":{"self":[{"href":"https:\/\/www.devopssupport.in\/blog\/wp-json\/wp\/v2\/posts\/710","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=710"}],"version-history":[{"count":1,"href":"https:\/\/www.devopssupport.in\/blog\/wp-json\/wp\/v2\/posts\/710\/revisions"}],"predecessor-version":[{"id":715,"href":"https:\/\/www.devopssupport.in\/blog\/wp-json\/wp\/v2\/posts\/710\/revisions\/715"}],"wp:attachment":[{"href":"https:\/\/www.devopssupport.in\/blog\/wp-json\/wp\/v2\/media?parent=710"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopssupport.in\/blog\/wp-json\/wp\/v2\/categories?post=710"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopssupport.in\/blog\/wp-json\/wp\/v2\/tags?post=710"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}