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 rulesetto
perform the code analysis of the code being developed. You need to ensure that all developer’s code passes
the static code analysis with the custom ruleset atthe time of check in. Which two actions should youperform?
(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 toall 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.
VS2015 & VS2017
D
and then A – specify a managed rule set:
https://msdn.microsoft.com/en-us/library/ms182076