Do you have a specific reason why you need to load Assembly1 again as you already have it in the reference. If you refer the different version of .NET assembly you need to be careful as you might run into DLL hell. Second, you should use Assembly.Load instead of Assembly.LoadFrom since if the assembly with the same identity has been loaded already, it will not be loaded again via .LoadFrom
Main Topics
Browse All Topics





by: gromulPosted on 2008-01-04 at 17:35:13ID: 20587388
Btw, Assembly2Type is an interface for Assembly1Type.