开发者

CompilationOutputs in TFS 2010

开发者 https://www.devze.com 2023-02-20 09:54 出处:网络
Is there any开发者_运维百科 similar property to CompilationOutputs in TFS 2010? If not, how to get all compiled assemblies including all metadata as in TFS 2008?In TFS2010, if you use the UpgradeTempl

Is there any开发者_运维百科 similar property to CompilationOutputs in TFS 2010? If not, how to get all compiled assemblies including all metadata as in TFS 2008?


In TFS2010, if you use the UpgradeTemplate.xaml build process template you can keep your existing TFS 2008 based MSBuild proj files that use the CompilationOutputs property and continue building as per usual.

If you are using TFS2010 workflow based builds (i.e. DefaultTemplate.xaml or a derivative) then the approach will need to be somewhat different. The workflow makes a call to an MSBuild activity internally in order to compile the solution and there is nothing in the properties for that task that returns the data you're looking for.

To work around the change, further down in the workflow there is an CopyDirectory tasks that moves files from the binaries folder to the drop location. You could always put in your own workflow activities just before or around that point in the process and do what ever it is you are wanting to do.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号