assembly-loading
How do I register types in assemblies that haven't been loaded with Unity?
I want to load all the types of an Interface so I can call a method on it. However, the assemblies are not referenced a compile time. They will be in the bin folder.[详细]
2023-04-13 01:27 分类:问答Assembly Loading, Type Creation & Caching
I am trying to write something like an ObjectFactory which, given an a开发者_运维百科ssembly\'s path and a name of a type in that assembly, returns an instance of that same type using Reflection. Sinc[详细]
2023-04-10 05:18 分类:问答Replace Assembly.LoadFrom(String, Evidence) call with Assembly.LoadFrom(String) - .NET 4
I have to move some old .NET 2 code to the .NET 4 project. It has the next line: `return Assembly.LoadFrom(filePath, Assembly.GetExecutingAssembly().Evidence);`[详细]
2023-03-23 03:25 分类:问答How to debug Assembly Load - ConfigurationErrorsException
I\'ve got an application that runs fine locally, but when deployed I\'m seeing the error: Exception information:[详细]
2023-03-06 02:20 分类:问答Load an assembly without locking file AND keep the right Binding Context
I\'ve comp up against a formidable conundrum. Here\'s my situation: I\'m building an application with a plugin framework. There\'s a base plugin class that all plugins must extend. Within the same sam[详细]
2023-02-16 07:14 分类:问答Is using Assembly.Load a static reference or dynamic reference?
What are the imp开发者_Go百科lications and suggested scenarios to use either?Assembly.Load is a dynamic reference since you\'re dynamically loading an external DLL at run-time. You would consider a st[详细]
2023-01-10 17:08 分类:问答Is MEF For Me? (one core application allowing client applications to plug into it)
I\'m trying to determine if MEF is a the proper direction our application framework should be taking.From my reading of MEF, our framework doesn\'t seem to \'exactly\' fit in, but I\'ll see if any exp[详细]
2023-01-06 03:37 分类:问答"System.IO.FileNotFoundException: Could not load file or assembly" when the assembly does in fact exist
As part of our migration from .net 1.1 to .net 3.5, we had to change ou开发者_如何学Ct a few vender DLLs.[详细]
2022-12-08 06:03 分类:问答