Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I rename Publish Profile in Visual Studio 2017?

In Visual Studio 2017 when you create a custom Publish Profile, you don't have an option to set name of the profile and it creates profiles with default names like CustomProfile and CustomProfile1 and show them in Publish toolbar like this:

enter image description here

In previous versions of Visual Studio, when you create a publish profile, there is a dialog asking for profile name. How can I rename publish profile in Visual Studio 2017?

like image 336
Reza Aghaei Avatar asked Jul 12 '17 04:07

Reza Aghaei


People also ask

How do I change my published profile?

To edit a publish profile (. In Solution Explorer, double-click the file to open it. If the element you want to change is already in the PropertyGroup element, change its value; otherwise add the element to the PropertyGroup element. Save the file.

How do I change publish settings in Visual Studio?

Import the publish settings in Visual Studio and deployClick New or Create new profile. Select the option to import a profile. In the Publish dialog box, click Import Profile. Navigate to the location of the publish settings file that you created in the previous section.

How do I publish a profile in Visual Studio 2017?

Create a publish profile in Visual Studio by choosing one of the following paths: Right-click the project in Solution Explorer and select Publish. Select Publish {PROJECT NAME} from the Build menu.


1 Answers

When publishing a console app, the option is a bit hidden away:

enter image description here

like image 98
silkfire Avatar answered Oct 24 '22 20:10

silkfire