In order to implement the correct Clean/Clobber logic, I want to retrieve a list of files that will be compiled when the build is executed with the current options .
I have tried various methods, including creating custom Task, in which I built a custom project file for importing the original project from which I want to retrieve the properties/items. But this did not give me reliable value.
Is there a way to retrieve the MSBuild project The TargetOutputs project group without actually performing the build?
I stumbled upon the following similar question , And think I must use GetTargetPath target, as follows:
< /pre>
I am implementing an MSBuild framework to drive the build and deployment of many projects organized as a hierarchical structure.
In order to implement the correct Clean/Clobber logic, I want to retrieve what will be compiled when the build is executed with the current options List of files.
I have tried various methods, including creating custom tasks, in which I built a custom project File, used to import the original project from which I want to retrieve properties/items. But this does not give me reliable value.
Is there a way to retrieve the TargetOutputs project group of the MSBuild project without actually performing the build?
It doesn't matter.
I stumbled upon the following similar question and thought I must use the GetTargetPath target as shown below :
p>