Method WithAssembly
- Namespace
- Skyline.AppInstaller
- Assembly
- Skyline.DataMiner.Core.AppPackageCreator.dll
WithAssembly(string, string)
Adds the specified assembly.
IAppPackageAutomationScriptBuilder WithAssembly(string assemblyFilePath, string destinationFolderPath)Parameters
- assemblyFilePathstring
- The assembly file path. 
- destinationFolderPathstring
- The destination folder. 
Returns
- IAppPackageAutomationScriptBuilder
- A reference to this instance after this operation has completed. 
Exceptions
- ArgumentNullException
- assemblyFilePathor- destinationFolderPathis 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.