| Subject: connot resolve symbole datacontract |
| Group: microsoft.public.windows.developer.winfx.fundamentals |
| Date: 7/12/2006 9:56:24 AM |
| From: akolsen@gmail.com |
Im designing a service using vs 2005 I have made a interface using ServiceContract.... no problem Then i try to add some data contracts using System; using System.Collections.Generic; using System.Text; using IECServer.Datatypes; namespace IECServer.Request { [DataContract(Namespace="somenamespace")] public class MyData { [DataMember] public string Name; [DataMember] public int? ID; [DataMember] public DateTime StartDate; } } But visual studio flags an error saying cannot resolve symbol ' DataContract' and the same for DataMembers This ofcause results in a non compilable code MessageContracts works fine too.... I have installed .. net 3.0 orcas Anyone got a idea why. |
| Back |