Skip to content

Commit 0c04aa6

Browse files
committed
Chore: Update project references to set OutputItemType as "Analyzer" and disable ReferenceOutputAssembly
1 parent 57c6a24 commit 0c04aa6

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

examples/Examples.CodeOfChaos.Extensions.Analyzers/Examples.CodeOfChaos.Extensions.Analyzers.csproj

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@
66
</PropertyGroup>
77

88
<ItemGroup>
9-
<ProjectReference Include="..\..\src\CodeOfChaos.Extensions.Analyzers\CodeOfChaos.Extensions.Analyzers.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false"/>
10-
<ProjectReference Include="..\..\src\CodeOfChaos.Extensions\CodeOfChaos.Extensions.csproj"/>
9+
<ProjectReference Include="..\..\src\CodeOfChaos.Extensions.Analyzers\CodeOfChaos.Extensions.Analyzers.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false"/> <ProjectReference Include="..\..\src\CodeOfChaos.Extensions\CodeOfChaos.Extensions.csproj"/>
1110
</ItemGroup>
1211

1312
</Project>

src/CodeOfChaos.Extensions/CodeOfChaos.Extensions.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@
3030

3131
<ItemGroup>
3232
<ProjectReference Include="..\CodeOfChaos.Extensions.Analyzers\CodeOfChaos.Extensions.Analyzers.csproj">
33+
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
34+
<OutputItemType>Analyzer</OutputItemType>
3335
<IncludeAssets>compile; runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
3436
</ProjectReference>
3537
</ItemGroup>

0 commit comments

Comments
 (0)