Click here to Skip to main content
15,889,200 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Could not load the assembly file:///C:\Users\aarti\Desktop\MVVMVideoPlayer_Test\Bin\Debug\Microsoft.Expression.Controls.dll. This assembly may have been downloaded from the Web. If an assembly has been downloaded from the Web, it is flagged by Windows as being a Web file, even if it resides on the local computer. This may prevent it from being used in your project. You can change this designation by changing the file properties. Only unblock assemblies that you trust. See http://go.microsoft.com/fwlink/?LinkId=179545 for more information. how can I solve it?
Posted
Comments
Christian Amado 30-Aug-12 8:13am    
Is Microsoft.Expression.Controls.dll ready for Silverlight?
arti s.v 30-Aug-12 8:16am    
then how can i get expression blend features in my silverlight application?
Christian Amado 30-Aug-12 8:18am    
What are trying to do?
arti s.v 30-Aug-12 8:21am    
Trying to create a video in silverlight..u have any idea?

Do as it says! It's a warning/information shared. Do right click, properties of that assemble and unlock it for use. (There will be an option near 'Readonly' at the bottom that will clearly state on how to unlock it.)
 
Share this answer
 
Comments
arti s.v 30-Aug-12 8:28am    
thank u sandeep... it is working..
Sandeep Mewara 30-Aug-12 8:31am    
Welcome.
Christian Amado 30-Aug-12 8:31am    
@Sandeep it's not recommended the use of untrusted dll. If he downloaded from another site. Dll located on the Blend folder is garanteed. What do you think?
Sandeep Mewara 30-Aug-12 8:36am    
If it downloaded from trusted source, then it is fine.
Christian Amado 30-Aug-12 8:39am    
Totally true too :)
Try to load the library from:
c:\ProgramFiles(x86)\Microsoft SDKs\Expression\Blend\Silverlight\v4.0\Libraries\Microsoft.Expression.Controls.dll

"Of course, you must have Microsoft Expression Blend installed on your development computer."

v4.0 can be replaced with your silverlight version used in your project.

Set Local Copy to True in dll reference's property.

Hope it helps
 
Share this answer
 
v2
Comments
arti s.v 30-Aug-12 8:29am    
thank u for ur reply...i don't have expression blend in my system..i got some dlls...i'm using dat
Christian Amado 30-Aug-12 8:40am    
I recommend you. You can download the trial version of Blend and reference to this dll :)
arti s.v 30-Aug-12 8:48am    
ok..
Christian Amado 30-Aug-12 14:57pm    
Why downvoted?
arti s.v 31-Aug-12 0:31am    
I don't know Christian

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900