Antlr4Antlr4 is not an available build action.
Build action should have been changed.
It's a missing feature; we don't support AvailableItemName. Build Actions in CPS are currently driven by ProjectSchemaDefinitions: https://github.com/dotnet/roslyn-project-system/blob/master/src/Microsoft.VisualStudio.ProjectSystem.Managed/ProjectSystem/Rules/CSharp.ProjectItemsSchema.xaml.
Given compat with the legacy project system, we'll probably need to do something here.
This is a dup of https://github.com/dotnet/roslyn-project-system/issues/1715.
@davkean This is #1715
@davkean It wasn't clear how close #113 is to being resolved. In the past, #113 was essentially a known issue since forever, with a well-known workaround available that reloading the project would cause available items to be populated. I filed this issue hoping to at minimum restore the old workaround to unblock users who are affected by lack of support for custom build actions. In other words, I saw #113 as the ideal "it should work even without a restart", where #1715 was "it should at least work when using a reload as a workaround".
I've converted #113 to represent AvailableItemName feature in general. We'll make sure that works without a reload when we implement it.
Most helpful comment
I've converted #113 to represent AvailableItemName feature in general. We'll make sure that works without a reload when we implement it.