Jelajahi Sumber

Add Unity analyzer

habeebweeb 2 tahun lalu
induk
melakukan
6f4dc933aa
1 mengubah file dengan 7 tambahan dan 0 penghapusan
  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>