Web.config转换另一个配置文件

Mik*_*ynn 1 asp.net web-config slowcheetah

你能用同样的方式对另一个文件如connections.config,nlog.config,app.config进行web.config转换吗?我似乎无法找到答案.

 <connectionStrings xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
        <add name="ApplicationServices" connectionString="Data Source=ConnectionString" xdt:Transform="SetAttributes(mode)"/>
    </connectionStrings>
Run Code Online (Sandbox Code Playgroud)

Say*_*imi 5

我已经为此创建了一个Visual Studio.它叫做SlowCheetah,您可以在http://visualstudiogallery.msdn.microsoft.com/69023d00-a4f9-4a34-a6cd-7e854ba318b5找到它.