I recently moved from VS 2019 to VS 2022 and installed setup project extension for VS 2022 version: https://marketplace.visualstudio.com/items?itemName=VisualStudioClient.MicrosoftVisualStudio2022InstallerProjects
The problem is that when I install binaries now, all files in the installation folder have the current date/time (with VS 2019, only the modified DLLs / EXE file would have the current date/time, all other DLLS [from 3rd party libraries] would retain their original date/time).
I have tried to uninstall & re-install the extension + delete and recreate the setup project, to no avail. These are 64-bit Winform apps, .NET 4.6.1.
The csproj & sln files are identical, so it is unlikely that the problem is related to those files (or the project references, since they live in the csproj files).
Also, I tried opening the solution in VS 2019 again (even though the setup project extension is only for 2022) and it built and installed fine, without changing the timestamp of all the files.
How can I make this work with VS 2022 so that when I install new binaries, only the modified files get a new timestamp?