I have encountered this error when I am adding the DAI.dll to the assets folder. this error happens when I try to build.
UnityException: Failed to run reference rewriter with command --target="Temp\\StagingArea\\DAI.dll" --additionalreferences="Temp\\StagingArea","C:\\Program Files (x86)\\Windows Kits\\10\\UnionMetadata\\10.0.17134.0\\Facade","C:\\Program Files (x86)\\Windows Kits\\10\\References\\10.0.17134.0\\Windows.AI.MachineLearning.Preview.MachineLearningPreviewContract\\1.0.0.0","C:\\Program Files (x86)\\Windows Kits\\10\\References\\10.0.17134.0\\Windows.ApplicationModel.Calls.CallsVoipContract\\3.0.0.0","C:\\Program Files (x86)\\Windows Kits\\10\\References\\10.0.17134.0\\Windows.ApplicationModel.SocialInfo.SocialInfoContract\\2.0.0.0","C:\\Program Files (x86)\\Windows Kits\\10\\References.....(followed by alot more of this)....
I am using visual Studio 2017 version 15.7.3 and Unity version 2017.2.0b7
I have added the DLL to the assets folder in unity.
These are my player and build settings.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.