MSBUILDEMITSOLUTION not working with .NET 4?

前端 未结 1 1782
走了就别回头了
走了就别回头了 2020-12-03 08:03

In prior versions of MSBuild, you could set an environment variable named MSBUILDEMITSOLUTION to 1 to get an XML version of a solution (.sln) file that could be parsed. Acco

相关标签:
1条回答
  • 2020-12-03 09:01

    Set MSBuildEmitSolution=1 and then build from the command line. You should then see a MySolution.sln.metaproj file near MySolution.sln.

    Notes:

    • If you open a command prompt window, then set the env var via System Settings, you will have to open a new command prompt.
    • You'd think you could also use msbuild /p:MSBuildEmitSolution=1, but you can't.
    0 讨论(0)
提交回复
热议问题