Kashif
Kashif

Reputation: 105

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

Upvotes: 0

Views: 379

Answers (2)

Jingmiao Xu-MSFT
Jingmiao Xu-MSFT

Reputation: 2307

You can use move "$(ProjectDir)bin" "destination folder path" in post build event.

Upvotes: 0

Eugene Astafiev
Eugene Astafiev

Reputation: 49445

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

the post-build event in visual studio

Upvotes: 1

Related Questions