<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Team Build DevEnv Task</title><link>http://blogs.msdn.com/aaronhallberg/archive/2007/07/12/team-build-devenv-task.aspx</link><description>Because many Visual Studio project types are not supported in MSBuild, many Team Build users end up needing to invoke DevEnv directly. There is a fair amount of confusion about how to do this best / simplest - I've written two posts ( here and here )</description><dc:language>en</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>How to build projects in Team Build that only Visual Studio can build</title><link>http://blogs.msdn.com/aaronhallberg/archive/2007/07/12/team-build-devenv-task.aspx#3847327</link><pubDate>Fri, 13 Jul 2007 16:27:28 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3847327</guid><dc:creator>Buck Hodges</dc:creator><description>&lt;p&gt;Aaron has written a great post on using Visual Studio (devenv) from within Team Build as part of the&lt;/p&gt;
</description></item><item><title>How to build projects in Team Build that only Visual Studio can build</title><link>http://blogs.msdn.com/aaronhallberg/archive/2007/07/12/team-build-devenv-task.aspx#3848284</link><pubDate>Fri, 13 Jul 2007 17:16:28 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3848284</guid><dc:creator>Noticias externas</dc:creator><description>&lt;p&gt;Aaron has written a great post on using Visual Studio (devenv) from within Team Build as part of the&lt;/p&gt;
</description></item><item><title>re: Team Build DevEnv Task</title><link>http://blogs.msdn.com/aaronhallberg/archive/2007/07/12/team-build-devenv-task.aspx#3902486</link><pubDate>Tue, 17 Jul 2007 01:31:23 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3902486</guid><dc:creator>curedone</dc:creator><description>&lt;p&gt;Aaron,&lt;/p&gt;
&lt;p&gt;That's all wonderful, but what about the current version almost _everyone_ is using? I mean, it would be nice to use your task in a year or so (and I am talking about early adopters), but for most of us it is pretty worthless.&lt;/p&gt;
&lt;p&gt;What's the reason it cannot be done for VS2005?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;</description></item><item><title>re: Team Build DevEnv Task</title><link>http://blogs.msdn.com/aaronhallberg/archive/2007/07/12/team-build-devenv-task.aspx#3913486</link><pubDate>Tue, 17 Jul 2007 15:16:07 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3913486</guid><dc:creator>aaronhallberg</dc:creator><description>&lt;p&gt;I appreciate the comment, and acknowledge that not too many people are using VS 2008 as of yet... &amp;nbsp;Beta 2 is being released here shortly, however, and it will be a Go Live license (meaning it will be fully supported). &amp;nbsp;I would strongly encourage any heavy users of Team Build to upgrade as soon as they can - there are a *ton* of new features in this new version (see my post &lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/aaronhallberg/archive/2007/03/21/orcas-changes.aspx"&gt;http://blogs.msdn.com/aaronhallberg/archive/2007/03/21/orcas-changes.aspx&lt;/a&gt;, for example).&lt;/p&gt;
&lt;p&gt;For those of you for whom this is not an option, most of the logic of the task would remain the same for VS 2005. &amp;nbsp;The only bits that would need to change would be the VS 2008 OM code - obviously this would need to use the VS 2005 web service proxy instead. &amp;nbsp;If I have some time, I'll try to slap this together in a subsequent post. &amp;nbsp;If anybody else out there has some time, I would love to just post a link instead!&lt;/p&gt;
&lt;p&gt;-Aaron&lt;/p&gt;
</description></item><item><title>Building Ant projects with Team Foundation Build</title><link>http://blogs.msdn.com/aaronhallberg/archive/2007/07/12/team-build-devenv-task.aspx#6647907</link><pubDate>Tue, 04 Dec 2007 02:32:35 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6647907</guid><dc:creator>Buck Hodges</dc:creator><description>&lt;p&gt;Martin Woodward has written a post on using Ant within Team Build 2008 and 2005. He includes an initial&lt;/p&gt;
</description></item><item><title>Building Ant projects with Team Foundation Build</title><link>http://blogs.msdn.com/aaronhallberg/archive/2007/07/12/team-build-devenv-task.aspx#6648001</link><pubDate>Tue, 04 Dec 2007 02:59:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6648001</guid><dc:creator>Noticias externas</dc:creator><description>&lt;p&gt;Martin Woodward has written a post on using Ant within Team Build 2008 and 2005. He includes an initial&lt;/p&gt;
</description></item><item><title>re: Team Build DevEnv Task</title><link>http://blogs.msdn.com/aaronhallberg/archive/2007/07/12/team-build-devenv-task.aspx#8003118</link><pubDate>Mon, 03 Mar 2008 17:48:54 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8003118</guid><dc:creator>julius.bichage</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;What does the 'setup1' in the code snippet represent?&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;&amp;lt;!-- Copy all compilation outputs for the solution AND the setup project to the Team Build out dir&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; so that they are copied to the drop location, can be found by unit tests, etc.&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;--&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;&amp;lt;ItemGroup&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;SolutionOutputs Condition=&amp;quot; '%(CompilationOutputs.Solution)' == '$(Solution)' &amp;quot; Include=&amp;quot;%(RootDir)%(Directory)**\*.*&amp;quot; /&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;SolutionOutputs Include=&amp;quot;$(SolutionRoot)\Setup1\$(Configuration)\**\*.*&amp;quot; /&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;&amp;lt;/ItemGroup&lt;/p&gt;
&lt;p&gt;Julius Angwenyi&lt;/p&gt;
</description></item><item><title>re: Team Build DevEnv Task</title><link>http://blogs.msdn.com/aaronhallberg/archive/2007/07/12/team-build-devenv-task.aspx#8028483</link><pubDate>Tue, 04 Mar 2008 18:46:04 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8028483</guid><dc:creator>preusst@coned.com</dc:creator><description>&lt;p&gt;Aaron,&lt;/p&gt;
&lt;p&gt;We are trying to implement this and calling it for each project in the solution that cannot be built using msbuild.&lt;/p&gt;
&lt;p&gt;We always get the following error on the Save when calling it a second time:&lt;/p&gt;
&lt;p&gt;System.NullReferenceException: Object reference not set to an instance of an object.&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;at Microsoft.TeamFoundation.Build.Client.BuildInformationNode.GetRequests()&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;at Microsoft.TeamFoundation.Build.Client.BuildInformationNode.GetRequests()&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;at Microsoft.TeamFoundation.Build.Client.BuildInformationNode.Save()&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;at Microsoft.TeamFoundation.Build.Client.ConfigurationSummary.Save()&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;at OrcasMSBuildTasks.DevEnv.Execute() in C:\Software\MSBuild\OrcasMSBuildTasks\DevEnv.cs:line 228&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;at Microsoft.Build.BuildEngine.TaskEngine.ExecuteInstantiatedTask(EngineProxy engineProxy, ItemBucket bucket, TaskExecutionMode howToExecuteTask, ITask task, Boolean&amp;amp; taskResult)&lt;/p&gt;
</description></item><item><title>Building Ant projects from Team Build</title><link>http://blogs.msdn.com/aaronhallberg/archive/2007/07/12/team-build-devenv-task.aspx#8326780</link><pubDate>Thu, 20 Mar 2008 05:19:17 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8326780</guid><dc:creator>Martin Woodward</dc:creator><description>&lt;p&gt;Update: With Teamprise 3.0 we included this work into the freely downloadable Teamprise Extensions for Team Build. The source is also provided under the MS-PL if you are interested. You should definately look at the new version as it contains...&lt;/p&gt;
</description></item><item><title>re: Team Build DevEnv Task</title><link>http://blogs.msdn.com/aaronhallberg/archive/2007/07/12/team-build-devenv-task.aspx#8555565</link><pubDate>Wed, 28 May 2008 01:33:25 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8555565</guid><dc:creator>msoba</dc:creator><description>&lt;p&gt;Has this work been published in a tfs power tools package yet? That would be great, also found a problem with the regex in matching warnings and errors. This resulted projects to be reported as failing in the build log. We had files with the term 'error' which matched the regex in the devenv output warnings. Used something like 'error\s+' to require a space after the term. Though cleaning the warnings in our solution would have also resolved this problem! Cheers!&lt;/p&gt;
</description></item><item><title>The CompilationOutputs Item Group</title><link>http://blogs.msdn.com/aaronhallberg/archive/2007/07/12/team-build-devenv-task.aspx#8843915</link><pubDate>Fri, 08 Aug 2008 20:49:35 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8843915</guid><dc:creator>Aaron Hallberg</dc:creator><description>&lt;p&gt;I've mentioned the CompilationOutputs item group we added in TFS 2008 before in passing (see this post&lt;/p&gt;
</description></item><item><title>re: Team Build DevEnv Task</title><link>http://blogs.msdn.com/aaronhallberg/archive/2007/07/12/team-build-devenv-task.aspx#8964648</link><pubDate>Thu, 25 Sep 2008 09:50:53 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8964648</guid><dc:creator>swn1</dc:creator><description>&lt;p&gt;I've got some low-level (in the dependency graph) Fortran code so I'm using DevEnv to build a whole solution. &amp;nbsp;I put it in the BeforeCompileConfigurarion target and then we build a handful of smaller solutions using the SolutionsToBuild itemgroup.&lt;/p&gt;
&lt;p&gt;I've hacked in some decent support for multithreaded builds but I'm having a lot of trouble understanding the details of the Team Build progress reporting object model. &amp;nbsp;The documentation I've seen for it seems to be limited to the signatures of the methods and a few scattered vague hints as to the intent.&lt;/p&gt;
&lt;p&gt;A specific problem: with DevEnv in the BeforeCompileConfiguration target and non-empty solutions the corecompile target the progress records end up in the wrong order. &amp;nbsp;The CoreCompile entried appear later in time but textually above the DevEnv entries.&lt;/p&gt;
&lt;p&gt;Any hope for better documentation on the API? &amp;nbsp;Any idea how to fix the sorting problem?&lt;/p&gt;
&lt;p&gt;-swn&lt;/p&gt;
</description></item><item><title>BizTalk Server and Team Build</title><link>http://blogs.msdn.com/aaronhallberg/archive/2007/07/12/team-build-devenv-task.aspx#8968676</link><pubDate>Mon, 29 Sep 2008 13:11:40 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8968676</guid><dc:creator>Jim Lamb</dc:creator><description>&lt;p&gt;We’ve been talking with the BizTalk Server team about supporting MSBuild (and, transitively, Team Build)&lt;/p&gt;
</description></item><item><title>re: Team Build DevEnv Task</title><link>http://blogs.msdn.com/aaronhallberg/archive/2007/07/12/team-build-devenv-task.aspx#9410892</link><pubDate>Tue, 10 Feb 2009 19:57:06 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9410892</guid><dc:creator>Rich42</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;This almost works great for me, only problem is that it doesn't copy the msi over to the drop location. Everything builds, no exceptions, copies everything over except the msi. Swapped &amp;quot;Setup1&amp;quot; in the &amp;lt;SolutionOutputs Include=&amp;quot;$(SolutionRoot)\Setup1\$(Configuration)\**\*.*&amp;quot; /&amp;gt; line to &amp;nbsp;the name of my setup folder, which is a sub folder in the SolutionRoot but alas no copy!&lt;/p&gt;
&lt;p&gt;Any idea what the problem may be?&lt;/p&gt;
&lt;p&gt;Thanks in advance &amp;#174;&lt;/p&gt;
</description></item><item><title>re: Team Build DevEnv Task</title><link>http://blogs.msdn.com/aaronhallberg/archive/2007/07/12/team-build-devenv-task.aspx#9441660</link><pubDate>Mon, 23 Feb 2009 22:17:09 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9441660</guid><dc:creator>aaronhallberg</dc:creator><description>&lt;p&gt;Probably the path is wrong. &amp;nbsp;Try adding a Message task that spits out the path - something like: &amp;lt;Message Text=&amp;quot;$(SolutionRoot)\Setup1\$(Configuration)&amp;quot; Importance=&amp;quot;high&amp;quot; /&amp;gt;. &amp;nbsp;Compare the output there with the path under which you msi actually exists. &amp;nbsp;Looking at it, I would suspect that either (a) the bin folder is missing, or (b) the platform should also be in the path. &amp;nbsp;That is, you might need to do $(SolutionRoot)\Setup1\bin\$(Configuration)\$(Platform)\**\*.* instead of the given path, or something like that. &amp;nbsp;Please post the fix if you figure it out, and I'll get the post updated.&lt;/p&gt;
</description></item><item><title>re: Team Build DevEnv Task</title><link>http://blogs.msdn.com/aaronhallberg/archive/2007/07/12/team-build-devenv-task.aspx#9443802</link><pubDate>Wed, 25 Feb 2009 12:15:17 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9443802</guid><dc:creator>JBhola</dc:creator><description>&lt;p&gt;Hi Aaaron&lt;/p&gt;
&lt;p&gt;I am using ur task , really its good &lt;/p&gt;
&lt;p&gt;can you help me to make msi packages &lt;/p&gt;
&lt;p&gt;in this task the exe file is generating &lt;/p&gt;
&lt;p&gt;i want to make msi package&lt;/p&gt;
&lt;p&gt;Thanks in advance&lt;/p&gt;
</description></item><item><title>Execute a custom task during build process</title><link>http://blogs.msdn.com/aaronhallberg/archive/2007/07/12/team-build-devenv-task.aspx#9503367</link><pubDate>Tue, 24 Mar 2009 07:17:36 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9503367</guid><dc:creator>Rajesh Saxena</dc:creator><description>&lt;p&gt;In that case, you can refer two great posts from Aaron Hallberg here and here . But if you have to execute&lt;/p&gt;
</description></item><item><title>BizTalk Server and Team Build</title><link>http://blogs.msdn.com/aaronhallberg/archive/2007/07/12/team-build-devenv-task.aspx#9586218</link><pubDate>Mon, 04 May 2009 21:32:27 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9586218</guid><dc:creator>Jim Lamb</dc:creator><description>&lt;p&gt;We’ve been talking with the BizTalk Server team about supporting MSBuild (and, transitively, Team Build)&lt;/p&gt;
</description></item><item><title>re: Team Build DevEnv Task</title><link>http://blogs.msdn.com/aaronhallberg/archive/2007/07/12/team-build-devenv-task.aspx#9716187</link><pubDate>Tue, 09 Jun 2009 17:48:20 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9716187</guid><dc:creator>elneilios</dc:creator><description>&lt;p&gt;Hi Aaron,&lt;/p&gt;
&lt;p&gt;I have been using your DevEnv task and also the version that is maintained by the MS Build Extension Pack (&lt;a rel="nofollow" target="_new" href="http://msbuildextensionpack.codeplex.com/"&gt;http://msbuildextensionpack.codeplex.com/&lt;/a&gt;). Your blog discusses the way the task should be setup so that it doesn't cause a rebuild of the whole solution. I have followed your example closely yet I am still finding my entire solution is rebuilt. Are you sure your example doesn't also do this?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Neil&lt;/p&gt;
</description></item><item><title>re: Team Build DevEnv Task</title><link>http://blogs.msdn.com/aaronhallberg/archive/2007/07/12/team-build-devenv-task.aspx#9831679</link><pubDate>Mon, 13 Jul 2009 17:11:12 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9831679</guid><dc:creator>Adam Branscomb</dc:creator><description>&lt;p&gt;I have the same problem as Neil. &lt;/p&gt;
&lt;p&gt;I am using the codeplex version, and it certainly looks to me like the DevEnv task is rebuilding each project required for the Setup Project, even though MSBuild has already built it. Any suggestions?&lt;/p&gt;
</description></item></channel></rss>