On the New Publishing Target dialog, select the kind of target you are publishing to;
Click OK;
A new Publishing Target will be created and selected for editing.
Complete the fields in the Publishing Target editor for the new Target.
If you are publishing to an Azure Website, follow the instructions in Publishing to an Azure Web Site to automatically import an Azure .publishsettings file.
Publish as part of the build
Click the Build ribbon command;
Tick the Build Profiles you wish to build;
Beneath each selected Build Profile, tick the Publishing Targets you wish to publish to once the build is complete;
Click Start to begin the build and publishing operation.
Publishing will take place for the selected Publishing Targets as part of the Build and will be displayed in the Build Results beneath each Build Profile.
You can automatically publish as part of a saved Build Configuration. Create and modify Build Configurations in the Project Settings editor.
Publish separately from the build
You may wish to publish as a separate activity from building, e.g. if you wish to verify that the built output is correct before publishing.
Click the Publish Ribbon command;
The Publishing window will be opened;
Tick the Publishing Targets you wish to publish to.