I encounter an issue whereby the Visual Studio 2022 project using a .cu file is always rebuilt when the project is built, even though nothing has been changed. The up-to-date check for the project does not seem to work. Is there anyway to overcome this issue? Thanks.
Update: when I try to rebuild, the verbose log shows that the build input project is missing. But project is always in the folder.
Message:
“Project is not up-to-date: build input ‘testcudaproj.vcxproj’ is missing.”
This issue is encountered when I open the project using a solution file containing that project. If I open the project using the project file, the issue does not occur.
I am using CUDA 11.4 with VS2022.