Is the reference set missing? New Solution

Source: Internet
Author: User

When a program error prompts a lack of reference sets, it is often no problem to add them.

This is generally the case. However, there will still be special cases. The following describes the general solution and the new solution.


First, let's talk about how to solve the problem:

The error message is shown in:




Solution: the error indicates that BLL is not referenced, so we will add it. There are two steps to add a reference, one step is to add a reference in the code

(Using) Word set.

Generally, after the two parts are added, there is no problem.


Let's talk about special cases:

After the two steps are added, the system returns a message indicating that there are errors.

As shown in:



It is really difficult for me to encounter this situation.

It is necessary to explain the background before we can solve this problem. Yes, this solution is automatically generated using software based on the database table. Since the BS web interface is generated, I will manually remove the web, added the Form interface layer of C.

I tried to use the automatically generated Web interface to generate or run it. That is, I changed my BS form interface.


Solution:

Right-click interface layer properties to view the target framework, for example:



Change the target framework to. NET Framework 4, as shown in.

So there is no problem. We can open layer B or layer D attributes. Their target frameworks are. NET Framework 4.

The reason is that the target framework in a solution is consistent. Therefore, if the consistency is changed, there will be no error. This is changed to. NET Framework 4. It is possible to change the. NET Framework 4 clicent profile next time. You can change the settings 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.