CigarDoug
CigarDoug

Reputation: 1576

Set default folder for "target location" when Publishing in Visual Studio 2012

I am developing SharePoint 2010 solutions in Visual Studio 2012. From the Solution Explorer, I right-click the Project node and click "Publish..."

In the Publish dialog, I select "Publish to File System". This will create a .WSP file in the folder listed in "Target Location". All well and good, but the default Target Location is my Documents folder. Where in Visual Studio can I change the default Target Location so I don't have to change it every time?

Upvotes: 5

Views: 5076

Answers (1)

Trucktech
Trucktech

Reputation: 358

You should be able to create a publish profile with the correct target location. If you create a profile under the publish dialog it will allow you to specify where to publish the files. Make the proper selection under connection tab on the left. enter image description here

Upvotes: 3

Related Questions