将当前版本的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)