If your assembly is in GAC or bin use the assembly name at the end of type name instead of Assembly.Load()
.
object obj = Activator.CreateInstance(Type.GetType("DALL.LoadClass, DALL", true));
More Related Contents:
- How to Load an Assembly to AppDomain with all references recursively?
- Loading DLLs at runtime in C#
- Embedding assemblies inside another assembly
- GetEntryAssembly for web applications
- Finding all Namespaces in an assembly using Reflection (DotNET)
- How slow is Reflection
- ASP.NET – AppDomain.CurrentDomain.GetAssemblies() – Assemblies missing after AppDomain restart
- Create custom AppDomain and add assemblies to it
- How to enable assembly bind failure logging (Fusion) in .NET
- How do I get the path of the assembly the code is in?
- Set object property using reflection
- How can I evaluate C# code dynamically?
- Dynamically replace the contents of a C# method?
- How to get a list of properties with a given attribute?
- Dependent DLL is not getting copied to the build output folder in Visual Studio
- How can I view MSIL / CIL generated by C# compiler? Why is it called assembly?
- Use reflection to invoke an overridden base method
- c# Creating an unknown generic type at runtime
- Discovering derived types using reflection
- How to get the location of the DLL currently executing?
- Get all types implementing specific open generic type
- Dynamic table name in linq [duplicate]
- Where to find “Microsoft.VisualStudio.TestTools.UnitTesting” missing dll?
- How can you loop over the properties of a class?
- C# call C++ DLL passing pointer-to-pointer argument
- Why is TargetInvocationException treated as uncaught by the IDE?
- Get all properties which marked certain attribute
- Using GetProperties() with BindingFlags.DeclaredOnly in .NET Reflection
- SSIS Script Task cant find reference to assembly
- How to iterate the List in Reflection