WCF service reference namespace differs from original

后端 未结 3 530
心在旅途
心在旅途 2020-12-12 23:27

I\'m having a problem regarding namespaces used by my service references. I have a number of WCF services, say with the namespace MyCompany.Services.MyProduct (

3条回答
  •  长情又很酷
    2020-12-12 23:37

    In VS2010 and later versions there is a way to set up custom namespaces. In the solution explorer, select "Show all files" then open "Web references" in the solution tree, select the service, select the Reference.map node, show the properties and set the Custom Tool Namespace property.

    Unfortunately I don't have enough reputation to show a screenshot.

提交回复
热议问题