可以在Visual Studio for Mac中使用Azure认知服务吗? [英] can I use azure cognitive services in visual studio for mac?

查看:98
本文介绍了可以在Visual Studio for Mac中使用Azure认知服务吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是新来的学生,所以我的知识很匮乏. :(

I'm a new student so I'm very short on knowledge. :(

并且我使用Visual Studio for Mac的7.6.11版本.

and I use the version 7.6.11 of the Visual studio for mac.

我想知道这是否能让我使用天蓝色的认知服务.

I wonder if this will allow me to use azure cognitive services.

我尝试按照Microsoft提供的说明进行操作,但是仍然出现System.AggregateException错误.

I tried to follow the instructions provided by Microsoft, but I still get an System.AggregateException error.

https://docs.microsoft.com/zh-cn/azure/cognitive-services/speech-service/quickstart-csharp-dotnet-windows

https://docs.microsoft.com/en-us/azure/cognitive-services/speech-service/quickstart-csharp-dotnet-windows

RecognizeSpeechAsync().Wait();

引发以下异常.

"Microsoft.CognitiveServices.Speech.Internal.carbon_csharpPINVOKE"的类型初始化程序引发了异常.

The type initialiser for 'Microsoft.CognitiveServices.Speech.Internal.carbon_csharpPINVOKE' threw an exception.

我想知道这是否天生就不兼容.

I wonder if this is inherently incompatible.

请帮助我!

推荐答案

可以&NBSP;的选出&NBSP; <强烈风格= "margin:0px; padding:0px; border:0px; line-height:inherit; font-family:Arial,'Helvetica Neue',Helvetica,sans-serif; font-size:15px; vertical-align:baseline; color: #242729>调试 >选项>调试>常规 ,然后取消选中启用我的代码" Visual Studio中的选项,以查看发生了什么具体情况.

You can elect Debug > Options > Debugging > Generaland unselect the "Enable Just My Code" option in Visual Studio to see what happened specific.

问候,

Yutong


这篇关于可以在Visual Studio for Mac中使用Azure认知服务吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆