WCF extensions without including the assembly version

前端 未结 3 1839
南笙
南笙 2021-02-05 22:37

As discussed here, I\'m trying to add a WCF endpoint-extension; I\'ve got it working, but I need to include the full assembly details:


    <         


        
3条回答
  •  甜味超标
    2021-02-05 23:17

    Just to reiterate what @wojo noted. If you have come here looking for the answer to

    "cannot be added to this element.  Verify that the extension is registered in the extension collection at system.serviceModel/extensions/behaviorExtensions."
    

    and you are now running .Net 4 then REMOVE the assembly Version,Culture,PublicKeyToken from the behaviorExtensions add tag. all that is needed (worked for me) was the full namespace/class followed by the assembly.

提交回复
热议问题