Why am I receiving the required attribute 'name' is missing warning in my Web.Release.config XML-Document-Transform file?
问题 I'm trying to remove all service endpoint mexHttpBinding nodes in my Web.Release.config file. I found this answer: (I copied from my code file, so it's actually formatted differently than the answer ) <services> <service> <endpoint binding="mexHttpBinding" xdt:Locator="Match(binding)" xdt:Transform="RemoveAll" /> </service> </services> The warning I am receiving is on the <service> node: The required attribute 'name' is missing. Do I need to add an empty string or wildcard ( if there is one )