I'm trying to override the "publishUrl" value in the related *.pubxml
I tried using <publishUrl> in pubxml.user but it doesn't pick that up.
What are the allowed properties that can be used in *.pubxml.user?
I'm using Visual Studio Enterprise 2015 Update 1
here's my pubxml:
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<WebPublishMethod>FileSystem</WebPublishMethod>
<LastUsedBuildConfiguration>Debug</LastUsedBuildConfiguration>
<LastUsedPlatform>Any CPU</LastUsedPlatform>
<SiteUrlToLaunchAfterPublish />
<LaunchSiteAfterPublish>True</LaunchSiteAfterPublish>
<ExcludeApp_Data>False</ExcludeApp_Data>
<publishUrl>C:\Developments\gsvc\Website</publishUrl>
<DeleteExistingFiles>False</DeleteExistingFiles>
</PropertyGroup>
</Project>
I wasn't able to do this in the
pubxml.userfile specifically, but if you'd like a user-specific include for changing thepublishUrl, you can do this via a customImport:This would be at the bottom of the existing
pubxmlfile. And then inLocal.pubxml.user.props:You can then easily
.gitignoretheLocal.pubxml.user.propsas well.