浏览代码

Add warning about JetBrains.Annotations

https://github.com/JetBrains/JetBrains.Annotations/issues/45
Lucas Trzesniewski 2 月之前
父节点
当前提交
290b12b590
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/Directory.Build.props

+ 2 - 1
src/Directory.Build.props

@@ -45,7 +45,8 @@
   </PropertyGroup>
 
   <ItemGroup>
-    <PackageReference Include="JetBrains.Annotations" Version="2024.3.0" PrivateAssets="all" />
+    <!-- Do not update beyond 2024.3.0, later versions do not use [Conditional] anymore -->
+    <PackageReference Include="JetBrains.Annotations" Version="[2024.3.0]" PrivateAssets="all" />
   </ItemGroup>
 
 </Project>