Class PackageBinaryZipping
Inherited Members
Namespace: UnityEditor.PackageManager.ValidationSuite
Assembly: Unity.PackageValidationSuite.Editor.dll
Syntax
public static class PackageBinaryZipping
Methods
TryZipPackageBinaries(string, string, string, string, out string)
Creates a zip file containing the .dlls built from .asmdefs in the given package.
Declaration
public static bool TryZipPackageBinaries(string packageRootPath, string packageName, string packageVersion, string zipDirectory, out string zipFilePath)
Parameters
Type | Name | Description |
---|---|---|
string | packageRootPath | The path to the root of the package |
string | packageName | The name of the package |
string | packageVersion | The version of the package |
string | zipDirectory | The directory where the zip file will be placed |
string | zipFilePath | Upon returning, this will contain the path to the generated zip file |
Returns
Type | Description |
---|---|
bool | True if the zip succeeds. False if the 7z fails to create the zip file. |