From 5cfcde6ec6126234a46861e84ba52e022149453d Mon Sep 17 00:00:00 2001 From: Bozhidar Batsov Date: Wed, 18 Feb 2026 09:57:28 +0200 Subject: [PATCH] Remove dead BUILDING_WITH_LKG define The BUILDING_WITH_LKG constant was left behind after #19235 removed all the #if conditionals that referenced it. It's now defined but never used anywhere in the source. Remove it from both props files. --- Directory.Build.props | 1 - FSharp.Profiles.props | 4 ---- 2 files changed, 5 deletions(-) diff --git a/Directory.Build.props b/Directory.Build.props index e109e5b71e5..eefda99f4f9 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -59,7 +59,6 @@ since it's a non-arcade and non-sourcebuild scenario --> $(ArtifactsDir)/bin/fslex/$(Configuration)/$(FSharpNetCoreProductDefaultTargetFramework)/$(RuntimeIdentifier)/fslex.dll $(ArtifactsDir)/bin/fsyacc/$(Configuration)/$(FSharpNetCoreProductDefaultTargetFramework)/$(RuntimeIdentifier)/fsyacc.dll - BUILDING_WITH_LKG;$(DefineConstants) diff --git a/FSharp.Profiles.props b/FSharp.Profiles.props index aa25fe20055..73bc9524b1e 100644 --- a/FSharp.Profiles.props +++ b/FSharp.Profiles.props @@ -2,10 +2,6 @@ - - BUILDING_WITH_LKG;$(DefineConstants) - - 1182;$(WarningsAsErrors) 1182;3879;$(WarnOn)