我正在使用命令行调用msbuild来生成网站的发布版本,使用以下命令:
msbuild.exe /t:ResolveReferences;Compile;_CopyWebApplication /p:OutDir=dir/bin/
/p:WebProjectOutputDir=dir/ /p:Debug=false /p:Configuration=Release
Website.csproj
除了嵌入资源不在Website.dll
中,其他都很好。如果我通过Visual Studio发布,它会包括嵌入的资源。我是否缺少某个标志?