I have been playing with Silver 3 beta 1 and ran into a couple errors that really stumped me for a bit. Here is how you fix them in case any one else runs into them as well.
1- Object reference not set when adding a Silverlight WCF service: This is caused by your source control settings. I solved this issues by going to Tools –> Options –> Source Control and changing it from TFS to None. No idea why this causes the error but it did solve the issue for me.
2- Unable to find ‘DynamicTypeService’ error. This one was a little more work. In this folder C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE you will find a file called “Microsoft.VisualStudio.ServicesProxy.dll” this file needs to be removed (I just changed the extension to .old) before installing the Silverlight 3 beta 1 VS tools (which installs the SDK and the runtime). I of course had already installed all this so I uninstalled it all, renamed the file and installed it again (the installed with install the above dll again). Now everything is working.
Hope this helps. Thanks to Tim Anderson’s blog that got me going in the right direction on this. His issues were with Silverlight 2 beta 2 but the fixes are the same. Who knows why Microsoft felt the need to repeat this issue for the Silverlight 3 beta.
Comments