MSBuild and TeamBuild - how to get post build files into BinariesRoot? -


I wonder how the following task can be solved:

I have additional files afterCompile In the target, an MSBuild file post build files should be copied somewhere, so that they can be brought to binary, then automatically do a RUI on TFS.

The post build files call obj / release / some.dll, so it's something to do. Dll must have been compiled after, but before the files are copied to the output directory binary rows.

Can I add "CopyFilesToOutputDirectory" to them anyway?

Any thoughts?

Thank you, Marco

I found out that $ (Binary Route) A CSPR is available during construction.

So I copy my extra binaries to csproj AfterCompile target:

   & Lt; / ItemGroup & gt; & Lt; Copy SourceFiles = "@ (FilesToCopy)" DestinationFolder = "$ (BinariesRoot)" condition = "'$ (BinariesRoot)'! = ''" / / Gt;  

Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -