the source file is different from when the module was built

后端 未结 27 2244
無奈伤痛
無奈伤痛 2020-11-29 20:53

This is driving me crazy.

I have a rather large project that I am trying to modify. I noticed earlier that when I typed DbCommand, visual studio did

27条回答
  •  忘掉有多难
    2020-11-29 21:21

    My solution:

    I had included an existing project from a different solution in a new solution file.

    I did not notice that when the existing project was rebuilt, it was putting the final output into the NEW solution's output directory. I had a linker path defined to look into the OLD solution's output directory.

    Switching my project to search in the new solution's output directory fixed this issue for me.

提交回复
热议问题