When debugging climbs here is such a mistake. I rebuilt the project, but zero sense. Tell me, please, what is the mistake?

enter image description here

  • Check the dates of dll and pdb files in the bin folder. Do they coincide with the time of the last rebuilding of the project? change when rebuilding? - PashaPash
  • Some of the dll and pdb files change, and some do not - Marina N
  • If ZZZZ. Service. obj) - PashaPash
  • Service.pdb and .Service.dll change, an error is displayed : dropmef ‌ iles.com/imlL9 - Marina N

1 answer 1

In the discussion , several solutions are proposed :) Some will be placed below.

Method 1: Run Build -> Clean Solution, and then Build -> Build Solution.

Method 2: Close the IDE, delete the bin and obj directories, and then restart the IDE.

Method 3: Run Tools -> Import And Export Settings -> Reset all settings.

  • Thank you, edited :) - Sleepy Panda
  • Somehow completely at random: (Ie, an error can be caused, for example, by a crookedly standing reference to a project of services. It will help to demolish and rebuild everything, but only for one time - the site will always pull up old dll. - PashaPash
  • from the discussion on your link - "However, the" - this is a sign that the references were placed on the files in bin / obj, and not on the project in the solution: ( - PashaPash
  • Ie I need to close VS, in the Web folder, take down the bin and obj folder, then open VS and build project or rebild? - Marina N
  • after deleting bin and obj and the project rebuild produces the following error http: //dropmefiles.com/imlL9 - Marina N