codecadwallader / codemaid

CodeMaid is an open source Visual Studio extension to cleanup and simplify our C#, C++, F#, VB, PHP, PowerShell, JSON, XAML, XML, ASP, HTML, CSS, LESS, SCSS, JavaScript and TypeScript coding.
http://www.codemaid.net
GNU Lesser General Public License v3.0
1.9k stars 358 forks source link

Visual Studio Arm64 Support #963

Open aherrick opened 1 year ago

aherrick commented 1 year ago

Is it possible to target the extension for Arm64?

https://devblogs.microsoft.com/visualstudio/now-introducing-arm64-support-for-vs-extensions/

codecadwallader commented 1 year ago

Thanks for the suggestion! It seems fairly straight forward to add support based on that article if someone has an Arm64 device to test it out and can make the proposed changes.

erikmartinessanches commented 1 year ago

Thanks for the suggestion! It seems fairly straight forward to add support based on that article if someone has an Arm64 device to test it out and can make the proposed changes.

There was a volunteer here.

cbeilman commented 1 year ago

I volunteer to test this.

Russ-McClelland commented 1 year ago

Likewise, I have a DevKit and can pitch in here. What's needed?

agaudreauappcom commented 1 year ago

I am currently running VS2022 ARM64 with the CodeMaid extension, so far so good! I applied the proposed changes in the article linked above to the release branch, made a Release build and installed the generated VSIX. I'm not confident enough that there aren't any bugs to open a pull request yet, but it's surprisingly easy to just compile the extension yourself to test it out.

Here's a preview of the code changes I made (only two files, for the nuget packages I just took the latest versions in the NuGet package manager in VS):

image image

WernerMairl commented 1 year ago

Hi all

I saw PR #1009 and I'm now able to help with testing (Windows 11 on Arm64) Can we proceed in some way ? Anyone can provide a compiled (beta) vsix - that should make testing a lot easier..

BR Werner

peerhoffmanncode commented 1 year ago

I would also like to help testing. So I would also appreciate a compiled VSIX to test. Thank you.

ddynamight commented 1 year ago

@codecadwallader I see lots of volunteers who would like to test this and I can also do the same. Is there a timeline to when this #1009 PR will be merged for VS2022?

codecadwallader commented 10 months ago

The PR includes some major package updates, which will break compatibility with VS2019. If there is a way to avoid breaking changes, that would be helpful.

jacobpretorius commented 8 months ago

I built the package from #1009 and it seems to work fine on VS2022 via Parallels on M1 Mac Pro.

Adding here for others who want it while this issue/PR remains open 😄

Unzip as github doesn't like the .vsix uploaded directly. SteveCadwallader.CodeMaid.VS2022.zip

scottkuhl commented 7 months ago

The PR includes some major package updates, which will break compatibility with VS2019. If there is a way to avoid breaking changes, that would be helpful.

Mainstream support for Visual Studio 2019 ends in April. In my opinion it would be better to merge in support for ARM and drop support for 2019 come April 9th.

https://learn.microsoft.com/en-us/lifecycle/products/visual-studio-2019

minzdrav commented 1 month ago

Hello @codecadwallader Thank you for your great work!

If you don't have a way to overcome compatibility issue with VS2019, maybe you can release separate version for VS2022 with ARM support? Or drop support for VS2019?