I'm trying to publish a .Net web app using Powershell. I want to publish "all files in this project" but it only seems to be publishing "only files needed to run this application". When I publish from Visual Studio 2010 it work fine.
Here's my command:
& msbuild "$WebProjectFile" /verbosity:minimal "/t:ResolveReferences;_CopyWebApplication;publish" /p:Configuration=Release /p:OutDir="$PublishPath\bin\" /p:WebProjectOutputDir="$PublishPath"
Any ideas how I can do this?