File tree Expand file tree Collapse file tree
StyleCop.Analyzers/StyleCop.Analyzers Expand file tree Collapse file tree Original file line number Diff line number Diff line change 405405 <None Include =" ..\StyleCop.Analyzers.ruleset" >
406406 <Link >StyleCop.Analyzers.ruleset</Link >
407407 </None >
408+ <None Include =" build\StyleCop.Analyzers.targets" />
408409 <None Include =" packages.config" />
409410 <NuGetManifest Include =" StyleCop.Analyzers.nuspec" >
410411 <SubType >Designer</SubType >
Original file line number Diff line number Diff line change 2626 <file src =" tools\install.ps1" target =" tools\" />
2727 <file src =" tools\uninstall.ps1" target =" tools\" />
2828
29+ <!-- MSBuild imports -->
30+ <file src =" build\StyleCop.Analyzers.targets" target =" build\" />
31+
2932 <!-- Source code -->
3033 <file src =" **\*.cs" exclude =" obj\**\*.cs" target =" src" />
3134
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" utf-8" ?>
2+ <Project ToolsVersion =" 4.0" xmlns =" http://schemas.microsoft.com/developer/msbuild/2003" >
3+
4+ <Target Name =" InjectStyleCopSettings"
5+ BeforeTargets =" CoreCompile" >
6+ <ItemGroup >
7+ <StyleCopSettings Include =" @(None)"
8+ Condition =" '%(Filename)%(Extension)' == 'stylecop.json'" />
9+ <AdditionalFiles Include =" %(StyleCopSettings.Identity)" />
10+ </ItemGroup >
11+ </Target >
12+
13+ </Project >
You can’t perform that action at this time.
0 commit comments