I have a fairly large solution with a mix of assemblies and ASP.NET websites (the ones without a csproj file). I'm trying to customize the build from the command line, and so I need to understand what exactly MSBuild is doing.
我有一个相当大的解决方案,混合使用程序集和ASP.NET网站(没有csproj文件的那些)。我正在尝试从命令行自定义构建,因此我需要了解MSBuild究竟在做什么。
When MSBuild builds .sln file, I see that it creates metaproj files (which I assume are MSBuild files). However, they never seem to appear on the file system. I assume that MSBuild keeps them hidden in some way. Is there a way that I can view these files?
当MSBuild构建.sln文件时,我看到它创建了metaproj文件(我假设它是MSBuild文件)。但是,它们似乎永远不会出现在文件系统上。我假设MSBuild以某种方式隐藏它们。有没有办法可以查看这些文件?
1 个解决方案
#1
13
use the following environment variable:
使用以下环境变量:
set MSBuildEmitSolution=1
#1
13
use the following environment variable:
使用以下环境变量:
set MSBuildEmitSolution=1