Uploaded image for project: 'Spring.NET'
  1. Spring.NET
  2. SPRNET-1360

DynamicProxyManager Attempted Construction of Multiple instances of types with same names results in unhelpful exception

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.3.0
    • Fix Version/s: 1.3.1
    • Labels:
      None

      Description

      Call to DynamicProxyManager.CreateTypeBuilder throws ArgumentException with relatively unhlepful "Duplicate type name within an assembly." messasge in the case where the user has inadvertently attempted to export two DIFFERENT services with the SAME names.

      We need to provide more useful exception message so that the user is pointed towards the source of the error in their configuration/service export directives.

        Attachments

          Activity

            People

            • Assignee:
              sbohlen Steve Bohlen
              Reporter:
              sbohlen Steve Bohlen
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: