Api PackageManifest
class

PackageManifest

public class PackageManifest

Constructors

PackageManifest()

Properties

Name Type Description
Summary String
Description String
IncludeSourceFiles Boolean
CodePackageReferences HashSet<String> List of packages that the code references
Assets List<ProjectFile>

Methods

ProjectFile FindAsset(String relativePath)
Task BuildFromAssets(Project project, IProgress progress = null, CancellationToken cancel = null)
Task BuildFromSource(Project addon, IProgress progress = null, CancellationToken cancel = null)
String ToJson()
static Boolean LooseFileAllowed(String file, Boolean allowSourceFiles)
Task AddTextFile(String contents, String relativePath)

Fields

Name Type Description
Errors List<String>
DissallowedExtensions static String[] This really exists only to dissallow dangerous extensions like .exe etc. So feel free to add anything non dangerous to this list.
Assembly: Sandbox.Tools Declaring Type: ProjectPublisher Full Name: Editor.ProjectPublisher.PackageManifest