Never-build package 'a 'requires always-build package 'B'

Source: Internet
Author: User

Solution to the never-build package 'A' requires always-build package 'B' error in Delphi:

1. Principle:

Two BPL packages. If Package A requires B, the build control of Package A and Package B must be consistent, or package a is rebuild as needed (always-build ), package B is explicit rebuild (never-build ). The reason is: If Package A is explicit rebuild and Package B is rebuild as needed, it means that package a is very stable and does not need to be compiled, but the B package of Package A requires is always changed, it must be compiled frequently. So, when Package B changes, it should be updated, while Package A is explicit rebuild, so Package A is still not compiled, so the content of Package A is old, eventually, package update fails. If the application calls Package A, an error occurs. Therefore, the combination of "A package is explicit rebuild and B is rebuild as needed" is not allowed in the case of a package requires B. Delphi prompts the never-build package 'a 'requires always-build package 'B' error.

2. solution:

Set the build control in the description panel in the project-> Option of the two packages to the same, which is usually rebuild as needed.

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.