开发者

Can I target to framework64 the aspnet_compile when I call SourceAnalyzer - Fortify?

开发者 https://www.devze.com 2023-02-21 02:49 出处:网络
I\'m creating a MSBuild to run Fortify Scan. The commands are: 1) sourceanalyzer -b MYBUILDID devenv SOLUTION.sln /REBUILD Debug

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消