the source file is different from when the module was built

后端 未结 27 2163
無奈伤痛
無奈伤痛 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:22

    I was just having this same problem, my projects were all in the same solution so they were using Project to Project references, so as one changed the others should have been updated. However it was not the case, I tried to build, rebuild, close VS2010, pulled a new copy from our source control. None of this worked, what I finally ended up trying was right clicking on the project and rebuilding each project individually. That updated the .dlls and .pdb files so I could debug through.

    The issue here is that your dll and or your pdb files are not in sync.

提交回复
热议问题