I'm trying to use XDocument class inside a Unity3D project on Windows 7.
I did the following:
- added the reference
System.Xml.Linqto the Mono project. included the namespace:
using System.Xml.Linq;- set the target framework to:
Mono/.NET 3.5 - clean and rebuild the project
But still Unity3D complains about it. Here's the error output in the console:
Assets/Scripts/Editor/RoadManager/RoadManager.cs(3,18): error CS0234: The type or namespace name `Linq' does not exist in the namespace `System.Xml'. Are you missing an assembly reference?
Any idea?