码迷,mamicode.com
首页 > Web开发 > 详细

Web Deploy自动配置

时间:2015-05-21 15:27:43      阅读:171      评论:0      收藏:0      [点我收藏+]

标签:

 

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

<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>

 

Web Deploy自动配置

标签:

原文地址:http://www.cnblogs.com/qingshang/p/4519810.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!