Skip to content

Instantly share code, notes, and snippets.

/Publish Profile Secret

Created January 10, 2013 08:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/7326d2a7f5523058d662 to your computer and use it in GitHub Desktop.
Save anonymous/7326d2a7f5523058d662 to your computer and use it in GitHub Desktop.
Sample Publish Profile generated by Visual Studio 2012
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<WebPublishMethod>MSDeploy</WebPublishMethod>
<SiteUrlToLaunchAfterPublish>http://SITE-URL/</SiteUrlToLaunchAfterPublish>
<MSDeployServiceURL>http://SITE-URL/MsDeployAgentService</MSDeployServiceURL>
<DeployIisAppPath>SITE-URL</DeployIisAppPath>
<RemoteSitePhysicalPath />
<SkipExtraFilesOnServer>True</SkipExtraFilesOnServer>
<MSDeployPublishMethod>RemoteAgent</MSDeployPublishMethod>
<UserName>MY-USER-NAME</UserName>
<_SavePWD>True</_SavePWD>
<PublishDatabaseSettings>
<!-- Bunch of settings generated by VS based on items I am modifying in different web.config versions -->
</PublishDatabaseSettings>
</PropertyGroup>
<ItemGroup>
<!-- Bunch of settings generated by VS based on items I am modifying in different web.config versions -->
</ItemGroup>
</Project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment