Preprocessing directives missing 2021.3.4f1 + VS2022

Hi,

I’m using 2021.3.4f1 + VS2022 but preprocessing directives, like UNITY_EDITOR, DEBUG, are missing in VS2022.

I try to regenerate the cs project without success.

Any advice? What am I missing?

Thanks.

I finally resolved, this flag simulates the player projects so don’t include any editor assembly and defines.