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)