fxcop-agent/resources/META-INF/build-agent-plugin-fxcop.xml (10 lines of code) (raw):
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd"
default-autowire="constructor">
<bean name="FxCopPropertiesExtension" class="jetbrains.buildServer.fxcop.agent.FxCopPropertiesExtension" />
<bean name="FxCopInspectionsProcessor" class="jetbrains.buildServer.fxcop.agent.FxCopDataProcessor" />
<bean name="FxCopRunner" class="jetbrains.buildServer.fxcop.agent.FxCopBuildServiceFactory" />
<bean name="FxCopSearcher" class="jetbrains.buildServer.fxcop.agent.FxCopSearcher"/>
</beans>