Xavalon / XamlStyler

Visual Studio extension to help format your XAML source code
Apache License 2.0
1.18k stars 128 forks source link

XAML Styler firing for Project files (*.csproj) also after updating to v3.2311.2. Previously, it was working fine. #448

Closed egvijayanand closed 8 months ago

egvijayanand commented 10 months ago

Describe the bug XAML Styler firing for Project files (*.csproj) also after updating to v3.2311.2. Previously, it was working fine.

To Reproduce Steps to reproduce the behavior:

  1. While saving the project file with the XML PI node, it throws an error
  2. Refer to the below screenshot for Error details:

Expected behavior It should attempt to format only XAML files as the name suggests and optionally XML files with the xml extension.

Screenshots image

External Configuration NA

Version Info (please complete the following information):

Additional context This started to occur after the recent update a few days ago.

kmgallahan commented 9 months ago

@grochocki Not critical, but this is fairly annoying.

ghost1372 commented 9 months ago

i get this too

Prodigio commented 9 months ago

Maybe a similair problem as this https://github.com/Xavalon/XamlStyler/issues/278 issue?

mrlacey commented 8 months ago

I see this as a result of a change within VS (probably in 17.8) rather than relating to something changed in this extension.

egvijayanand commented 8 months ago

I see this as a result of a change within VS (probably in 17.8) rather than relating to something changed in this extension.

Even then the extension is supposed to work accordingly. Rather it shows some weird dialog.

mrlacey commented 8 months ago

I see this as a result of a change within VS (probably in 17.8) rather than relating to something changed in this extension.

Even then the extension is supposed to work accordingly. Rather it shows some weird dialog.

I commented only to say that the assertion in the issue title may be misleading. Working on a fix now.

ghost1372 commented 8 months ago

@grochocki can you publish a new version with this fixed issue? This bug is very annoying

grochocki commented 7 months ago

I am investigating an issue with the release build of the extension for VS2022 that is preventing it from loading properly, even though it seems to work find under debug. Will publish update as soon as I am able to resolve.

grochocki commented 5 months ago

I am investigating an issue with the release build of the extension for VS2022 that is preventing it from loading properly, even though it seems to work find under debug. Will publish update as soon as I am able to resolve.

Tracking with #479.