From 2aacc96d4ac7276cdcec8b364884da6f97ee808c Mon Sep 17 00:00:00 2001 From: kane <202593226@qq.com> Date: Sat, 5 Sep 2026 00:36:53 +0800 Subject: [PATCH] Change TargetFramework to net8.0 with inheritance Updated TargetFramework to inherit from UnrealEngine.csproj.props with a fallback for engines that don't define it. Also removed the explicit Microsoft.CSharp PackageReference: newer frameworks include it by default and the explicit reference triggers NU1510, which TreatWarningsAsErrors turns into an error. --- SourceCodeGenerator.ubtplugin.csproj | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/SourceCodeGenerator.ubtplugin.csproj b/SourceCodeGenerator.ubtplugin.csproj index 4128f60..59b037a 100644 --- a/SourceCodeGenerator.ubtplugin.csproj +++ b/SourceCodeGenerator.ubtplugin.csproj @@ -2,7 +2,8 @@ - net8.0 + + net8.0 Development Library false @@ -29,9 +30,6 @@ true full - - - $(EngineDir)\Binaries\DotNET\UnrealBuildTool\EpicGames.Build.dll