ARTICLE AD BOX
The project is simply a whole bunch of CPP code to build a DLL, and a little test program to run it. The DLL built fine on an earlier VS but now fails with LNK1104 (cannot open file 'filename' - the LIB file). Multiple attempts to clean/rebuild to no avail.
My suspicion is that something changed in VS 2026 and the actual error message is misleading. But what might that be, and what to do to fix it?
The source code is not helpful, but the compiler command line might be:
/JMC /permissive- /Yu"stdafx.h" /ifcOutput "x64\Debug" /GS /W3 /Zc:wchar_t /ZI /Gm- /Od /sdl /Fd"x64\Debug\vc145.pdb" /Zc:inline /fp:precise /D "_CRT_SECURE_NO_WARNINGS" /D "_CRT_NONSTDC_NO_WARNINGS" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_WINDLL" /D "_UNICODE" /D "UNICODE" /errorReport:prompt /WX- /Zc:forScope /RTC1 /Gd /MDd /FC /Fa"x64\Debug" /EHsc /nologo /Fo"x64\Debug" /Fp"x64\Debug\LibraryDll.pch" /diagnostics:column
