I have a Visual Studio solution with a library project let\'s call it libFoo
, and an executable project - let\'s call it Bar
which depends on
Make sure the project-property for "General\Target Name" and "Librarian\Output File" match, and that they match for all configurations. It's worth checking the above on the "Librarian\Command Line" page also.
It seems that we have encountered the same problem as the person who asked this question. There is also a bug report on Microsoft Connect.
To make things short - our intermediate folder was the same as our %temp% folder on some configurations. We solved the problem by modifying the intermediate folder of all our Visual C++ projects.