Conversation
The BUILDING_WITH_LKG constant was left behind after dotnet#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.
✅ No release notes required |
|
I think we shall keep it - to make life of future contributors, human or agentic, easier. The constant is by nature ephemeral. While the feature is developed, we will then again need to temporarily have One can wonder - why not just wait until the feature gets shipped? |
|
Up to you - I was just going over issues with "good first issue" and this one seemed simple enough. |
|
The issue about nullness related ifdefs is completed now, thanks for bringing it to my attention. |
PR #19235 removed all the
#if BUILDING_WITH_LKGconditionals from source code, but left the constant itself defined inDirectory.Build.propsandFSharp.Profiles.props. It's dead code now — no#ifdirective references it. This removes both definitions.Fixes #18061