nemerle icon indicating copy to clipboard operation
nemerle copied to clipboard

IVsHierarchy returns BuildAction as "Content" after renaming file

Open ssrmm opened this issue 8 years ago • 0 comments

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.

ssrmm avatar Jan 16 '17 11:01 ssrmm