Uploaded image for project: 'Development'
  1. Development
  2. DEV-7404

Plugins with embedded references may not work if not compiled at login

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Backlog
    • Resolution: Done
    • Affects Version/s: 07.02.00.00 SR2
    • Fix Version/s: 07.02.02.00
    • Component/s: General
    • Labels:
      None

      Description

      In SR2 we no longer read, copy or resolve embedded references unless the plugin requires compilation (stale RowHash).

      As a result some plugins will not work (runtime exceptions) as the runtime is either unable to locate an assembly or thinks it is loading the wrong version.

      An example is the Delivery Runs plugin - if the plugin is not compiled at login, loading either of the two forms containing the WPF MapControl produces the error:

      The component 'Microsoft.Maps.MapControl.WPF.Overlays.Logo' does not have a resource identified by the URI '/Microsoft.Maps.MapControl.WPF;component/overlays/logo.xaml'.

       This might possibly be resolved by the AssemblyResolver probing alternate locations.  If not, then a way for a plugin to override the suppression of reading/loading embedded references at login might be another solution.

      Does not seem to affect all plugins - the Delivery Run plugin is particularly fussy it seems, due to the WPF interop.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mikes@jiwa.com.au Mike Sheen
                Reporter:
                mikes@jiwa.com.au Mike Sheen
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: