Using Frequently Built Assemblies in Other Applications (.Net)

Assume that you are creating a strong named MyAssembly that will be used in several applications. The assembly will be rebuilt frequently during the development cycle. But one must ensure that every time MyAssembly is rebuilt, it works properly with all the applications that are using it. So, in order to obtain this, we are required to configure the computer on which we will develop the assembly, such that each application uses the latest build of MyAssembly. To accomplish the above task, the following actions will help:
  • To point to the build output directory for the strong named assembly, create a DEVPATH environment variable.
  • Add the following element to the machine configuration file: <developmentMode developerInstallation="true">. This element tells the CLR to use the DEVPATH to locate the assembly.
     
Ebook Download
View all
Learn
View all