Absent Member.
Absent Member.

Error wile running the Fortify scan commands

I am recently using the Fortify SCA version 4.2 installed on my machine to check my .NET project solution files. I did not use the Fortify URL to generate the reports, since I am not familiar with Fortify at all. Instead, I tried generating the reports from the Windows command prompt.

I naviagted to the folder where the solution file resides, then ran the following commands,

sourceanalyzer -b Build1 -clean

RESULT: Works & no error

sourceanalyzer -b Build1 devenv Build1.sln /REBUILD DEBUG

RESULT: "ASP Precompilation error" but Fortify Static Analysis complete

sourceanalyzer -b Build1 -scan -f Build1.fpr

RESULT: 'Build1" ID is not recognized

How do I trouble shoot these two errors. Please help

1 Reply
Absent Member.
Absent Member.

for .net projects , command syntax goes something like this:

Sourceanalyzer –vsversion 10.0 –b <ProjectName> “/bin/*.dll -libdirs <List of all DLL dependenies of the project >

The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.