Class AssetAssembly
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
-
objectAssetAssembly
- Extension Methods
Constructors
AssetAssembly()
public AssetAssembly()
AssetAssembly(string?, UFile)
public AssetAssembly(string? targetFramework, UFile path)
Parameters
targetFrameworkstringpathUFile
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; }