asp.net - Retrieve the full output from a web application with MSBuild -
i have misunderstanding msbuild. want build web application (with traditional .csproj project file) , "entire output" of build in new, clean output folder - including website files included in project <content include=".... 
the aspnetcompiler utility makes easy "web site" style projects - specify input folder , output folder, , can entirely different.
so far i've had success specifying outoutpath folder, i.e. moving bin folder - gives me binaries , ignores aspx, image files, etc.
i must missing obvious, or fundamental! indeed.
i found couple of relatively obscure references issue on web.
i found set (apparently undocumented!) property webprojectoutputdir along standard outputpath property, so:
<msbuild     projects="..."     properties="webprojectoutputdir=d:\output;outputpath=d:\output\bin"     />   i guess property used in microsoft.webapplication.targets or somewhere. if enlighten me further this, i'd grateful!
Comments
Post a Comment