Uploaded image for project: 'NPanday'
  1. NPanday
  2. NPANDAY-604

When a solution contains more than one version of an assembly, only one version is used in POMs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.4-incubating
    • 1.5.0-incubating
    • Project Importer
    • None

    Description

      When the project importer reviews references, it uses AppDomain.CurrentDomain.ReflectionOnlyAssemblies() to look at existing loaded assemblies and tries to match the assembly by short name. If not found it loads the DLL for reflection. This means once one version of an assembly is loaded, not different versions will later be loaded.

      Reflection loading in this case is unnecessary as AssemblyName.GetAssemblyName() contains all the information needed to construct the reference information without loading the assembly.

      Attachments

        Activity

          People

            brett Brett Porter
            brett Brett Porter
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: