Skip to content

Commit eba67c7

Browse files
committed
revert Patch method changes, remove Nitrox.Analyzers csproj and add as Nuget package
1 parent 5729f77 commit eba67c7

16 files changed

+5
-1026
lines changed

Directory.Build.props

+4-9
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,10 @@
4343
<PrivateAssets>all</PrivateAssets>
4444
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
4545
</PackageReference>
46-
</ItemGroup>
47-
</When>
48-
</Choose>
49-
50-
<!-- Include our analyzer and code gen library to all Nitrox projects -->
51-
<Choose>
52-
<When Condition="'$(NitroxLibrary)' == 'true'">
53-
<ItemGroup>
54-
<ProjectReference Include="$(MSBuildThisFileDirectory)Nitrox.Analyzers\Nitrox.Analyzers.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false" />
46+
<PackageReference Include="Nitrox.Analyzers" Version="1.0.6">
47+
<PrivateAssets>all</PrivateAssets>
48+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
49+
</PackageReference>
5550
</ItemGroup>
5651
</When>
5752
</Choose>

Nitrox.Analyzers/Diagnostics/DependencyInjectionMisuseAnalyzer.cs

-89
This file was deleted.

Nitrox.Analyzers/Diagnostics/EnumeratorUsageAnalyzer.cs

-61
This file was deleted.

Nitrox.Analyzers/Diagnostics/LocalizationAnalyzer.cs

-173
This file was deleted.

0 commit comments

Comments
 (0)