Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 489 Bytes

README.md

File metadata and controls

14 lines (11 loc) · 489 Bytes

ILLink.RoslynAnalyzer

Using a local build

To use a local build of the analyzer in another project, modify the Analyzer ItemGroup as follows:

<Target Name="UseLocalILLinkAnalyzer" BeforeTargets="CoreCompile">
  <ItemGroup>
    <Analyzer Remove="@(Analyzer)" Condition="'%(Filename)' == 'ILLink.RoslynAnalyzer'" />
    <Analyzer Include="/path/to/linker/repo/artifacts/bin/ILLink.RoslynAnalyzer/Debug/netstandard2.0/ILLink.RoslynAnalyzer.dll" />
  </ItemGroup>
</Target>