nemerle
nemerle copied to clipboard
IVsHierarchy returns BuildAction as "Content" after renaming file
When renaming a file inside a Nemerle project, the build action is displayed correctly in the "Properties" view of Visual Studio. However when accessing the property programmatically through IVsHierarchy
, it will always return Content
until the project is saved, unloaded and reloaded.
The Nitra plugin can't properly handle file renames because of this.
This can be easily reproduced by debugging the Nitra plugin and putting a breakpoint at NitraCommonVsPackage.cs#L331.