Ugh, not a permanent fix.
Every time you change a file name in the asmdef it’ll regenerate the .csproj file and reset the value…
Looking around it seems I was just on some unlucky versions. Finding this post
I updated my Visual Studio Code Editor to v1.2.4 and all works as expected. The ProjectGenerator.cs
class in the package no longer emits the <ReferenceOutputAssembly>
at all.
Looks like this was a combination of
- Omnisharp having a bug
- Then the Unity Package implemented a workaround
- Omnisharp fixed the bug and correctly evaluated the tag causing the Unity package’s work around to now break evaluation.
- Unity package updated to no longer emit the work around.