I have a VC solution . This solution contains 1 exe. and 10 libraries. The libraries are linked to the execute project from
pragma comment(lib,"../outputbin64/lib/mylib")
Before linking the.lib, I want to test the exe. without the .lib
When I comment these lines, they should be blocked. But the exe still sees the .lib and I get a link error:
LINK : fatal error LNK1104: cannot open file '../outputbin64/lib/mylib.lib'
My libraries are not linked to the exe.
My question is "Why does the exe. link the libraries to itself?