Visual Studio / MSBUILD does not update .lib files when sources are updated

前端 未结 2 1646
后悔当初
后悔当初 2021-01-02 04:56

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

相关标签:
2条回答
  • 2021-01-02 04:58

    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.

    0 讨论(0)
  • 2021-01-02 05:17

    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.

    0 讨论(0)
提交回复
热议问题