Build Succeeded, but no .lib file gets created

前端 未结 10 1318
执笔经年
执笔经年 2021-01-31 13:37

I inherited a substantial amount of code, including a visual studio project that is supposed to (as best as I can tell) build a .lib file. Visual studio says \"... Generating C

10条回答
  •  感情败类
    2021-01-31 14:15

    I just ran across this problem as well.

    It was due to using an invalid macro in the output directory definition. In my case, it was

    when it should have been

    I had to blank out the full path in the second screen shot. I had an incorrect macro. I was using MsBuildProjectDir when I should have been using MsBuildProjectDirectory. The read-only text box will show the full path (eg: C:\Development\blah\blah\blah\) when the output directory is valid. If the output directory is not valid, you'll get something like the first screenshot.

提交回复
热议问题