Method WithAssembly
- Namespace
- Skyline.AppInstaller
- Assembly
- Skyline.DataMiner.Core.AppPackageCreator.dll
WithAssembly(string, string)
Adds the specified assembly.
public IAppPackageProtocolBuilder WithAssembly(string assemblyFilePath, string destinationFolderPath)
Parameters
assemblyFilePath
stringThe assembly file path.
destinationFolderPath
stringThe destination folder path.
Returns
- IAppPackageProtocolBuilder
A reference to this instance after the operation has completed.
Exceptions
- ArgumentNullException
assemblyFilePath
ordestinationFolderPath
is null.- ArgumentException
assemblyFilePath
ordestinationFolderPath
is empty. -or- The specified file is not a DLL (.dll). -or- The specified file does not exist. -or- The specified file is not a DLL (.dll). -or- The destination folder does not start with 'C:\Skyline DataMiner'. -or- The destination folder is not one of the following folders 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.