我通过NuGet包将Json.Net库添加到了Visual Studio 2013中,并安装了NetFramework 4.5。在Visual Studio中,当我添加
using Newtonsoft.Json;
时,并没有出现错误,但是在Unity3D 5.0中,我却遇到了以下错误:
Assets/RobotController.cs(5,7): error CS0246: The type or namespace name `Newtonsoft' could not be found. Are you missing a using directive or an assembly reference?
我在该项目的“packages”文件夹中查找了dll文件,所以我不明白问题出在哪里。谢谢您的帮助。