Error popup when attaching visual studio debugger

I think I followed every aspects in manual, but I meet strange error when attaching my VS 2022 debugger to flax editor.

  • I checked for sure all VS components intalled
    image
    image
    image
    image
    image

  • Created new empty project, opened attached cs file and set configuration as Editor.Development / Win64
    image

  • Attatching to editor creates following popup:
    image
    (Failed to attatch to these type(s) of code: Flax: Wrong pointer)

Sometimes debugger continues anyway, but somtimes Flax editor is terminated. Anyone knows how to fix this?

Met another details.

I am currently have editor option as VS2022 (Tools - Options - Source Code - Project Files - Source Code editor “Visual Studio 2022”)

But when I set that option as 'Default", script solution didn’t opened properly but strangely editor attaching was working without the popup window above.
I forced to open single .sln file (of course building from VS itself wasn’t working) and forced to attach FlaxEditor.exe to debugger from VS2022 menu. It worked errorless! I don’t know why this working and why ‘properly opened’ IDE doesn’t, but wish this information may give some hint for devs.