Absent Member.. Absent Member..
Absent Member..
13529 views

Fortify 4.1 Can't find ildasm when SCA run on command line

Jump to solution

I have added the entry into the config file but no matter what I do the scan portion fails with the following error.

 

[error]: Unable to locate the Microsoft .NET disassembler tool (ildasm). Please make sure you have Visual Studio .NET version 7.1 or greater installed along with the SDK.
If ildasm is installed in a non-standard location, please provide the full path to ildasm in the fortify-sca.properties file as com.fortify.sca.IldasmPath.

 

How do I get around this?

Labels (1)
0 Likes
1 Solution

Accepted Solutions
Absent Member.. Absent Member..
Absent Member..

In case someone else has the same issue I finally figured this out. I had installed a new Windows SDK and the path had spaces in it. The spaces had to be escaped also in the config file entry.

 

# The location of ildasm so Dot Net assemblies can be scanned.
com.fortify.sca.IldasmPath=c:\\Program Files\ (x86)\\Microsoft\ SDKs\\Windows\\v8.1A\\bin\\NETFX\ 4.5.1\ Tools\\ildasm.exe

View solution in original post

0 Likes
1 Reply
Absent Member.. Absent Member..
Absent Member..

In case someone else has the same issue I finally figured this out. I had installed a new Windows SDK and the path had spaces in it. The spaces had to be escaped also in the config file entry.

 

# The location of ildasm so Dot Net assemblies can be scanned.
com.fortify.sca.IldasmPath=c:\\Program Files\ (x86)\\Microsoft\ SDKs\\Windows\\v8.1A\\bin\\NETFX\ 4.5.1\ Tools\\ildasm.exe

View solution in original post

0 Likes
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.