This project is read-only.

CatNetScan activity - allow analysis of multiple files at once

Feb 22, 2013 at 10:35 AM
Edited Feb 22, 2013 at 10:50 AM

Currently the CatNetScan activity can analyze one file at time.
The AssemblyDirectory property is a string and can be used just in two following ways:
  1. full path of a single file (\\drops\BuildName\MyProgram.dll)
  2. full path to a directory with wildcards for files (\\drops\BuildName*.dll)
It formats the AssemblyDirectory in code in the following way
            if (!string.IsNullOrEmpty(this.AssemblyDirectory.Get(this.ActivityContext)))
                arguments += string.Format("/file:\"{0}\"", this.AssemblyDirectory.Get(this.ActivityContext));             
If you want to analize a particular list of files you must call CatNet multiple times and get separate reports for each call.
My dlls are dropped in several folders.
I need to examine "\drops\BuildName\Folder1\MyProgram1.dll" and "\drops\BuildName\Folder2\MyProgram2.dll"

The proper cmd line call to CatNet.Exe for this case is:
catnet.exe /file:"\\drops\BuildName\Folder1\MyProgram1.dll" /file:"\\drops\BuildName\Folder2
\MyProgram2.dll" /output: /report:\\drops\BuildName\MyReport.xml  /reportxsloutput:\\drops\BuildName\MyReport.html
This cannot be currently accomplished with the CatNet activity.
Please add support for analysis of multiple files at once.

Ana Roje Ivancic