Convert assets to data templates.

I did not know about this limitation in Silverlight. Resources need to be sharable, and Viewboxes are controls (and hence cannot be shared). This is solved by converting assets to data templates.

http://stackoverflow.com/questions/17566131/using-viewbox-in-resourcedictionary-file

Thanks. I learned something!