How to load the assemblies from disk apart from GAC and current directory?

Just came across this question and got to know about a method where we can get the assembly resolve event and load the assembly programatically from any directory / URL we want! Following are the articles which talks more about this, http://support.microsoft.com/kb/897297 http://support.microsoft.com/kb/837908 Might be helpful in some situations.

0

The order in which Assemblies are located by runtime!

Just came across this question, and did some research! This is the order. Configuration files Application Configuration File Publisher Policy File Machine Configuration File. Check is made to see if the same assembly is loaded previously by any any other application. Global Assembly Cache Locating through <codebase> or <probing> in configuration file. Probing with private…

0

System.Runtime.Remoting Schema not found.

I just had a case where customer wanted to validate the XML schema for .NET Remoting configuration files at runtime. He wanted to store the configuration parameters in database and wanted to generate the XML settings at runtime, so, after generating the schema he wanted to validate the XML text. So, for validating the XML…

0

COM-.NET Interop development? Take care of this thing.

I was trying my hands at creating a .NET 2.0 component that can be consumed by a COM application. One of the errors I got in the process of registering the .NET assembly was RegAsm : warning RA0000 : No types were registered. This was baffling!! I had done everything right and spent quite some…

1

Files in Temporary folder

Many a times, I was thinking previously which process might be generating this kind [~DF9094.tmp] of files in temporary folder (which can be opened by typing %temp% in run editbox). But due to one of my customer problem, I came to know its acutally generated as a part of structred storage. So, whenever we use functions…

0

Structured Storage

Structured storage is set of APIs from Microsoft which enables you to create application that can generate files which can contain streams (file-data) and storages (directories). I could get chance to get in touch with these set of APIs. A good article for structured stroage is,http://www.endurasoft.com/vcd/ststo.htm

1

ActiveX Script Environment

I got chance to get myself introduced to ActiveX Script environment. Actually this is set of COM classes and interfaces through which we can make our C++ code and Script code (be it VBScript or JScript) work together. Say you want to develop an application where you want your business logic code to be written in…

0

First blog post !!

My first blog post. Here I will post all my technical experience and new problems solutions (that I give to my customers as a Support Professional).

0