{"id":2775,"date":"2022-04-15T08:19:30","date_gmt":"2022-04-15T06:19:30","guid":{"rendered":"https:\/\/store.algosyntax.com\/?post_type=asx-lms-tutorial-cpt&#038;p=2775"},"modified":"2026-03-09T21:24:58","modified_gmt":"2026-03-09T19:24:58","slug":"ue5-visual-studio-2019-must-be-installed-in-order-to-build-this-target","status":"publish","type":"asx-lms-tutorial-cpt","link":"https:\/\/store.algosyntax.com\/tutorials\/unreal-engine\/ue5-visual-studio-2019-must-be-installed-in-order-to-build-this-target\/","title":{"rendered":"UE5 Visual Studio 2019 must be installed in order to build this target"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"2775\" class=\"elementor elementor-2775\" data-elementor-post-type=\"asx-lms-tutorial-cpt\">\n\t\t\t\t<div class=\"elementor-element elementor-element-5518a34 e-con-full e-flex e-con e-parent\" data-id=\"5518a34\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-6560859 elementor-widget elementor-widget-text-editor\" data-id=\"6560859\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t<p>In this tutorial we discuss how to fix the visual studio XXXX must be installed error, why it occurs, and in which situations you are most likely to get the error.<\/p><p>\u00a0<\/p><p>You may have just upgraded or downgraded either your Visual Studio version or your unreal engine version and got met with this error. The following steps will help you debug and troubleshoot what&#8217;s causing Unreal Engine not to find your installed Visual studio version 2017,2019,2022 or any future Visual Studio versions.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-f038a8f elementor-widget elementor-widget-heading\" data-id=\"f038a8f\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Full Solution Steps<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-b683d5b elementor-widget elementor-widget-heading\" data-id=\"b683d5b\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">Unreal Build Configuration<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-005578c elementor-widget elementor-widget-text-editor\" data-id=\"005578c\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t<p>You need to open the <strong>unrealbuildconfiguration.xm<\/strong>l to set the new version of Visual Studio. The file\u00a0 can be located at one of <strong>the following locations <\/strong><\/p><ul><li>Engine\/Saved\/UnrealBuildTool\/BuildConfiguration.xml<\/li><li><strong>User Folder\/AppData<\/strong>\/Roaming\/Unreal Engine \/ UnrealBuildTool\/ BuildConfiguration.xml<\/li><li><strong>My Documents<\/strong>\/Unreal Engine\/UnrealBuildTool\/BuildConfiguration.xml<\/li><\/ul>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-0394bc4 elementor-widget elementor-widget-heading\" data-id=\"0394bc4\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">VCProjectFileGenerator Setting<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-770ce5f elementor-widget elementor-widget-theme-post-featured-image elementor-widget-image\" data-id=\"770ce5f\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"theme-post-featured-image.default\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img fetchpriority=\"high\" decoding=\"async\" width=\"979\" height=\"431\" src=\"https:\/\/store.algosyntax.com\/wp-content\/uploads\/tutorials\/unreal-engine\/unreal-build-tool\/ue5-set-visual-studio-for-building.png\" class=\"attachment-full size-full wp-image-2866\" alt=\"UE5 Set visual studio for building\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-bf491aa elementor-widget elementor-widget-text-editor\" data-id=\"bf491aa\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t<p>Inside the XML file, you have to look for and change the value of the VCProjectFileGenerator to your required Visual Studio version. This is denoted by using the Year of the VC version. Here is what it should look like for VS 2022 :<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-65c211b elementor-widget elementor-widget-code-highlight\" data-id=\"65c211b\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t\t\t\t<div class=\"prismjs-tomorrow copy-to-clipboard \">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-xml \">\n\t\t\t\t<code readonly=\"true\" class=\"language-xml\">\n\t\t\t\t\t<xmp><VCProjectFileGenerator>\r\n    <Version>VisualStudio2022<\/Version>\r\n<\/VCProjectFileGenerator>\r\n<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-b1f665a elementor-widget elementor-widget-heading\" data-id=\"b1f665a\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">WindowsPlatform XML Setting<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-114f2be elementor-widget elementor-widget-text-editor\" data-id=\"114f2be\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t<p>Still, inside the unreal buildconfiguration.xml file, you have to find and change the value of the WindowsPlatform to your required Visual Studio version. This is what it should look like for VS 2022 :<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-24006f0 elementor-widget elementor-widget-code-highlight\" data-id=\"24006f0\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t\t\t\t<div class=\"prismjs-tomorrow copy-to-clipboard \">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-xml \">\n\t\t\t\t<code readonly=\"true\" class=\"language-xml\">\n\t\t\t\t\t<xmp><WindowsPlatform>\r\n    <Compiler>VisualStudio2022<\/Compiler>\r\n<\/WindowsPlatform>\r\n<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-f3cb878 elementor-widget elementor-widget-heading\" data-id=\"f3cb878\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Conclusion<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-c6a10c2 elementor-widget elementor-widget-text-editor\" data-id=\"c6a10c2\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t<p>If following the above steps doesn&#8217;t work, removing other buildconfiguration.xml files from the above path and only leaving 1 might help. That&#8217;s because unreal engine uses only one of these and it makes sense for just 1 to be available. You can delete the others and see if it helps.<\/p><p>You can read more about the unreal buildconfiguration.xml file here:<\/p><p>REFERENCE : <a href=\"https:\/\/docs.unrealengine.com\/4.27\/en-US\/ProductionPipelines\/BuildTools\/UnrealBuildTool\/BuildConfiguration\/\" target=\"_blank\" rel=\"noopener\">https:\/\/docs.unrealengine.com\/4.27\/en-US\/ProductionPipelines\/BuildTools\/UnrealBuildTool\/BuildConfiguration\/<\/a><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"featured_media":2866,"template":"","asx-lms-tutorial-categories":[48,45],"asx-lms-tutorial-tags":[46,51,54],"class_list":["post-2775","asx-lms-tutorial-cpt","type-asx-lms-tutorial-cpt","status-publish","has-post-thumbnail","hentry","asx-lms-tutorial-categories-unreal-build-tool","asx-lms-tutorial-categories-unreal-engine","asx-lms-tutorial-tags-cpp","asx-lms-tutorial-tags-errors","asx-lms-tutorial-tags-visual-studio","entry","has-media"],"acf":[],"_links":{"self":[{"href":"https:\/\/store.algosyntax.com\/asx-rest\/wp\/v2\/asx-lms-tutorial-cpt\/2775","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/store.algosyntax.com\/asx-rest\/wp\/v2\/asx-lms-tutorial-cpt"}],"about":[{"href":"https:\/\/store.algosyntax.com\/asx-rest\/wp\/v2\/types\/asx-lms-tutorial-cpt"}],"version-history":[{"count":0,"href":"https:\/\/store.algosyntax.com\/asx-rest\/wp\/v2\/asx-lms-tutorial-cpt\/2775\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/store.algosyntax.com\/asx-rest\/wp\/v2\/media\/2866"}],"wp:attachment":[{"href":"https:\/\/store.algosyntax.com\/asx-rest\/wp\/v2\/media?parent=2775"}],"wp:term":[{"taxonomy":"asx-lms-tutorial-categories","embeddable":true,"href":"https:\/\/store.algosyntax.com\/asx-rest\/wp\/v2\/asx-lms-tutorial-categories?post=2775"},{"taxonomy":"asx-lms-tutorial-tags","embeddable":true,"href":"https:\/\/store.algosyntax.com\/asx-rest\/wp\/v2\/asx-lms-tutorial-tags?post=2775"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}