Skip to content

Method 'Microsoft.ProjectOxford.Common.ServiceClient.PostAsync' not found ? #29

@xiaoliwe

Description

@xiaoliwe

hi guys
i'm used Emotion API package of nuget in my project and calling the API code as bellow:

Emotion[] emotionResult;
EmotionServiceClient emotionClient = new EmotionServiceClient(Constants.EmotionApiKey);
using (var photoStream = photo.GetStream())
{
emotionResult = await emotionClient.RecognizeAsync(photoStream);
if (emotionResult.Any())
{}
}

but , got exception when BOLD CODE is executed .
pic_004

so , anybody else known why and how to solve it ?

Thanks so much .

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions