Friday, September 10, 2010

Using frequently build assembly in another 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 applications that use it. So, in order to obtain this, we are required to configure the computer on which we develop the assembly such that each application uses the latest build of MyAssembly. To accomplish the above task, take the following action:


  • 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 DEVPATH to locate assembly.

No comments:

Post a Comment