From a7f14ffbf751114d6c1fc2e5b7a0e2b63d0f0395 Mon Sep 17 00:00:00 2001
From: DYH1319 <1245687900@qq.com>
Date: Tue, 27 Oct 2026 23:22:16 +0800
Subject: [PATCH] fix(deps): drop deprecated Microsoft.SourceLink.GitHub 8.0.0
SourceLink is built into the .NET SDK since .NET 8; the package is
deprecated and pins vulnerable Microsoft.Build.Tasks.Git 8.0.0
(CVE-2026-62900 / GHSA-23fw-v26w-5fgq). PublishRepositoryUrl=true in
common.props keeps built-in SourceLink active.
---
src/ElectronNET.API/ElectronNET.API.csproj | 4 ----
src/ElectronNET.AspNet/ElectronNET.AspNet.csproj | 6 ------
2 files changed, 10 deletions(-)
diff --git a/src/ElectronNET.API/ElectronNET.API.csproj b/src/ElectronNET.API/ElectronNET.API.csproj
index 6439aed3..3314d1b4 100644
--- a/src/ElectronNET.API/ElectronNET.API.csproj
+++ b/src/ElectronNET.API/ElectronNET.API.csproj
@@ -23,10 +23,6 @@
-
- all
- runtime; build; native; contentfiles; analyzers
-
diff --git a/src/ElectronNET.AspNet/ElectronNET.AspNet.csproj b/src/ElectronNET.AspNet/ElectronNET.AspNet.csproj
index 28f5282c..7b195651 100644
--- a/src/ElectronNET.AspNet/ElectronNET.AspNet.csproj
+++ b/src/ElectronNET.AspNet/ElectronNET.AspNet.csproj
@@ -22,12 +22,6 @@
-
-
- all
- runtime; build; native; contentfiles; analyzers
-
-