Web config transform on microsoft.identityModel - 'http://schemas.microsoft.com/XML-Document-Transform' attribute is not declared

后端 未结 2 778
野性不改
野性不改 2021-02-12 20:38

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

2条回答
  •  南笙
    南笙 (楼主)
    2021-02-12 21:19

    I've run into this also but have gotten it to work. What I did was a "RemoveAll" and an "Insert" instead of a replace/match:

    
        
        
    
    

    When I do it that way I get the desired transform and output config file.

提交回复
热议问题