Table of Contents

Method WithAssembly

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

WithAssembly(string, string)

Adds the specified assembly.

public IAppPackageAutomationScriptBuilder WithAssembly(string assemblyFilePath, string destinationFolderPath)

Parameters

assemblyFilePath string

The assembly file path.

destinationFolderPath string

The destination folder.

Returns

IAppPackageAutomationScriptBuilder

A reference to this instance after this operation has completed.

Exceptions

ArgumentNullException

assemblyFilePath or destinationFolderPath is null.

ArgumentException

The assembly file path is empty. -or- The specified file is not a DLL (.dll) file. -or- The specified file does not exist. -or- The destination folder is not a directory. -or- The target directory does not start with 'C:\Skyline DataMiner'. -or- The target folder is not one of the following folders: Scripts, Scripts\DllImport, ProtocolScripts, ProtocolScripts\DllImport or Files folder or a subfolder thereof.

InvalidOperationException

An assembly with this name has already been added to the specified destination folder.