修改
This commit is contained in:
@@ -3,19 +3,28 @@
|
||||
<!-- For more information on using Web.config transformation visit https://go.microsoft.com/fwlink/?LinkId=301874 -->
|
||||
|
||||
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
|
||||
<!--
|
||||
<!--
|
||||
在下例中,“SetAttributes”转换将更改
|
||||
“connectionString”的值,仅在“Match”定位器找到值为“MyDB”的
|
||||
特性“name”时使用“ReleaseSQLServer”。
|
||||
|
||||
<connectionStrings>
|
||||
<connectionStrings>
|
||||
<add name="MyDB"
|
||||
connectionString="Data Source=ReleaseSQLServer;Initial Catalog=MyReleaseDB;Integrated Security=True"
|
||||
xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/>
|
||||
</connectionStrings>
|
||||
-->
|
||||
<system.web>
|
||||
<!--
|
||||
<appSettings>
|
||||
<add key="server" value="192.168.0.168"/>
|
||||
<add key="AccId" value="(default)@001"/>
|
||||
<add key="UserId" value="wx999"/>
|
||||
<add key="Password" value="!@#qwe123"/>
|
||||
<add key="EaiPort" value="80"/>
|
||||
<add key="EaiPath" value="U8EAI/import.asp" />
|
||||
</appSettings>
|
||||
|
||||
<system.web>
|
||||
<!--
|
||||
在以下示例中,"Replace" 转换将替换 Web.config 文件的
|
||||
整个 <customErrors> 节。
|
||||
请注意,由于在 <system.web> 节点下只有一个
|
||||
@@ -26,5 +35,6 @@
|
||||
<error statusCode="500" redirect="InternalError.htm"/>
|
||||
</customErrors>
|
||||
-->
|
||||
</system.web>
|
||||
|
||||
</system.web>
|
||||
</configuration>
|
||||
|
||||
Reference in New Issue
Block a user