Different Solutions for source code and original version

Source: Internet
Author: User
Recent debugging ProgramAfter the breakpoint is set, Source codeDifferent from the original version, I found a lot of solutions on the Internet and tried to solve the problem one by one.

The reason why I cannot set a breakpoint is that I copied the project folder from D: To F: disk. I found the problem through the breakpoint window prompt,

In vs2008, "debug"-"window"-"breakpoint" shows the breakpoint window, and then click "interrupt at function" in "New" in the upper left corner ", then, enter the function name in the pop-up window. After you run the function, the system prompts "SourceCodeDifferent from the original version, the solution Window enables you to execute by source file. If you choose not, you will see a file browsing window, where the original file location is displayed, here is the path where the original file is located. I found that the referenced path is D: disk. Now it has been copied to F: disk, so I thought of deleting the project reference DLL in all solutions, referencing the corresponding DLL file of the new path, cleaning the cache file, and re-compiling the solution. The problem was solved.

Here is a summary of the solution:

1. Delete the OBJ directory under the resumable project folder. Delete the folder C: \ WINDOWS \ Microsoft. NET \ framework \ v2.0.50727 \ temporary ASP. NET files \ corresponding solution.

2. Delete all originally referenced DLL files and then reference the DLL files in the new path.

3. regenerate the solution

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.