I'm trying to execute the publish profile from the command line.
- Created a publish profile in Visual Studio (right click project -> publish)
- Verified that it works. When I press publish, the stuff goes where it is supposed to go (FTP site)
Now I'd like to do this from TFS and that means MSBuild.
From the command line, I tried this:
msbuild.exe WebApplication1.csproj /p:DeployOnBuild=true;PublishProfile="ftp";Password={INSERT-PASSWORD}
I receive no error. And the files are not published on the FTP site. The name of the publish profile is ftp.pubxml. It is physically here:
WebApplication1\Properties\PublishProfiles\ftp.pubxml
That's where Visual Studio 2012 puts it by default.
I'm using FTP deploy, not Web Deploy. No Click Once. A lot of the stuff online talks about those two. This is a boring, old FTP deploy.