Publish a profile for publishing a Visual Studio website can be used both from the Visual Studio 2013 publishing dialog box and from the MsBuild command line, as described in this question. Using msbuild to complete Publishing a file system profile
C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe ./ProjectRoot/MyProject.csproj /p:DeployOnBuild=true /p:PublishProfile=FileSystemDebug
However, I want to completely get rid of the publication profile and do everything from the command line - because I do not want the publication path to be hardcoded in the PublishProfile XML file. How can I specify the same parameters directly in command line arguments? I tried using OutDir instead, but this leads to a different behavior than the path specified in the PublishProfile file (additional _PublishedWebsites added to my path).
source share