![](/img/trans.png)
[英]ASP.NET Core 1.1 compiling with C# dynamic Missing compiler required member 'Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo.Create'
[英]How to fix "error CS0656: Missing compiler required member 'Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo.Create'"
我想在 Unity (ver.2018.4.13) 上使用 IBM 的 Watson API SpeechToText。 首先,我正在阅读https://github.com/watson-developer-cloud/unity-sdk/blob/master/README.md并尝试安装但控制台说
Assets\\unity-sdk-core-1.2.0\\Utilities\\CredentialUtils.cs(268,70):警告 CS0618:“Credential.ApiKey”已过时:“不推荐使用旧版 apikey 进行身份验证”。 请使用 TokenOptions 进行身份验证。
Assets\\unity-sdk-core-1.2.0\\Connection\\RESTConnector.cs(664,24):错误 CS0656:缺少编译器所需的成员“Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo.Create”
和
Assets\\unity-sdk-core-1.2.0\\Authentication\\CloudPakForData\\CloudPakForDataAuthenticator.cs(35,31):警告 CS0414:分配了字段“CloudPakForDataAuthenticator.UrlSuffix”,但从未使用其值
我该如何解决这些错误和警告。
谢谢你。
这看起来您没有使用最新的 Unity SDK 或核心。 请从https://github.com/watson-developer-cloud/unity-sdk/releases和https://github.com/IBM/unity-sdk-core/releases下载最新版本
另外请将您的 API 兼容级别设置为 .NET 4.x
https://github.com/watson-developer-cloud/unity-sdk#configuring-unity
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.