Silverlight: the AG_E_RUNTIME_MANAGED_ASSEMBLY_DOWNLOAD error

Quick tip: if you have this error, then you've got the wrong name for your assembly in the xmlns namespace introduced on the xaml file. Quick example:

xmlns:la="clr-namespace:Silverlight.Controls;assembly=ClentBin/SilverlightProgressBar.dll"

Notice the ClentBin (instead of ClientBin) typo...

Filed under:

Comments

# Kevin said:

Heya,

Any idea why this would be an issue only in some browsers? I have an application that works fine in IE, but throws this error in Firefox. I've double checked the assembly path and it looks good.

Monday, August 20, 2007 9:57 AM
# Dominic Pettifer said:

I had this problem and it was because i had a space in my project name "Silverlight Overview". It was creating a "Silverlight Overview" dll file but the dll being referenced in the Page.xaml was "Silverlight_Overview" (notice the underscore?).

If I changed the dll file to use an underscore instead of a space it worked but of course screwed up my Visual Studio 2006 project files. So I recreated the Project as "SilverlightOverview" and it worked fine.

It's alpha software for a reason I guess :)

Monday, September 17, 2007 4:26 PM
# ksirg said:

Kevin: try to add width and height attribute, I have the same problem and i notice that firefox dosn't display canvas without height atribute.

Wednesday, January 02, 2008 1:00 PM

Leave a Comment

(required) 
(required) 
(optional)
(required)