开发者

C# TweetSharp WCF service fails to generate TwitterMention

So using VS2010 (or SVCUTIL.EXE) to created a WCF class, it does not generate the TwitterMention part of the TwitterStatus or TwitterStatus.TwitterEntities.

For example, I cannot access TwitterStatus.Entities.Mentions or any properties if I wanted to create a TwitterMention instance.

So here is what it generates (see TwitterEntities is fine) and the lack of code might be why:

So anyone got any ideas how I can get a WCF proxy class that generates correctly involving the TwitterMention class?

[System.Diagnostics.De开发者_运维知识库buggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
[System.Runtime.Serialization.DataContractAttribute(Name="TwitterEntities", Namespace="http://schemas.datacontract.org/2004/07/TweetSharp")]
public partial class TwitterEntities : object, System.Runtime.Serialization.IExtensibleDataObject
{

    private System.Runtime.Serialization.ExtensionDataObject extensionDataField;

    public System.Runtime.Serialization.ExtensionDataObject ExtensionData
    {
        get
        {
            return this.extensionDataField;
        }
        set
        {
            this.extensionDataField = value;
        }
    }
}

[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
[System.Runtime.Serialization.DataContractAttribute(Name="TwitterMention", Namespace="http://schemas.datacontract.org/2004/07/TweetSharp")]
public partial class TwitterMention : TweetSharp.TwitterEntity
{
}


This problem disappeared when checking out and building TweetSharp from source. It seems to have been solved.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜