Reputation: 5468
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
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.
Upvotes: 1
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