Generating an MSBUILD project file from a visual studio solution file and project files

后端 未结 1 888
星月不相逢
星月不相逢 2020-12-13 02:45

I know that I can pass MSBuild a VS solution file (.sln) and it will build the solution but somewhere in the back of my mind, I remember using a MSBuild command line switch

1条回答
  •  庸人自扰
    2020-12-13 03:32

    The easiest way to do this is to run MSBuild from the command line, with an environment variable set:

      Set MSBuildEmitSolution=1
    

    The output will be in the format SolutionName.metaproj

    0 讨论(0)
提交回复
热议问题