Avast is blocking pdf compilation

Hello everyone,
the newest Avast update is preventing LaTeX programs from working properly, so much so that while Avast’s protections are activated no pdf can be compiled. I tried including both the MiKTeX console and the TeXstudio editor .exe’s in the exclusion list, but that did not solve the problem.
Has anyone encountered a similar problem before and knows how to solve it? Thanks

https://support.avast.com/en-ww/article/298/ (Blocked & Allowed apps)

Do you get any notifications (detections) from Avast? Any errors from TeX? How exactly does the problem manifest?

@igor At first I didn’t get any notification from Avast, and TeX only gave me a general error “can’t write on file” (which is why it took me two days to figure out it was Avast’s fault). However this morning for the first time Avast asked me if I wanted to continue blocking pdflatex.exe from accessing a protected folder, and by saying No the problem solved itself, so thanks anyway

And @Asyn, I checked and that is what I should have done if Avast hadn’t notified me, so thank you as well!

You’re welcome.