If you try to add service reference in your Silverlight application and you simply cannot discover any services in the solution using the Add Service Reference tool here is the way how to solve it. Note that the issue occurs both in Silverlight 2 and Silverlight 3 Beta.
1. Uninstall your Silverlight tools for Visual Studio
2. Go to C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE or the place you have installed your Visual Studio environment.
3. Delete the file Microsoft.VisualStudio.ServicesProxy.dll
4. Install again Silverlight tools for Visual Studio and note that your file will be created again.
There seems to be something wrong with the installer of Silverlight tools, which simply doesn’t replace the old file. In my next blog post I will share with you how to create a Silverlight login control using a WCF Service. It’s essential to get your service working in Silverlight prior to implementing anything at all. That is why I first decided to share with you how to get the WCF Service running before putting in action your own login control.
Hristo Borisov (@hristoborisov) is currently a product line manager in Telerik leading all cloud technologies part of the Telerik Platform after spending more than 6 years with the company. A passionate advocate of applying lean startup practices to existing organizations, Hristo is on the quest for discovering scalable and sustainable business models through product and customer development using tools like MVPs, Pivots, and Lean Business Model Canvases.
Subscribe to be the first to get our expert-written articles and tutorials for developers!