- Home /
UnityVS with Visual Studio 2015, Editor Scripts cant access game components in VS project file
I just started using UnityVS with Visual Studio 2015 instead of MonoDevelop, and it works fine for regular game scripting, but for some reason the Visual Studio project for the Custom Editors in the CSharp.Editor project cant access classes I wrote in the regular CSharp project.
So say I have a Player class which is a regular MonoDevelop based component, but I want to write a custom editor. The PlayerEditor class which is in the CSharp.Editor project can't access any classes in the normal project, so Visual Studio thinks references to the Player class in PlayerEditor are errors and I don't get any intellisense or anything. All this was working fine in MonoDevelop, but after switching to VS 2015 with UnityVS, I can't really write any new editor scripts.
I checked the project dependencies too, the CSharp.Editor project has the CSharp project set as a reference dependency, so I don't understand why Visual Studio can't find those classes.
Anyone have any tips or see this and solve it before?