{"id":250651,"date":"2024-09-18T09:08:38","date_gmt":"2024-09-18T16:08:38","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/visualstudio\/?p=250651"},"modified":"2024-09-18T09:08:38","modified_gmt":"2024-09-18T16:08:38","slug":"multi-project-launch-configuration","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/visualstudio\/multi-project-launch-configuration\/","title":{"rendered":"Multi-Project Launch Configuration"},"content":{"rendered":"<p>Are you tired of the hassle of manually configuring your development environment every time you want to launch multiple projects? We&#8217;ve heard your feedback and are thrilled to announce a feature in Visual Studio that simplifies your workflow.<\/p>\n<p>The Multi-Project Launch Configuration feature in Visual Studio allows developers to set up and save profiles for launching specific projects within a multi-project solution in predefined states for debugging. This simplifies the process of working with complex solutions, improves debugging efficiency, and enables easy sharing of configurations among team members.<\/p>\n<p><img decoding=\"async\" width=\"800\" height=\"398\" class=\"wp-image-250652\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/09\/video-titled-multi-project-config-mov.jpeg\" alt=\"Video titled: Multi-Project Config.mov\" srcset=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/09\/video-titled-multi-project-config-mov.jpeg 800w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/09\/video-titled-multi-project-config-mov-300x149.jpeg 300w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/09\/video-titled-multi-project-config-mov-768x382.jpeg 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/p>\n<h2>Enabling Multi Launch Profile:<\/h2>\n<p>The Multi-Project Launch Configuration is available in version 17.11. Enable the feature flag with the instructions below to start using it.<\/p>\n<p>In Visual Studio, navigate to <strong>Tools &gt; Options &gt; Preview Features<\/strong> and toggle the checkbox for <strong>&#8220;Enable Multi Launch Profiles&#8221;<\/strong> to activate the feature.<\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-250653\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/09\/word-image-250651-2.png\" alt=\"image of a checkbox selection for enabling Multi-Project Launch\" width=\"1168\" height=\"130\" srcset=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/09\/word-image-250651-2.png 1168w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/09\/word-image-250651-2-300x33.png 300w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/09\/word-image-250651-2-1024x114.png 1024w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/09\/word-image-250651-2-768x85.png 768w\" sizes=\"(max-width: 1168px) 100vw, 1168px\" \/><\/p>\n<h2>Creating Multi Launch Profile:<\/h2>\n<ul>\n<li>Open your Visual Studio solution that contains multiple projects.<\/li>\n<li>Go to the &#8220;Solution Explorer&#8221; on the right side of the Visual Studio window.<\/li>\n<li>Right-click on your solution (the top-level item in the Solution Explorer) and select &#8220;Configure Startup Projects&#8230;&#8221;.<\/li>\n<\/ul>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/09\/word-image-250651-3.jpeg\"><img decoding=\"async\" class=\"alignleft wp-image-250654 size-large\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/09\/word-image-250651-3-571x1024.jpeg\" alt=\"Image of Solution explorer with Configure Startup Projects highlighted\" width=\"571\" height=\"1024\" srcset=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/09\/word-image-250651-3-571x1024.jpeg 571w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/09\/word-image-250651-3-167x300.jpeg 167w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/09\/word-image-250651-3.jpeg 768w\" sizes=\"(max-width: 571px) 100vw, 571px\" \/><\/a><\/p>\n<ul>\n<li>In the Solution Property Pages, click on the &#8220;Common Properties&#8221; tab, and select &#8220;Configure Startup Projects&#8221;.<\/li>\n<\/ul>\n<p><img decoding=\"async\" class=\"alignnone wp-image-250655\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/09\/word-image-250651-4.png\" alt=\"In the Solution Property Pages, Common Properties tab, Configure Startup Projects, Select Multiple startup projects\" width=\"1428\" height=\"787\" srcset=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/09\/word-image-250651-4.png 1428w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/09\/word-image-250651-4-300x165.png 300w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/09\/word-image-250651-4-1024x564.png 1024w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/09\/word-image-250651-4-768x423.png 768w\" sizes=\"(max-width: 1428px) 100vw, 1428px\" \/><\/p>\n<ul>\n<li>In the &#8220;Configure Startup Projects&#8221; section, choose the &#8220;Multiple startup projects&#8221; radio button.<\/li>\n<li>Below the radio button, you&#8217;ll see a list of all the projects in your solution.<\/li>\n<li>Set the action for each project to either &#8220;Start,&#8221; &#8220;Start without debugging,&#8221; or &#8220;None,&#8221; and select debug target depending on your requirements.<\/li>\n<\/ul>\n<p><img decoding=\"async\" class=\"alignnone wp-image-250656\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/09\/word-image-250651-5.png\" alt=\"Image selecting a project and selecting &quot;Start&quot; as action\" width=\"1004\" height=\"562\" srcset=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/09\/word-image-250651-5.png 1004w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/09\/word-image-250651-5-300x168.png 300w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/09\/word-image-250651-5-768x430.png 768w\" sizes=\"(max-width: 1004px) 100vw, 1004px\" \/><\/p>\n<ul>\n<li>Enabling the &#8220;Share Profile&#8221; checkbox allows you to share the profile with the team by checking it into the config file in the Source Control repo.<\/li>\n<li>Launch profiles are saved to a JSON file in the same directory as the solution. The &#8220;Share Profile&#8221; checkbox determines whether the profile is saved to a user-specific file (unchecked) or to a file intended for source control tracking, such as in Git (checked).<\/li>\n<\/ul>\n<p><img decoding=\"async\" class=\"alignnone wp-image-250657\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/09\/word-image-250651-6.png\" alt=\"Image of multiple projects being selected as &quot;Start&quot;\" width=\"1144\" height=\"640\" srcset=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/09\/word-image-250651-6.png 1144w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/09\/word-image-250651-6-300x168.png 300w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/09\/word-image-250651-6-1024x573.png 1024w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/09\/word-image-250651-6-768x430.png 768w\" sizes=\"(max-width: 1144px) 100vw, 1144px\" \/><\/p>\n<ul>\n<li>Once you&#8217;ve configured the startup action for each project, click the &#8220;OK&#8221; or \u201cApply\u201d button to save the profile.<\/li>\n<li>The created launch profile appears in the toolbar dropdown list, allowing you to select the profile you want to debug.<\/li>\n<\/ul>\n<p><img decoding=\"async\" class=\"alignnone wp-image-250658\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/09\/word-image-250651-7.png\" alt=\"Image of Feature Profile dropdown showing multiple projects to start debugging\" width=\"1348\" height=\"373\" srcset=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/09\/word-image-250651-7.png 1348w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/09\/word-image-250651-7-300x83.png 300w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/09\/word-image-250651-7-1024x283.png 1024w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/09\/word-image-250651-7-768x213.png 768w\" sizes=\"(max-width: 1348px) 100vw, 1348px\" \/><\/p>\n<h2><strong>Engage with us!<\/strong><\/h2>\n<p>We would love to get your feedback on Multi Project Config, so please give it a try and let us know what you think! You can share any feedback via <a href=\"https:\/\/developercommunity.visualstudio.com\/t\/Multi-Project-Launch-Profile\/10718866?port=1026&amp;fsid=36ee495a-55f3-4b4d-ab62-71afa2d825f9\">Developer Community<\/a> to help us make Visual Studio better for you!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Are you tired of the hassle of manually configuring your development environment every time you want to launch multiple projects? We&#8217;ve heard your feedback and are thrilled to announce a feature in Visual Studio that simplifies your workflow. The Multi-Project Launch Configuration feature in Visual Studio allows developers to set up and save profiles for [&hellip;]<\/p>\n","protected":false},"author":105722,"featured_media":250653,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[6963,155],"tags":[],"class_list":["post-250651","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-productivity","category-visual-studio"],"acf":[],"blog_post_summary":"<p>Are you tired of the hassle of manually configuring your development environment every time you want to launch multiple projects? We&#8217;ve heard your feedback and are thrilled to announce a feature in Visual Studio that simplifies your workflow. The Multi-Project Launch Configuration feature in Visual Studio allows developers to set up and save profiles for [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts\/250651","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/users\/105722"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/comments?post=250651"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts\/250651\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/media\/250653"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/media?parent=250651"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/categories?post=250651"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/tags?post=250651"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}