Changing the location of the Temp directory = veeeery long first build process

Hello everyone,

In the PLC configuration, I activated the option “Enable source files comparison on target.” The Build reported that the path was too long. One of the solutions to this problem was to redirect temporary files to a different folder. In the project settings, I therefore specified a new location of a Temp directory. After this change, the first Build took several hours :zzz:. Subsequent Builds proceeded normally. The download to the PLC went smoothly, and file comparison is functioning :ok_hand:

I am currently avoiding changing the location of Temp in other projects because the build process prevents me from developing the program for several hours.

Is this behavior familiar? Is there a solution?

X20CP3686X
AR B4.92
AS 4.11.2.75

Thank you,
LH

One explanation could be a virus scanner which is scanning this new temp folder and scanning the files placed in this temp folder. If possible you can exclude all project and AS related folders from being scanned by a virus scanner.

2 Likes

I agree with @corne.geerts; I do not think the cause is in AS itself.