I am returning a hashtable from a service operation. I have added all the required KnownTypes as shown in the code below. Now when try to generate service proxy using Add as a service reference, the knowntype for the hashtable is not getting generated in the proxy and therefore the issue. If i add the KnowType manually to my proxy as shown below i am able to serialize and deserialize it properly. Probably an issue with add service reference method? My code works perfectly fine if add the service as a library and use channelfactory to create the proxy.
Product Version