Open TTimo opened 11 years ago
It looks like Uniject includes System.Xml.Linq.dll in its distribution. Older versions of Unity didn't include this dll, but the newer versions do. So we're ending up with multiple System.Xml.Linq.dlls.
I was able to fix things by deleting Uniject's System.Xml.Linq.dll. You can find it in: Assets\Plugins\Uniject\Assembly.
I deleted both System.Xml.Linq.dll and System.Xml.Linq.dll.meta, launched Unity, opened my project, and everything worked again.
For reference, I'm running Unity 4.2.2f1.
Hope this helps.
Hello,
I'm trying to assess Uniject and run the examples running in a few problems that I hope you can help with.
MacOS X 10.8.5 Unity pro 4.2.2f1 Xamarin Studio 4.0.13 (formerly known as MonoDevelop) Latest Uniject out of github
After I load in Unity (which upgrades the project) and do a sync, the project appears in Xamarin. I can compile 'Assembly-Csharp-firstpass', but 'Assembly-CSharp' fails in box.cs on 'using Uniject;' : 'The type or namespace could not be found ..'
When I try to run the example script in Unity, I get a different error: Assets/Plugins/Uniject/Interface/IResourceLoader.cs(11,17): error CS0433: The imported type `System.Xml.Linq.XDocument' is defined multiple times
Any tips appreciated, TTimo