BitDefender blocks new executables under %appdata% , ignoring the exclusion

I'm using BitDefender Antivirus Free on Windows 10. I create Visual Studio project, and I don't save it yet to a permanent location - in which case Visual Studio creates it under %appdata%. When I build it, Visual Studio can't copy the executable to the /bin folder, and BitDefender reports that it has blocked it. I have created an exclusion for the folder where VS creates temporary projects (%localappdata%\temporary projects), but BitDefender seems to ignore that and blocks anyway. If I save the same project to the directory under Documents, then I can build it and BitDefender does not mind even without any exclusions.