In the exceptions I have put the full absolute path to the build executable.
Also I have placed the full absolute path to the build executable folder.
Also I have placed the full absolute path to the build executable project folder.
Also I have placed the full absolute path to the Visual Studio Projects folder that contains all projects.
Avast interferes in a way that prevents Visual Studio from being able to access the EXE file in order to complete a build.
Visual studio build also a process of backing off and retrying the access to the EXE file and in a few instances the retries will succeed in obtaining access but in vast majority of instances the build fails after many retry attempt to access the EXE file for build.
The interference persists even when Avast is permanently turned off.