web-debug-config

Why am I receiving the required attribute 'name' is missing warning in my Web.Release.config XML-Document-Transform file?

三世轮回 提交于 2019-12-12 11:16:10
问题 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 )