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.