I am using a MSBuild task to build a solution:
<MSBuild Projects="$(MySln)" ToolsVersion="4.0"/>
I want to get a list of the dlls/exes (their full path) output when above solution is built for subsequent processing. How can I do this?
Try the TargetOutputs output parameter:
<MSBuild Projects="YourSolution.sln">
<Output TaskParameter="TargetOutputs" ItemName="TheOutputs" />
</MSBuild>
<Message Text="@(TheOutputs)" Importance="High" />
Some other similar questions: