VS CODE!! Does not work with asmdef files!

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

  1. Omnisharp having a bug
  2. Then the Unity Package implemented a workaround
  3. Omnisharp fixed the bug and correctly evaluated the tag causing the Unity package’s work around to now break evaluation.
  4. Unity package updated to no longer emit the work around.
2 Likes