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

.net - C# List<T>.Find(x=>x.Rectangle.Contains(Point)) FAIL -

iphone - Smoothing a rounded stroke in Core Graphics -

c++ - QtQuick: QQmlApplicationEngine failed to load component qrc:/main.qml:23 Invalid attached object assignment -