Skip to content

IVsHierarchy returns BuildAction as "Content" after renaming file #13332

@ssrmm

Description

@ssrmm

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions