This extension provides a Visual Studio window you can use to run the command line utility SecAnnotate.exe from within Visual Studio.
Prerequisite: Visual Studio 2010 (or later). After installation, open the new tool window from View->Other Windows->Security Annotator or Tools->Security Annotator.
Selecting a File to Annotate
When you activate the extension you are presented with a form listing all the projects in your solution. You can select the assembly you want to analyze from the list.
If the file you select has reference assemblies, they will appear below the selected file name.
Click the Run SecAnnotate button to run the tool.
When the analysis is complete, a log is displayed.A button at the bottom of the log window lets you view the annotated output.
Viewing the Annotated Report
The output of SecAnnotate.exe is displayed in a tree-view window. The results of the last pass over the file are expanded, but you can also view the previous pass by expanding the Pass node (if present).The results are organized by member, with the rule in the first line, followed by the reason for the warning.The information about the line resulting in the warning appears below the warning.You can double-click either the rule or the reason line to get more detail.
Using SecAnnotate to Analyze Your Assemblies for Transparency Violations