❔ Attach to `w3wp.exe` process on Windows 11 ARM64 VM

Ccdbus1/30/2023
Hello, I'm trying to run and debug a .NET 4.8 project running on IIS, on a Windows 11 ARM64 instance.

I'm able to build the project, create an IIS site and generally run the application.

However, previously I was able to debug the IIS application by going to Tools > Attach to Process and selecting the running w3wp.exe - which is not possible when I do this from an ARM vm.

Has anybody had success with this scenario before I move on?
Mmtreit1/30/2023
Remote debugging or VS is actually running on the ARM machine?
Rreflectronic1/30/2023
you should be using .NET 4.8.1 if you want to run it on Arm64
Rreflectronic1/30/2023
and you need to build your app as Arm64 specifically (not AnyCPU). that's my understanding, anyway
Rreflectronic1/30/2023
you will not have a good time trying to run your app under x64 emulation
AAccord1/31/2023
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.