How to get the list of output files from multiple csproj/vcxproj projects after compiling a visual studio solution.

Sagar Kodam 21 Reputation points
2023-05-24T07:20:52.9366667+00:00

Hi,

Is there a way for identifying a list of output files after compilation of csproj/vcxproj projects ?

I would like to create a table wherein I can include the output file corresponding to a particular csproj/vcxproj project.

Thanks in advance.

Regards,

Sagar

Microsoft Build
Microsoft Build
A Microsoft platform for building applications with Visual Studio and .NET on Windows.
398 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
8,161 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. AnnaXiu-MSFT 14,986 Reputation points
    2023-05-24T13:40:51.1633333+00:00

    Hi @Sagar Kodam

    Welcome to Microsoft Q&A! 

    You can try to use MSBuild Task to get output files by referring to the similar issue

    Sincerely,

    Anna


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". 
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments