skorotkov / ossbuild

GStreamer 0.10 windows build environment. Automatically exported from code.google.com/p/ossbuild
Other
0 stars 0 forks source link

gstreamer-sharp doesn't work in ApplicationDomains with dynamic assemblies loaded #155

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Application.cs#L77
string asm_dir = Path.GetDirectoryName (asm.Location);

Dynamic assemblies don't support Location property, so exception "The invoked 
member is not supported in a dynamic assembly." is thrown. As I can't compile 
gstreamer-sharp on my windows machine, I can't do anything about it :(
Can you wrap this code in try/catch, or just check if assembly is dynamic?

Original issue reported on code.google.com by mihhail....@gmail.com on 12 Feb 2014 at 9:16