Tuesday, April 8, 2008

Silverlight Woes

So I've installed VS 2008, and all the stuff required to check out the Silverlight platform on a fresh new Virtual PC dedicated to do nothing else!

Here's all the stuff installed:

I've already read BradleyB's blog posts at http://weblogs.asp.net/bradleyb/archive/2008/03/06/installation-tips-for-sivliverlight-tools-beta-1-for-visual-studio-2008.aspx, and have followed all the instructions therein!

My System Setup after all the jazz installed is:

silverlight project error 4

Fired up VS and created a new Silverlight project, and expected to be able to write the canonical Hello World...and this is what I got:

silverlight project error 1 

Fine - this might be some general first-boot problem. If you try to "Reload the designer", as suggested, I get:

silverlight project error 2

Hmm...looks like it either really can't find the control, or there's some weirdness with Visual Studio acting as a Silverlight host!

Rooted around the Registry looking for the CLSID in question, and sure enough, it refers to AgControl.AgControl1 - the Silverlight control. Now, if I remember correctly, an HRESULT of 0x8007007e generally indicates "File Not Found". The InprocServer for this control points to the Silverlight installation directory, and to a valid DLL. What gives?

silverlight project error 3

I've hunted all over the web for anyone reporting this weirdness, without success. I've re-installed everything on a clean VM with only the stock Visual Studio 2008 as a starting point.

Next attempt will be to try with Visual Studio 2005 and Silverlight!

Bummer...I was really looking forward to using Linq and all...

Finally, anyone who has a clue about what may help can mail me at john.azariah-at-gmail.com! Thanks

No comments: