-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issues with WPF? #4
Comments
Huh. It seems to work fine if I add a window using the Extensibility Template Pack. |
I can reproduce this, but adding a window from the Extensibility Template Pack didn't fix it. Maybe there was something else that you changed in the project file? I'm going to reopen this and see if we can find a solution. |
Nope. I changed nothing else. I just have an existing project I'm working with. When I add a new item, if I select "User Control (WPF)" it won't build. I can select "Async Tool Window (Community)" or "Dialog Window (Community)" and everything works fine. No other changes. I played around with this a bit and I found a way to fix the issue, for me at least. The xaml file that gets created when adding a new WPF User Control has the line |
Oh. I should clarify that adding a window with the Extensibility Template Pack doesn't fix things the "bad" one. I'm deleting the "bad" one and then adding a new one from the Extensibility Template Pack. If I have both side-by-side it won't compile. |
So after avoiding using |
I have some Visual Studio extensions currently using WinForms for their UI. I was looking at changing them over to use WPF, but simply adding a WPF control to my project prevents it from building. I get errors that say
The name 'VSCommandTable' does not exist in the current context
andThe name 'Vsix' does not exist in the current context
. I tried some workarounds I found on GitHub, but they weren't working for me. I did come across this message where @reduckted seems to mention a similar issue: madskristensen/MarkdownEditor2022#10 (comment)Is this a known issue? Or is there something I need to do to get the source generators working alongside WPF?
The text was updated successfully, but these errors were encountered: