Class AssetBuildManifest
Build-generated manifest (.sdbuild in obj/) describing what the asset compiler needs from a project. All paths are relative to the manifest file location.
[DataContract("AssetBuildManifest")]
public sealed class AssetBuildManifest
- Inheritance
-
objectAssetBuildManifest
- Extension Methods
Fields
CurrentVersion
public const int CurrentVersion = 1
Field Value
FileExtension
public const string FileExtension = ".sdbuild"
Field Value
Properties
AssetAssemblies
Host-loadable assemblies whose types appear in assets; the asset compiler loads exactly these.
public List<UFile> AssetAssemblies { get; }
Property Value
- List<UFile>
AssetNamespace
Asset URL namespace declaration: "true" = the package name, any other value = that name. Absent = bare URLs.
public string? AssetNamespace { get; set; }
Property Value
AssetNamespaceUsings
Namespaces this project brings into scope: their assets resolve by bare URL (using semantics).
public List<string> AssetNamespaceUsings { get; }
Property Value
NuGetLockFile
The NuGet lock file (project.assets.json); source of the package dependency closure for this TargetFramework.
public UFile? NuGetLockFile { get; set; }
Property Value
- UFile
PackageFile
The authored package file (.sdpkg); loaded when it exists, otherwise implicit defaults apply.
public UFile? PackageFile { get; set; }
Property Value
- UFile
PackageName
Package identity (PackageId or AssemblyName) and version, used to name the package and its bundle.
public string? PackageName { get; set; }
Property Value
PackageVersion
public string? PackageVersion { get; set; }
Property Value
ProjectAssets
Project-asset files (e.g. .sdsl, .sdfx) declared as project items.
public List<AssetBuildManifestItem> ProjectAssets { get; }
Property Value
ProjectFile
The project this manifest was generated from.
public UFile? ProjectFile { get; set; }
Property Value
- UFile
ReferencedManifests
Manifests of referenced projects.
public List<UFile> ReferencedManifests { get; }
Property Value
- List<UFile>
RootNamespace
public string? RootNamespace { get; set; }
Property Value
TargetFramework
public string? TargetFramework { get; set; }
Property Value
Version
public int Version { get; set; }
Property Value
Methods
GetAuthoredPackagePath(string)
Gets PackageFile resolved, when declared.
public string? GetAuthoredPackagePath(string manifestFile)
Parameters
manifestFilestring
Returns
GetProjectPackagePath(string)
Gets the sdpkg next to ProjectFile, the package the editor pairs the project with.
public string? GetProjectPackagePath(string manifestFile)
Parameters
manifestFilestring
Returns
ResolvePath(string, UFile)
Resolves a manifest-relative path against the manifest's location.
public static string ResolvePath(string manifestFile, UFile path)
Parameters
manifestFilestringpathUFile