Visual Studio 11 Beta solution for WebServices reference errors

Source: Internet
Author: User

Recently, I changed a 64-bit system and installed vs11. The overall feeling is pretty good. The only difference is that some toolbar icons have changed and I cannot find them all at once.

I encountered a problem today. vs11 always reports an error when referencing WebService. It used to run well in 2010.ProgramIn beta 11, an error is reported. The service cannot be found, as shown in the following code:

Environment win7 64-bit, vs11 BETA:

 

The error message is as follows:

 

After searching for a while on the Internet, we all said that this was a historical problem. This bug was found in version 2008, But it is said that Microsoft has fixed it. I don't know why this error occurs again in version 11.

 

Solution:

Right-click your WebServices name and configure service reference

 

Set reuse types in referenced assemblies

 

In this way, we can solve the problem and hope to help some friends who have similar problems.

Related Article

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.