I just wanted to play with Silverlight
This evening I thought I'd spend an hour and see if I couldn't make a lame Silverlight project just for the sake of doing it. Plus it would be more productive than playing a game.
So I fired up Visual Studio 2008 and went to create a Silverlight project, but there was none to be found. I went and downloaded the Silverlight 1.0 SDK, but still nothing. It seems that version is for working with VS 2005. I was trying to avoid installing any beta Silverlight stuff, but I ended up grabbing the Silverlight 2 Tools Alpha. This did allow me to create a Silverlight project.
Seeing some XAML, I went towards the end, after all the declarations and such, and typed"Hello". Just as a test. Went to compile...error. So I erased that, found <TextBox> using Intellisense, and put "Hello" between the tags. Still no loving. So I found the Text attribute, and put "Hello" as the value of the Text attribute. Then I got different compile errors. Specifically, 17 of them, mostly "The type or namespace name 'Windows' does not exist in the namespace 'System' (are you missing an assembly reference?)" type errors.
I think I've seen this before, and seem to remember fixing it by adding a reference to something, but I couldn't find anything on Google this time. So I'm still stuck there, and will be until I either find a solution or convince myself it's not just due to alpha version tools. Maybe I'll just go play a game instead...
- Read more about I just wanted to play with Silverlight
- Log in to post comments