Noticed that the “InternalsVisibleTo” attribute stopped working after an update to VisualStudio tools for Unity.
Now it looks like Assembly names are appended with “.dll” in the .csproj. So cool, I’ll change my attribute from:
[assembly: InternalsVisibleTo(“Assembly-CSharp-Editor”)]
to
[assembly: InternalsVisibleTo(“Assembly-CSharp-Editor.dll”)]
Great! Visual studio not complaining anymore. But wait, now Unity complains!
So now I have
[assembly: InternalsVisibleTo(“Assembly-CSharp-Editor”)]
[assembly: InternalsVisibleTo(“Assembly-CSharp-Editor.dll”)]
It’s ok, just strange.