如何从命令行覆盖解决方案的aspnetcompiler.targetpath?

时间:2015-02-05 01:54:25

标签: asp.net visual-studio webforms msbuild aspnet-compiler

我正在打电话 MSBUILD.exe \pathtosolution\solution.sln /p:Configuration=Release /p:OutputDir=\pathfordlls\ /p:WebProjectOutputDir=\pathtocompileto\

当它完成将DLL编译到正确的目录并调用aspnet_compiler时,我希望它使用WebProjectOutputDir - 但它正在使用解决方案文件中指定的目录 Release.AspNetCompiler.TargetPath = "PrecompiledWeb\lidacweb\

我需要做些什么来让它接受这个论点?我错过了什么吗?

0 个答案:

没有答案