What is the trick with VS projects references?
Visual Studio solution of my Unity project consist of 4 Visual Studio projects** :
myApp
myApp.Editor
myApp.Editor.Plugins
myApp.Plugins
These VS-projects have such dependencies between: (You could see them in "References" of VS-project in Solution Explorer (to be able to see them, you probably should enable an access to project properties in VS (see here how to do it)
myApp: to 4
myApp.Editor: to all (1, 3, 4)
myApp.Editor.Plugins: to 1, 4
myApp.Plugins: to none
I put a cs-file, which I want to use in projects 1 & 3 to folder of 1: ...\myApp\Assets\Scripts, 'cos 3 has 1 among its references. And it's ok with VS - build succeed. BUT Unity generates such error in its console:
Assets/Plugins/Editor/myEditor/myEditor.cs(15,7): error CS0246: The type or namespace name `HelperFunctions' could not be found. Are you missing an assembly reference?
What's the trick with VS-projects dependencies? What I miss?
**) don't get confused - VS-solution corresponds to a Unity project, but VS-projects are components of VS-solution.
PS: If I put this cs-file into folder of 4 project - Unity becomes satisfied.