visual-studiomsbuildmanifestoffice-addinsmsdeploy

Deploy Manifest project using MSBuild


I want to automate build/publish process of my office addin. For web project I can use MSbuild to build and publish project with user interaction. I need similar solution for Manifest project, but I am unable to find one. Is there any way to automate publish process for Office addin manifest project? Or can I set path of output folder to some location at my system instead of \bin\Release\app.publish\OfficeAppManifests\ location.

Edit:

When publishing Addin Manifest project, it asks for website url as shown in image below. In case of adding post build event, how can I pass this as parameter when running MSbuild/MSdeploy command? Publish Dialog


Solution

  • You can use the post-build event to copy the file programmatically wherever you need:

    the post-build event in visual studio