Skip to main content

SetDefaultAssembly Method

We need a way to override the default assembly selected by the host platform because right now it is selecting the wrong one for PCL based Apps. The AssetLoader needs a refactor cause right now it lives in 3+ platforms which can all be loaded on Windows.

Definition

Namespace: Avalonia.Platform
Assembly: Avalonia.Base (in Avalonia.Base.dll)

void SetDefaultAssembly(
Assembly assembly
)
View Source

Parameters

  Assembly

See Also

Reference

IAssetLoader Interface
Avalonia.Platform Namespace