@Fatih54102, others gave you excellent advice and reasons.
Here's my idea - take a shot at it, it might do what you need.
Make a special directory for development to hold your code, executable trials, supporting files (.dll, .jpg, etc) the whole thing.
Add that directory, instead of a specific .exe file (as I suspect you tried) to exclusions in Avast.
See what happens.
I suspect Avast will alert anyway, as you use various Windows resources, but that's only a guess.