Reputation: 199
I have an assembly E that is referenced in Assemblies F & WS, WS being my webservice.
In E, I have a public enum type that is used by F & WS, but when generating the proxy in assembly F, the WebService regenerates the enum members, resulting in an ambigous reference error between Assembly F & WS.
I tried to specify the enum in the ExcludedTypes section of Reference.svcmap, but it is still being generated.
How can I exclude the enum(s) without making too much modifications to my code?
Upvotes: 2
Views: 77
Reputation: 2761
Turn on 'Reuse types in referenced assemblies' (in Service Reference 'Advanced' tab).
Upvotes: 1