KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have got a Web.Release.config that is successfully transforming a connection string. When I add a microsoft.identityModel section I get a warning saying The 'http://schemas.microsoft.com/XML-Document-Transform' attribute is not declared And the transform doesnt work on that section. What am I missing to get the transform to work? Complete Web.Release.config here <?xml version="1.0"?> <configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform"> <connectionStrings> <add name="MYNAME" connectionString="metadata=res://*/Models.MYCOMPANY-Sales-Demo.csdl|res://*/Models.MYCOMPANY-Sales-Demo.ssdl|res://*/Models.MYCOMPANY-Sales-Demo.msl;provider=System.Data.SqlClient;provider connection string="data source=.;initial catalog=MYCOMPANYDemo;UID=MYCOMPANYDBUser;Password=********;multipleactiveresultsets=True;App=EntityFramework"" xdt:Transform="SetAttributes" xdt:Locator="Match(name)" /> </connectionStrings> <system.web> <compilation xdt:Transform="RemoveAttributes(debug)" /> </system.web> <microsoft.identityModel> <service> <audienceUris> <add value="http://MYCOMPANY-sales-demo.cloudapp.net/" xdt:Transform="Replace"/> </audienceUris> <federatedAuthentication> <wsFederation realm="http://MYCOMPANY-sales-demo.cloudapp.net/" xdt:Transform="SetAttributes(realm)" /> </federatedAuthentication> </service> </microsoft.identityModel> </configuration>
Tags (comma-separated)
Save Edits
Cancel