Your network environment includes a Microsoft Visual Studio Team Foundation Server (TFS) 2012 server. The Application Lifecycle Management (ALM) Center of Excellence of your organization has created a ruleset to perform the code analysis of the code being developed. You need to ensure that all developers code passes the static code analysis with the custom ruleset at the time of check in. Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)

A. Under the source control of the team project, check in the .ruleset file.
B. Create a .reg file on your machine to add a registry entry for the Code Analysis policy with the custom ruleset under H KEY_LOCAL_MACHINE\Software \Microsoft\VisualStudio\1 11.0_Config\TeamFoundation\SourceControl\Checkin Policies.
C. Distribute the .reg file that you have created to all developers and request them to run it with elevated privileges.
D. Add Code Analysis check-in policy team project source control settings. When prompted, select the custom ruleset file by browsing under the source control.

  Discussion forum


Leave an answer