'After a Visual Studio 2019 update, all published files have a new timestamp

I have updated Visual Studio 2019 from version 16.11.7 to 16.11.11. After that, I republished an ASP.NET (TargetFramework NET5.0) website after some changes.

In the publish folder, all files had a new timestamp. Even static files such as images, etc.

In the publish options, the option "Delete all existing files prior to publish" is unchecked.

Re-publishing leaves the timestamps of unchanged files unchanged - as usual. So the problem seems to occur only with Visual Studio updates.

Can Visual Studio 2019 be configured so that all files are not set with new timestamps after an update?

Thank you very much for your help.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source