Skip to content
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

VS2022 support? #22

Open
anupshah opened this issue Oct 13, 2021 · 14 comments
Open

VS2022 support? #22

anupshah opened this issue Oct 13, 2021 · 14 comments

Comments

@anupshah
Copy link

Hi, thanks for this useful extension.

Any plans to update to support VS2022?

@Wumpf
Copy link
Owner

Wumpf commented Oct 13, 2021

No, not using this or VS in general much anymore myself. But if someone wants to take it over we can make this happen

@ovidiubuligan
Copy link

please make it happen , we need this . @Wumpf what are you using instead of VS ?

@Roozi489
Copy link

Hey, I made the extension work with VS2022. It was a quick hack so it only works with 64bit VS2022.
I did not test it much, but it seems to work fine.
It also contains a couple of changes. If automatic color is used it searches for color names to use in solution path. If if doesn't find any color it uses a hash of the path so that the color stays the same even when solution is recreated.
Hope this is OK @Wumpf
SolutionColor_fromPath_vs2022.zip

@Wumpf
Copy link
Owner

Wumpf commented Nov 11, 2021

Thanks! Can you create a pr?

@Wumpf
Copy link
Owner

Wumpf commented Nov 11, 2021

It was a quick hack so it only works with 64bit VS2022.

ah well nvm actually, wouldn't want to land that obviously ;)

@Roozi489
Copy link

I can clean it up and create a PR if you want. It was just a very minor change.

@Caedendi
Copy link

@Roozi489 Please make a PR :) thx for your work.

@ovidiubuligan
Copy link

Yes, +1

@Caedendi
Copy link

Caedendi commented Dec 2, 2021

@Roozi489 any chance you could make a PR?

@Roozi489
Copy link

Roozi489 commented Dec 2, 2021

Sorry, yeah, I'm still planning to.
I just didn't know how much work is it to make the extension work with both VS2019 and VS2022. The code change itself is trivial, but you need to have at least 2 separate projects. MS recommends moving the code into Shared project and creating one project for VS2019 (and older) and one for VS2022.

@twilly86
Copy link

Yes, +1

@RODevVro
Copy link

Hello, I added the support for VS 2022 available on this fork here. You just have to download the solution, build in Release and you will find the .vsix extension in the bin/ folder. Separate the project into a shared project as MS recommends.

I don't do PR yet since I can't get the extension to work under VS 2019. The extension installs but I don't see the commands accessible from the VS menus. There is still some work to do but the fork allows to use the plugin under VS 2022.

@dviry
Copy link

dviry commented Aug 23, 2022

Just for those looking for an official VS2022 supported plugin that does the same:

https://devblogs.microsoft.com/visualstudio/differentiating-visual-studio-instances/

@anupshah
Copy link
Author

anupshah commented Sep 1, 2022

Thanks @dviry - I had seen that myself and started using that.

I appreciate that extension development has become a bit more complex if you need to support both VS 2022 and VS 2019.

For me, I am happy to use that other extension for now, so if you want to close this issue that is fine with me, though others may still prefer this extension and want to keep this open?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants