This is an automated email from the ASF dual-hosted git repository.

nightowl888 pushed a commit to branch 4.8.0-beta00017-deps
in repository https://gitbox.apache.org/repos/asf/lucenenet.git

commit aa4e65d7c0f0db5ee199e68f118e3ab65c2992bb
Author: Shad Storhaug <[email protected]>
AuthorDate: Sun Oct 13 23:24:19 2024 +0700

    Lucene.Net.csproj: Added package dependency on 
System.Runtime.InteropServices.RuntimeInformation and reference to 
System.Net.Http in net462
---
 src/Lucene.Net/Lucene.Net.csproj | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/Lucene.Net/Lucene.Net.csproj b/src/Lucene.Net/Lucene.Net.csproj
index 2491eccf4..c831174bd 100644
--- a/src/Lucene.Net/Lucene.Net.csproj
+++ b/src/Lucene.Net/Lucene.Net.csproj
@@ -68,6 +68,12 @@
     <PackageReference Include="System.Memory" 
Version="$(SystemMemoryPackageVersion)" />
     <!-- NOTE: This is a transitive dependency only, but we are forcing an 
upgrade to ensure there are no conflicts with dependencies. -->
     <PackageReference Include="System.Runtime.CompilerServices.Unsafe" 
Version="$(SystemRuntimeCompilerServicesUnsafePackageVersion)" />
+    <PackageReference 
Include="System.Runtime.InteropServices.RuntimeInformation" 
Version="$(SystemRuntimeInteropServicesRuntimeInformationPackageVersion)" />
+    
+  </ItemGroup>
+
+  <ItemGroup Condition=" '$(TargetFramework)' == 'net462' ">
+    <Reference Include="System.Net.Http" />
   </ItemGroup>
 
   <ItemGroup>

Reply via email to