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

Popular posts from this blog

c++ - Convert big endian to little endian when reading from a binary file -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

unicode - Are email addresses allowed to contain non-alphanumeric characters? -