瀏覽代碼

Add Unity analyzer

habeebweeb 2 年之前
父節點
當前提交
6f4dc933aa
共有 1 個文件被更改,包括 7 次插入0 次删除
  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>