Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Webdeploy Publish Profile password saving

I saved a publish profile into an .xml along wit all the login info. But when i import this XML to another computer and try to publish, it'll say that my password is incorrect.

What can I do to have the password correctly saved into the publish profile and compatible with other computer?

like image 672
user1785999 Avatar asked Dec 07 '12 11:12

user1785999


People also ask

Where is publish profile stored?

Publish profile files are named <profilename>. pubxml and are located in the PublishProfiles folder. The PublishProfiles folder is under Properties in a C# web application project, under My Project in a VB web application project, or under App_Data in a web site project.

What is publish profile in MSBuild?

A publish profile is just an MSBuild file. When you pass in PublishProfile and DeployOnBuild=true, then the publish profile is Imported into the build/publish process. It will supply the publish properties needed to perform the publish.

What is a publish profile Azure?

A publish profile is a file that contains information and settings that Visual Studio uses to deploy applications and services to Azure. In the Azure portal, open the Azure App Service. Go to Get publish profile and save the profile locally.


2 Answers

My guess is that the program purposely obfuscates the passwords using the current PC's "salt" and generates a unique hash. Thus, preventing the passwords from being stolen via the profile publish function.

like image 139
Geo Avatar answered Oct 17 '22 06:10

Geo


As mentioned by user1785999, you can save the password in plain text, just add the password element to your .pubxml file:

    <UserName>YourName</UserName>
    <Password>YourPassword</Password>
like image 44
Sasha Yakobchuk Avatar answered Oct 17 '22 05:10

Sasha Yakobchuk