hi all,
i have developed a windows application which requies to get the types of the dll files.
After loading the file path when i try to get the type of that dll,i am getting an error as {"Could not load file or assembly or one of its dependencies. The system cannot find the file specified"}. this error i am getting after handling the loader exception.
Assembly asm = Assembly.LoadFi le(strFilePath) ;
Type[] types = asm.GetTypes();
return types;
this is the piece of code which i am implementing.An yone having any idea on this.
i need the answer badly as i am stuck in it,i tried searching out but all in vain.
plz help.
thanks.
swarup
i have developed a windows application which requies to get the types of the dll files.
After loading the file path when i try to get the type of that dll,i am getting an error as {"Could not load file or assembly or one of its dependencies. The system cannot find the file specified"}. this error i am getting after handling the loader exception.
Assembly asm = Assembly.LoadFi le(strFilePath) ;
Type[] types = asm.GetTypes();
return types;
this is the piece of code which i am implementing.An yone having any idea on this.
i need the answer badly as i am stuck in it,i tried searching out but all in vain.
plz help.
thanks.
swarup
Comment