Click here to Skip to main content
15,879,474 members
Articles / Programming Languages / XML

Dynamic Loading of Assemblies at Runtime through .NET Reflection

Rate me:
Please Sign up or sign in to vote.
4.00/5 (1 vote)
8 Sep 2010CPOL4 min read 40K   473   21  
Shows the ability of .NET to load assemblies at run time based on appropriate necessities by using the power of late binding and reflection

Microsoft Visual Studio Solution File, Format Version 10.00
# Visual Studio 2008
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DynamicAssemblyLoader", "DynamicAssemblyLoader\DynamicAssemblyLoader.csproj", "{F28CC65E-8AE2-4D2F-9439-E234751523C7}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BusinessLogic-1", "BusinessLogic-1\BusinessLogic-1.csproj", "{0FEECFF3-D397-42B0-9321-A5212C2CEA03}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BusinessLogic-2", "BusinessLogic-2\BusinessLogic-2.csproj", "{46BE3D44-E101-427A-8B90-4AD73485271E}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BusinessLogic-3", "BusinessLogic-3\BusinessLogic-3.csproj", "{6BC8D32C-A57F-4500-9B3B-E1018A020059}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BusinessLogicLibrary", "BusinessLogicLibrary\BusinessLogicLibrary.csproj", "{4B15050C-5369-4687-B555-2B6DB5E6EF51}"
EndProject
Global
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|Any CPU = Debug|Any CPU
		Release|Any CPU = Release|Any CPU
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{F28CC65E-8AE2-4D2F-9439-E234751523C7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{F28CC65E-8AE2-4D2F-9439-E234751523C7}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{F28CC65E-8AE2-4D2F-9439-E234751523C7}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{F28CC65E-8AE2-4D2F-9439-E234751523C7}.Release|Any CPU.Build.0 = Release|Any CPU
		{0FEECFF3-D397-42B0-9321-A5212C2CEA03}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{0FEECFF3-D397-42B0-9321-A5212C2CEA03}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{0FEECFF3-D397-42B0-9321-A5212C2CEA03}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{0FEECFF3-D397-42B0-9321-A5212C2CEA03}.Release|Any CPU.Build.0 = Release|Any CPU
		{46BE3D44-E101-427A-8B90-4AD73485271E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{46BE3D44-E101-427A-8B90-4AD73485271E}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{46BE3D44-E101-427A-8B90-4AD73485271E}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{46BE3D44-E101-427A-8B90-4AD73485271E}.Release|Any CPU.Build.0 = Release|Any CPU
		{6BC8D32C-A57F-4500-9B3B-E1018A020059}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{6BC8D32C-A57F-4500-9B3B-E1018A020059}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{6BC8D32C-A57F-4500-9B3B-E1018A020059}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{6BC8D32C-A57F-4500-9B3B-E1018A020059}.Release|Any CPU.Build.0 = Release|Any CPU
		{4B15050C-5369-4687-B555-2B6DB5E6EF51}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{4B15050C-5369-4687-B555-2B6DB5E6EF51}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{4B15050C-5369-4687-B555-2B6DB5E6EF51}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{4B15050C-5369-4687-B555-2B6DB5E6EF51}.Release|Any CPU.Build.0 = Release|Any CPU
	EndGlobalSection
	GlobalSection(SolutionProperties) = preSolution
		HideSolutionNode = FALSE
	EndGlobalSection
EndGlobal

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior)
Australia Australia
I am a Senior Software Developer / Technical Consultant in a leading software company.

Comments and Discussions