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
stringThe file path of the assembly.
targetDirectory
stringThe target directory where the assembly should be installed.
Returns
Exceptions
- ArgumentNullException
assemblyFilePath
ortargetDirectory
is null.- ArgumentException
assemblyFilePath
ortargetDirectory
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.