문제

I'm creating a MSBuild to run Fortify Scan. The commands are:

1) sourceanalyzer -b MYBUILDID devenv SOLUTION.sln /REBUILD Debug

2) sourceanalyzer -b MYBUILDID -scan -f SOLUTION.fpr -format frp

The build log

1) 1.1)Rebuild Start ..... The solution has been rebuild succeeded. OK

1.2)After that, it runs the aspnet_compiler Running: ASPCOMPILE : "-v" "/FortifyBuildId" "-p" "MySite" "-d" "-f" "-c" "-fixednames" "\%USER%\AppData\Local\Fortify\VS2010-5.9\output...." Fortify Source Code Analysis Complete

2) [error]: Build ID "MYBUILDID" doesn't exist

My build box is a server 2008 x64 because I have sharepoint installed. I noticed that the sourceanalyzer calls ASCOMPILE pointing to c:\windows\Microsoft.NET\Framework instead of c:\windows\Microsoft.NET\Framework64. I've tested it running in both framework. With aspnet_compile 64 works fine ("c:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_compiler" "-v" "/FortifyBuildID" "-p" "MySite" "-d" "-f" "-c" "-fixednames" "%USER%\AppData\Local\Fortify\VS2010-5.9\output.."

Do you know How I can fix it?

Thanks

도움이 되었습니까?

해결책

Unfortunately this is a known issue with a recent version of Fortify SCA.

Please contact Fortify Technical Support to upgrade, downgrade or apply a hotfix as appropriate.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top