如何自动部署后更改web.config [英] how to change the web.config after the deployment auto matically

查看:70
本文介绍了如何自动部署后更改web.config的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在web.config中有以下部分

< system.net>

i have below section in web.config
<system.net>

<defaultProxy enabled="true">
      <proxy autoDetect="True" scriptLocation="http:some value" />
    </defaultProxy>
  </system.net>

should be changed to like below

<system.net>
    <defaultProxy enabled="true">
<proxy proxyaddress="http:some ip value" >
 </defaultProxy>
  </



system.net>

这是由powershell脚本完成的


system.net>
iwant this to be done by powershell script

推荐答案

这篇关于如何自动部署后更改web.config的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆