Rhino8 visual studio post-build event

Hi

I have an issue to build grasshopper plugin when I change the post-build event.
What I want is to auto update the .gha file at the library folder whenever it’s built.
This will help me to quickly change the code, debug it, without the need to push it via Yak.
Probably the issue is because Rhino8 output net7.0, net7.0-windows, net48, and I have to specify which one to replace?

Best,
Shaun