OutSystems / WebView

Avalonia/WPF control that wraps CefGlue webview control
Apache License 2.0
310 stars 38 forks source link

Allow loading multiple versions of the same assembly #331

Closed hlouren closed 5 months ago

hlouren commented 5 months ago

This PR extends the resources uri format to allow to optionally specify an assembly version in addition to the assembly name, which is required to properly locate resources when we load multiple versions of the same dll at once.

// uri without assembly version
embedded://webview/AssemblyName/Path/To/Resource

// uri with assembly version
embedded://webview/AssemblyName-AssemblyVersion/Path/To/Resource