Table of Contents

Class AssetAssembly

Namespace
Stride.Core.Assets
Assembly
Stride.Core.Assets.dll

A host-loadable asset assembly declared in a packed sdpkg: the package-relative path to the dll plus the TargetFramework it was built for. A multi-targeted package declares one entry per host-compatible TFM so a consumer loads the build matching its asset compiler's runtime. TargetFramework is null for legacy single-TFM packages (load unconditionally).

[DataContract("AssetAssembly")]
public sealed class AssetAssembly
Inheritance
object
AssetAssembly
Extension Methods

Constructors

AssetAssembly()

public AssetAssembly()

AssetAssembly(string?, UFile)

public AssetAssembly(string? targetFramework, UFile path)

Parameters

targetFramework string
path UFile

Properties

Path

Package-relative path to the assembly (e.g. ../lib/net10.0/MyPlugin.dll).

public UFile? Path { get; set; }

Property Value

UFile

TargetFramework

The TFM this assembly was built for (e.g. net10.0, net10.0-windows7.0), or null if untagged.

public string? TargetFramework { get; set; }

Property Value

string