Table of Contents

Method WithAssembly

Namespace
Skyline.AppInstaller
Assembly
Skyline.DataMiner.Core.AppPackageCreator.dll

WithAssembly(string, string)

Adds the specified assembly to the package.

IAppPackageBuilder WithAssembly(string assemblyFilePath, string targetDirectory)

Parameters

assemblyFilePath string

The file path of the assembly.

targetDirectory string

The target directory where the assembly should be installed.

Returns

IAppPackageBuilder

Exceptions

ArgumentNullException

assemblyFilePath or targetDirectory is null.

ArgumentException

assemblyFilePath or targetDirectory is empty. -or- The specified file is not a DLL (.dll) file. -or- The target must be a directory. -or- Target directory does not start with 'C:\Skyline DataMiner'. -or- The specified file does not exist.