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)

public static void SetDefaultAssembly(
Assembly assembly
)

Parameters

  Assembly

See Also

Reference

AssetLoader Class
Avalonia.Platform Namespace