I have a project in my solution which gets built (consequently all the dependent projects as well) on every run due to the following file missing. I changed the build output verbosity to Diagnostics
and got the following line at the top of the build of the said project:
Build started...
1>------ Up-To-Date check: Project: project_name.vcxproj, Configuration: Release x64 ------
1>Project is not up-to-date: build output 'c:\path\appdata\local\temp\lnk{24e28c62-71a7-43ad-81e2-9b34157645b4}.tmp' is missing
1>------ Build started: Project: project_name, Configuration: Release x64 ------
This number (24e28c62-71a7-43ad-81e2-9b34157645b4) changes on every build.
The solutions that I have tried which didn't work:
- Deleted the .suo file.
- Deleted temp folder, caches and settings.
- Reinstalled the VS 2022.
The rebuild happens when I click the build solution
regardless of any changes or lack there of in the code.
Edit:
The linker /VERBOSE
output on building the said project:
Build started...
1>------ Build started: Project: project_name, Configuration: Release x64 ------
1>Invoking cvtres.exe:
1> /machine:amd64
1> /verbose
1> /out:"C:\Users\path\AppData\Local\Temp\lnk{01385313-5798-4F09-8223-983424FE6954}.tmp"
1> /readonly
1> "C:\Dev\dev\ws2\build\Release_x64\i\project_name\name-of-dll.res"
1>Microsoft (R) Windows Resource To Object Converter Version 14.30.30711.1
1>Copyright (C) Microsoft Corporation. All rights reserved.
1>
1>adding resource. type:VERSION, name:1, language:0x0407, flags:0x30, size:576