locked
VS2008 Add Service Reference Issue RRS feed

  • Question

  • Hi

    I am using VSTS 2008 SP1, created an Service using WCF 3.0 with one custom falut exception.
    When I have created a proxy uisnh VS feature, Add Service Reference, it has created class of DataContract twice with two diff GenerateCode Attribute in the Refrence.cs.  Because this it gives compile time error.
    Anything missing?
    Please help.

    Thanks
    Shailendra

    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "3.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="WorkMenuCriteria", Namespace=http://schemas.datacontract.org/2004/07/GNWRPDataDefinition.WorkMenu)]
    [System.SerializableAttribute()]
    public partial class WorkMenuCriteria : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {


    }

    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3053")]
    [System.
    SerializableAttribute()]
    [System.Diagnostics.
    DebuggerStepThroughAttribute()]
    [System.ComponentModel.
    DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.
    XmlTypeAttribute(Namespace=http://schemas.datacontract.org/2004/07/GNWRPDataDefinition.WorkMenu)]
    public partial class WorkMenuCriteria : object, System.ComponentModel.INotifyPropertyChanged {

    }


     

    Monday, November 17, 2008 6:11 AM

All replies

  • Hi,

    Did you find a resolution for this issue? 

    Monday, May 11, 2009 12:08 PM