I have developed wcf service in framework 4.5. In this service, I have made a class with attribute CollectionDataContract. When I add the web reference in .Net compact framework 3.5, it shows all the classese except class with attribute CollectionDataContract.
C#
[CollectionDataContract]
public class ClsUsersCollection:Collection<ClsUsersBO>
{
}
//Reference added in .Net Compact Framework Smart Device Application
using SmartDeviceProject8.localhost;localhost.ClsUsersCollection Not AVAILABLE rest all classes are AVAILABLE when we write localhost.ClsA or localhost.ClsB
Any solution will be highly appreciated!
Thanks.
Answers
Know the answer? Post it. Somebody with the same question will find it here.