Pārlūkot izejas kodu

Add Unity analyzer

habeebweeb 2 gadi atpakaļ
vecāks
revīzija
6f4dc933aa
1 mainītis faili ar 7 papildinājumiem un 0 dzēšanām
  1. 7 0
      Directory.Build.props

+ 7 - 0
Directory.Build.props

@@ -13,4 +13,11 @@
     <PackageReference Include="HarmonyX" Version="2.9.0" />
   </ItemGroup>
 
+  <ItemGroup>
+    <PackageReference Include="Microsoft.Unity.Analyzers" Version="1.13.0">
+      <PrivateAssets>all</PrivateAssets>
+      <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
+    </PackageReference>
+  </ItemGroup>
+
 </Project>