Web service causes WinForm design mode problems
.NET (Core and Framework)
1
Posts
1
Posters
0
Views
1
Watching
-
I have a Windows Forms application that has problems with a web service reference. When I add the Web Reference, and try to go to design mode on the main form, I get an "Object reference not set to an instance of an object." error. There is no line number, no indication of what object or where in the code, just that error. Removing the web reference completely from the project resolves the problem, and adding it back causes the problem to appear again. Does anyone know why I would be getting such an error when I add a Web Reference to a windows forms application? Its a very confounding problem, and I havn't been able to find anyone else on the net having the same problem. I appreciate any help.