Shuping
Shuping

Reputation: 5468

Auto publish web application to file system after successful build

I have created a publish profile in VS2012 to publish the web application to a specified folder. However I need VS2012 to automatically publish it after a successful build. I went through all the project settings but did not find any hint.

Any solution to do this?

EDIT To clarify, there are answers for doing this on TFS. but is there solution on developers local machine?

Upvotes: 0

Views: 1283

Answers (2)

Aghilas Yakoub
Aghilas Yakoub

Reputation: 29000

When you create your build definition in Team Explorer, you adjust your directory deployement, you define Build Default section You remark path of deployement on picture

Note : you can specify UNC path.

enter image description here

Upvotes: 1

Solaflex
Solaflex

Reputation: 1432

When you publish it, it will automaticly (re-)build the web application

You could ,instead of re-build, click on the publish button.

Upvotes: 1

Related Questions