Obtain output files from a MSBuild project

后端 未结 4 1683
一个人的身影
一个人的身影 2020-12-31 04:20

Is it possible to obtain a list all all the output files from a MSBuild project?

In a simple project, I could do something like



        
4条回答
  •  一生所求
    2020-12-31 05:05

    What we do the combat this scenario is that each build creates a "Deploy" directory (you could call it what ever you want).

    The deploy directory contains only those executables and dlls that are needed for the actual app (ie, testing dlls don't get put there). Each project would need to get its "Deployable" stuff into that directory (We even add subdirectories (ie. Web, Services etc).)

    It duplicates some bits, but it lets you have access to all the dlls from a build if they are needed.

提交回复
热议问题