MSBuild – How to retrieve @ (targetoutput) without performing construction

I am implementing an MSBuild framework to drive the construction and deployment of many projects organized as a hierarchical structure.





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?

It’s okay.

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 :





WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 2701 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.