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 ) to the name
attribute of the <service>
node to resolve this warning?
Also, shouldn't the above transform be wrapped with the <system.serviceModel>
node, or no?