Skip to main content
Solved

acuminator on Windows ARM?


for acumatica development, i am using a macbook (m3) running Windows 11 (ARM) VM.  on the windows VM, i’ve installed Acumatica and Visual Studio 2022 (ARM 64-bit).   i am able to build DLL’s with custom code and run Acumatica on the VM.  

However, i am unable to install Acuminator.  when i download the 3.1.3 from the vstudio marketplace and attempt to install it, i get the message, “This extension is not installable on any current installed products.”

are there any plans to provide an ARM-compatible version of the Acuminator, or does anyone have any workarounds for this issue?

thanks

   jim

 

Best answer by snikomarov36

  

@jim71 thanks, your log greatly helped me.

It was actually my mistake, I sent the old Acuminator build, without the arm support.
Please use this build and repeat all steps I described previously.

View original
Did this topic help you find an answer to your question?

9 replies

snikomarov36
Acumatica Employee
Forum|alt.badge.img
  • Acumatica Employee
  • 47 replies
  • October 2, 2024

Hi @jim71,

I initially thought that you are referring to Visual Studio for Mac which is a separate code editor different from standard Visual Studio for Windows. For such code editor, the best thing you could do was to add Acuminator analyzers as a nuget package to your projects.

However, now I understood that you are running VS in a VM with Windows. In this case the only problem is that Visual Studio extensions are usually build against x86 architecture. We haven’t received any requests for arm64 version previously.

I believe, that the following SO question may help you with your issue:
https://stackoverflow.com/questions/49693416/visual-studio-for-mac-support-of-roslyn-analyzers


snikomarov36
Acumatica Employee
Forum|alt.badge.img
  • Acumatica Employee
  • 47 replies
  • October 2, 2024

@jim71 I have done some investigation and it turned out that it seems to be not very difficult to add support for ARM architecture.

Could you please try this attached feature build of Acuminator with arm support.
Please change the file extension from zip to vsix (Acumatica Community does not allow to upload vsix files). Then run it. Please write back, if the Visual Studio installer will install Acuminator now or not.

If everything works smoothly then I will try to add arm support into the next release.


  • Author
  • Freshman I
  • 7 replies
  • October 2, 2024

i changed the file extension to vsix, and tried to run it on the VM.   unfortunately, same results.  Install Failed - This extension is not installable on any current installed products.”

in case it might be helpful, i zipped the installer log file and attached it here (community also does not allow upload of .log files).

let me know if you have any other suggestions to try.   i really enjoy the macbook vs any windows laptop (especially the battery life!), but do miss acuminator.    

thanks

   jim


snikomarov36
Acumatica Employee
Forum|alt.badge.img
  • Acumatica Employee
  • 47 replies
  • Answer
  • October 2, 2024

  

@jim71 thanks, your log greatly helped me.

It was actually my mistake, I sent the old Acuminator build, without the arm support.
Please use this build and repeat all steps I described previously.


  • Author
  • Freshman I
  • 7 replies
  • October 3, 2024

parfait!   that works.    Thank you!


snikomarov36
Acumatica Employee
Forum|alt.badge.img
  • Acumatica Employee
  • 47 replies
  • October 3, 2024

@jim71 great to hear! This means that the next Acuminator release will receive ARM support. I have already prepared a pull request with changes.


snikomarov36
Acumatica Employee
Forum|alt.badge.img
  • Acumatica Employee
  • 47 replies
  • October 4, 2024

Hi @jim71.
One last question. I need to verify that Acuminator is not only installed on machine with ARM, but is actually working there. Does syntax coloring, code analysis, Code Map work correctly in your VS?
 


  • Author
  • Freshman I
  • 7 replies
  • October 4, 2024

yes it sort of does.  see attached screenshot from the VM on my MacBook.  syntax coloring, BQL formatting, and code map work.  

however, I am not seeing any of the typical warnings from code analysis.  either I have all of a sudden become the perfect Acumatica developer, or it is not doing code analysis.  (I did check VS options and verified that all of the code analysis options are enabled).   later today, I will open one of my projects on a windows laptop to compare code analysis results.


snikomarov36
Acumatica Employee
Forum|alt.badge.img
  • Acumatica Employee
  • 47 replies
  • October 4, 2024

@jim71 thanks for the feedback.

You can easily check if code analysis works by creating quickly breaking one of Acuminator rules.
For instance, you can declare an empty DAC, and Acuminator should report that this DAC doesn’t have either PXHidden, or PXCacheName attribute.

I have seen some cases when code analysis didn’t work even with regular x64 Windows and VS.
If your code analysis doesn’t work, please follow the steps from this troubleshooting guide:
https://github.com/Acumatica/Acuminator/blob/dev/docs/dev/Troubleshooting/Troubleshooting.md


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings