Advertisement
Guest User

Untitled

a guest
Apr 22nd, 2019
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.44 KB | None | 0 0
  1. 1. Open the Visual Studio Command Prompt.
  2. (The Visual Studio Command Prompt loads the necessary environment variables required for the proper
  3. functioning of the Visual Studio command line tools.)
  4. You can open the VS command prompt by navigating to Start --> All Programs --> Microsoft Visual Studio 2010 --> Visual Studio Tools
  5. --> Visual Studio 2xxx Developer Command Prompt.
  6.  
  7. 2. Please make sure you are able to build your solution successfully by running the following command:
  8.  
  9. devenv Sample.sln /Rebuild Debug
  10.  
  11. (Sample.sln is for demo use only, your project name will be different)
  12.  
  13. If you are able to build the solution successfully, proceed to the next step. If not, fix any build errors first.
  14.  
  15. 3. Now please run the following Fortify SCA commands:
  16.  
  17. [Step 1: Clean]
  18.  
  19. sourceanalyzer -b Solution1 -clean
  20.  
  21. [Step 2: Translation/Build]
  22.  
  23. sourceanalyzer -b Solution1 -Xmx1280M -Xss8M -debug -logfile trans.log devenv Sample.sln /Rebuild Debug
  24.  
  25. [Step 3: Analysis]
  26.  
  27. sourceanalyzer -b Solution1 -Xmx1280M -Xss8M -debug -logfile scan.log -scan -f Results.fpr
  28.  
  29. (The build ID, i.e., the argument to the "-b" option, can be anything, but it must be the same for all three commands.)
  30.  
  31. If you see the ASP.NET Precompilation error while running Step 2 for the Translation/Build step,
  32. then examine the trans.log file produced by specifying the –logfile option. More details about
  33. the error should be available in the log file, to help you debug what is happening.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement