Be Kind To New Users
Be Kind To New Users

Reputation: 10063

How to publish a website in Visual Studio 2017

I am migrating from Visual Studio 2008 to VS 2017.

In 2008 I had a menu item: Build -> Publish Website.

I configured that to put the website on a share on the webserver so I pretty much could use that menu item to deploy to the test server so the users could test.

I cannot find that menu option on 2017.

The functionality seems to be moved to the Publish Web Site Tool described here:

https://msdn.microsoft.com/en-us/library/377y0s6t.aspx#thepublishwebsiteutility

I can not find how to install this. I can not find it in the Visual Studio Installer utility.

I can find instructions for publishing, but those instructions include creating the project from scratch. I need to do this on an existing project.

Upvotes: 1

Views: 5161

Answers (1)

Fandango68
Fandango68

Reputation: 4838

Visual Studio 2017 has these features from the Build menu...

enter image description here

Or, right-click your project...

enter image description here

A wizard will start asking how you want to publish your project. There is ample documentation for this on the web.

Upvotes: 1

Related Questions