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
assemblyFilePathstringThe file path of the assembly.
targetDirectorystringThe target directory where the assembly should be installed.
Returns
Exceptions
- ArgumentNullException
assemblyFilePathortargetDirectoryis null.- ArgumentException
assemblyFilePathortargetDirectoryis 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.