Strange Behavior #392
-
I just started to experience this issue if I delete or rename a file in the Solution Explorer while debugging my extensions. Happens right after the confirmation dialog. These message boxes will display. I thought it might be caused by my code in OnAfterRenameFiles, or in OnAfterRemoveFiles but I've commented out the code and it still happens. Doesn't matter what extension I am debugging, it still happens. VS Version: Microsoft Visual Studio Enterprise 2022 (64-bit) - Current When deleting a file: When renaming a file: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Update #1 Not sure if this has anything to do with the problem, but the issue did occur after this came up: |
Beta Was this translation helpful? Give feedback.
-
That would be caused by these lines in the demo extension. Presumably you've run up the demo extension at some point. Once an extension is deployed to the experimental instance, it stays there and is used by Visual Studio even if you aren't debugging that extension, which can be a bit annoying, especially if there are bugs in it. 😆 If you reset the experimental instance, then it will effectively uninstall any extensions that you've debugged. |
Beta Was this translation helpful? Give feedback.
That would be caused by these lines in the demo extension.
Community.VisualStudio.Toolkit/demo/VSSDK.TestExtension/TestExtensionPackage.cs
Lines 88 to 98 in 2020952