Browse Source

Add Unity analyzer

habeebweeb 2 years ago
parent
commit
6f4dc933aa
1 changed files with 7 additions and 0 deletions
  1. 7 0
      Directory.Build.props

+ 7 - 0
Directory.Build.props

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