If you have wondered why the tfs drop folder doesn’t contain the app.publish folder like it does when you run the command msbuild.exe /p:IsPackaging=true /p:OutputPath="D:\dev\" in your local machine, it’s because the property /p:PublishDir also needs to be set in