tag:blogger.com,1999:blog-7047064829862840547.post2113647217358652718..comments2024-03-24T16:02:17.951+01:00Comments on Matthias Kraaz' blog: Visual Studio: Setting multiple startup projects via macroMatthias Kraazhttp://www.blogger.com/profile/05817248726471959204noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-7047064829862840547.post-47880113477961366572019-02-26T05:47:29.922+01:002019-02-26T05:47:29.922+01:00Tom Paschenda's post is online again. Anyway, ...Tom Paschenda's post is online again. Anyway, this is his example code:<br /><br />Public Sub SetMyStartupProjects() <br /><br /> 'Create an array and fill it with the startup projects you would like to set<br /> Dim StartupProjectsArray As Object = System.Array.CreateInstance(GetType(Object), 3)<br /> StartupProjectsArray(0) = "MyProj1.vcxproj"<br /> StartupProjectsArray(1) = "MyProj2.vcxproj"<br /> StartupProjectsArray(2) = "MyProj3.vcxproj"<br /><br /> 'Set the startup projects of the current solution<br /> Dim CurrentSolutionBuild As SolutionBuild = DTE.Solution.SolutionBuild<br /> CurrentSolutionBuild.StartupProjects = StartupProjectsArray<br /><br />End subMatthias Kraazhttps://www.blogger.com/profile/05817248726471959204noreply@blogger.comtag:blogger.com,1999:blog-7047064829862840547.post-79160592823375492832019-02-01T19:55:15.434+01:002019-02-01T19:55:15.434+01:00I am also interested in the ability to set multipl...I am also interested in the ability to set multiple startup projects via DTE ... but Tom Paschenda's post appears to no longer be available. Can you provide any additional information on what the solution was?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7047064829862840547.post-77820166785823550962012-01-17T06:08:56.780+01:002012-01-17T06:08:56.780+01:00Finally! Thanks, TomFinally! Thanks, TomMatthias Kraazhttps://www.blogger.com/profile/05817248726471959204noreply@blogger.comtag:blogger.com,1999:blog-7047064829862840547.post-47449330891471282322012-01-16T22:50:28.872+01:002012-01-16T22:50:28.872+01:00Hi Matthias!
Thanks yor your post.
In Visual Stu...Hi Matthias!<br /><br />Thanks yor your post. <br />In Visual Studio 2010, multiple startup projects are indeed possible. One needs to really use the right types though.<br />I 've summarized my findings here:<br />http://tom.paschenda.org/blog/?p=44<br /><br />Regards<br />TomAnonymousnoreply@blogger.com