Could not load file or assembly
Posted
by sldevelop
on Stack Overflow
See other posts from Stack Overflow
or by sldevelop
Published on 2010-05-29T09:15:07Z
Indexed on
2010/05/29
9:22 UTC
Read the original article
Hit count: 571
Silverlight
|reflection
Hi guys,
I'm tring to create a generic collection of dynamic type at runtime of Silverlight application. My code:
Type listType = Type.GetType("System.Collections.ObjectModel.ObservableCollection`1[[" + type.AssemblyQualifiedName + "]], System.Windows, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", true);
type - is variable of Type type. That Type is creating at runtime. At that code line I've got error: Could not load file or assembly ', Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
How can I resolve that error?
© Stack Overflow or respective owner