Vs2003 keeps prompting expired questions

Source: Internet
Author: User
Tags call back

After using vs2003 to generate a file at work, click "debug" or "execute" to continuously prompt questions such as "expired, whether to generate again.

 

At that time, the function I wanted to implement was related to "time". During debugging, I did not know that the time was adjusted to tomorrow, but I did not know that I copied a code, or modified the code. After implementing the Code, call back the time. After "generate solution", the system prompts that the Code has expired. clicking "regenerate solution" is useless. At that time, I didn't think it was a problem with the file modification time. I tried to restart my computer and it was useless.

 

Then, I found that every time I click to generate a solution, only one file is compiled (if it is not "regenerate the solution", vs2003 only compiles the modified file, it's okay if you replace a CPP)

 

Later, I thought about the "last modification time" problem of the CPP file. Every time vs2003 clicks "generate solution" or "debug ", determine whether the last modification time of each "CPP file" is earlier than the "last modification time" of PDB (remember PDB), or re-compile the file.

 

Changed the system time to the future. CPP "after this file,". CPP "the" last modification time "of this file will be later than the last modification time of PDB no matter how it is compiled. Of course, it will continuously prompt" expired.

 

The solution is simple. Open "A. cpp" and add a space at will to change the last modification time.

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.