如何使用Watson Unity SDK修复多个程序集定义文件错误?

时间:2019-07-15 20:19:47

标签: unity3d ibm-watson

将当前版本的Watson Unity SDK添加到我的项目中时,我收到一些有关包含多个程序集文件的单个文件夹的错误。

我曾尝试删除文件并对其进行更改以删除对多个文件的引用,但是这在响应中产生了大量错误。

这些是有问题的程序集文件:

IBM.Watson.Tests.asmdef:

{
    "name": "IBM.Watson.Tests",
  "references": [
    "WatsonUnitySDK",
    "IBM.Cloud.SDK"
  ],
    "optionalUnityReferences": [
        "TestAssemblies"
    ],
    "includePlatforms": [],
    "excludePlatforms": [],
    "allowUnsafeCode": false,
    "overrideReferences": false,
    "precompiledReferences": [],
    "autoReferenced": true,
    "defineConstraints": []
}

WatsonUnitySDK.asmdef:

{
  "name": "WatsonUnitySDK",
  "references": [
    "IBM.Cloud.SDK"
  ]
}

以下是每个特定的错误消息:

Folder 'Assets/unity-sdk-3.3.0/' contains multiple assembly definition files (Assets/unity-sdk-3.3.0/WatsonUnitySDK.asmdef)

Folder 'Assets/unity-sdk-3.3.0/' contains multiple assembly definition files (Assets/unity-sdk-3.3.0/IBM.Watson.Tests.asmdef)

Folder 'Assets/unity-sdk-core-0.3.0/' contains multiple assembly definition files (Assets/unity-sdk-core-0.3.0/IBM.Cloud.SDK.Tests.asmdef)

Folder 'Assets/unity-sdk-core-0.3.0/' contains multiple assembly definition files (Assets/unity-sdk-core-0.3.0/IBM.Cloud.SDK.asmdef)

0 个答案:

没有答案