Discover the bug of C # Builder

xiaoxiao2021-03-06  91

Today, write the program, use the DiscoveryClientProtocol class, check the help, know this class is under System.Web.Services.Discovery Namespace, then add a use system.web., After the output. There is no SERVICES NAMESPACE, which is very strange, so I will pass System.Web.Services in manually; point to compile, report error, and prompt did not find System.Web.Services Namespace. Then check the Assembly search path setting, no problem, you can also find system.web.services.dll in the relevant directory, and finally there is no way, I added a WebService control to the control panel that belongs to this NameSpace, and then add the control. On the window, this time there is a privacy private system.web.services.Webservice WebService1; and then you can compile. If it is written by writing Application, there is an interface, you can make Service NameSpace valid in this way, and use this Namespace in the console program. It is impossible. I don't know if there is any problem with other namespace, but I am estimated to be, this should be a big bug in C # Builder! My version is the architecture version of the Borland website.

I don't know if you have a similar experience, have there any good solution? It seems that Borland once again disappointed me!

转载请注明原文地址:https://www.9cbs.com/read-125145.html

New Post(0)