Web Deploy自动配置

自动发布配置,需要在发布的配置文件里面添加以下一句,避免在发布时,无权限!

<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<IncludeSetACLProviderOnDestination>False</IncludeSetACLProviderOnDestination>
<WebPublishMethod>MSDeploy</WebPublishMethod>
<LastUsedBuildConfiguration>Release</LastUsedBuildConfiguration>
<LastUsedPlatform>Any CPU</LastUsedPlatform>
<SiteUrlToLaunchAfterPublish />
<LaunchSiteAfterPublish>True</LaunchSiteAfterPublish>
<ExcludeApp_Data>False</ExcludeApp_Data>
<MSDeployServiceURL>q.zwsdk.cn:8172</MSDeployServiceURL>
<DeployIisAppPath>netax.sdk.hk</DeployIisAppPath>
<RemoteSitePhysicalPath />
<SkipExtraFilesOnServer>True</SkipExtraFilesOnServer>
<MSDeployPublishMethod>WMSVC</MSDeployPublishMethod>
<EnableMSDeployBackup>True</EnableMSDeployBackup>
<UserName>NETAX</UserName>
<_SavePWD>True</_SavePWD>
</PropertyGroup>
</Project>
上一篇:解决Warning: mysql_connect(): Headers and client library minor version mismatch. 警告


下一篇:.net程序部署(setupFactory)