Hello, yes the method should be valid for any plugin, you will need just to adapt in each case depending on each plugin particularities. Since you mention a plugin already build for 5.0EA probably you don’t need to touch anything but the EngineVersion tag.
Although I guess it would be better if you use VS 2019 instead of VS 2022, but I didn’t try it so who knows.