Archive for silverlight

Silverlight 4 : Unable to load the metadata for assembly error in Visual Studio 2010

When I was trying to drag & drop my newly created custom silverlight user control in Visual Studio 2010, the compliler displayed the error:

Unable to load the metadata for assembly ‘JavaOSGiWS’. This assembly may have been downloaded from the web. See http://go.microsoft.com/fwlink/?LinkId=179545. The following error was encountered during load: Could not load file or assembly ‘JavaOSGiWS’ or one of its dependencies. A rendszer nem találja a megadott fájlt.

Where the JavaOSGiWS was the actual project namespace root. I had no reference nor any help on how to resolve this issue, since everything was just set up fine. However the last sentence means: “The system cannot find the specified file” led to a not trivial solution. The entire path of the current project folder contained a #. Having this character removed from the path helped the builder resulted the error message disappear.

hope this would spare some time for you.