Skip to content

E_NOINTERFACE Dialog from XAML Styler when saving csproj file #492

@michael-hawker

Description

@michael-hawker

Describe the bug
When manually editing a csproj file and making changes, upon saving, XAML Styler is trying to do something which causes an exception:


Microsoft Visual Studio

Error in StylerPackage:

No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE))

If this deems a malfunctioning of styler, please kindly submit an issue at https://github.com/Xavalon/XamlStyler.

OK

To Reproduce
Steps to reproduce the behavior:

  1. Click on a project file to load the csproj file in the XML VS Editor
  2. Make a change to the file and save the csproj file
  3. See XAML Styler error dialog

Expected behavior
I would not expect XAML Styler to be running here and causing a problem.

Screenshots
If applicable, add screenshots to help explain your problem.

Version Info (please complete the following information):

  • OS: Win11 23H2 22631.3737
  • Visual Studio: 17.10.2
  • XAML Styler: 3.2311.2

Additional context
Updated to 3.2404.2 and restarted VS, don't see it at the moment, but feel like I've had that happened in the past, so wondering if there's some transient other step that has to happen first.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions