Skip to content

Commit 6d14e75

Browse files
ANcpLuaclaude
andcommitted
fix: remove dead LegacySupport references and legacy polyfill versions
LegacySupport.props/targets were deleted but references remained in nuspec files, Common.props/targets, Sdk.props, and Version.props. Polyfills now come from ANcpLua.Roslyn.Utilities.Polyfills NuGet. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 2a5b43a commit 6d14e75

12 files changed

Lines changed: 8 additions & 365 deletions

File tree

src/ANcpLua.NET.Sdk.Test.nuspec

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@
2020
<file src="Build/Common/Common.targets" target="Build/Common/"/>
2121
<file src="Build/Common/Version.props" target="Build/Common/"/>
2222
<file src="Build/Common/ContinuousIntegrationBuild.props" target="Build/Common/"/>
23-
<file src="Build/Common/LegacySupport.props" target="Build/Common/"/>
24-
<file src="Build/Common/LegacySupport.targets" target="Build/Common/"/>
2523
<file src="Build/Common/Npm.targets" target="Build/Common/"/>
2624
<file src="Build/Common/Tests.targets" target="Build/Common/"/>
2725
<file src="Build/Common/ItemDefaults.props" target="Build/Common/"/>
@@ -56,12 +54,6 @@
5654
<file src="Config/BannedSymbols.NewtonsoftJson.txt" target="Config/"/>
5755
<file src="Config/default.runsettings" target="Config/"/>
5856

59-
<!-- Testing - Test infrastructure -->
60-
<file src="Testing/Testing.props" target="Testing/"/>
61-
62-
<!-- Testing/AotTesting - AOT compatibility testing -->
63-
<file src="Testing/AotTesting/AotTesting.props" target="Testing/AotTesting/"/>
64-
6557
<file src="../LICENSE.txt" target=""/>
6658
<file src="../README.md" target=""/>
6759
</files>

src/ANcpLua.NET.Sdk.Web.nuspec

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@
2020
<file src="Build/Common/Common.targets" target="Build/Common/"/>
2121
<file src="Build/Common/Version.props" target="Build/Common/"/>
2222
<file src="Build/Common/ContinuousIntegrationBuild.props" target="Build/Common/"/>
23-
<file src="Build/Common/LegacySupport.props" target="Build/Common/"/>
24-
<file src="Build/Common/LegacySupport.targets" target="Build/Common/"/>
2523
<file src="Build/Common/Npm.targets" target="Build/Common/"/>
2624
<file src="Build/Common/Tests.targets" target="Build/Common/"/>
2725
<file src="Build/Common/ItemDefaults.props" target="Build/Common/"/>

src/ANcpLua.NET.Sdk.nuspec

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@
2020
<file src="Build/Common/Common.targets" target="Build/Common/"/>
2121
<file src="Build/Common/Version.props" target="Build/Common/"/>
2222
<file src="Build/Common/ContinuousIntegrationBuild.props" target="Build/Common/"/>
23-
<file src="Build/Common/LegacySupport.props" target="Build/Common/"/>
24-
<file src="Build/Common/LegacySupport.targets" target="Build/Common/"/>
2523
<file src="Build/Common/Npm.targets" target="Build/Common/"/>
2624
<file src="Build/Common/Tests.targets" target="Build/Common/"/>
2725
<file src="Build/Common/ItemDefaults.props" target="Build/Common/"/>
@@ -56,9 +54,6 @@
5654
<file src="Config/BannedSymbols.NewtonsoftJson.txt" target="Config/"/>
5755
<file src="Config/default.runsettings" target="Config/"/>
5856

59-
<!-- Testing - only in .Test SDK -->
60-
<file src="Testing/Testing.props" target="Testing/"/>
61-
6257
<file src="../LICENSE.txt" target=""/>
6358
<file src="../README.md" target=""/>
6459
</files>

src/Build/Common/Common.props

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
</PropertyGroup>
66

77
<Import Project="$(MSBuildThisFileDirectory)/ContinuousIntegrationBuild.props"/>
8-
<Import Project="$(MSBuildThisFileDirectory)/LegacySupport.props"/>
98
<Import Project="$(MSBuildThisFileDirectory)/SourceGenerators.props"/>
109

1110
<PropertyGroup Label="Git Detection">

src/Build/Common/Common.targets

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,6 @@
122122

123123
<Import Project="$(MSBuildThisFileDirectory)/Tests.targets" Condition="'$(IsTestProject)' == 'true'"/>
124124
<Import Project="$(MSBuildThisFileDirectory)/Npm.targets"/>
125-
<Import Project="$(MSBuildThisFileDirectory)/LegacySupport.targets"/>
126125
<Import Project="$(MSBuildThisFileDirectory)/../Enforcement/VersionEnforcement.targets"/>
127126

128127
<!-- ═══════════════════════════════════════════════════════════════════════
@@ -259,7 +258,6 @@
259258
Generates a rich, context-aware CLAUDE.md per project with:
260259
- Project type detection (Library, Test, Web, Source Generator)
261260
- Target framework and language version
262-
- Active polyfills and extensions
263261
- Test configuration (xUnit, MTP, AwesomeAssertions)
264262
- Analyzer and build settings
265263
═══════════════════════════════════════════════════════════════════════ -->
@@ -286,35 +284,6 @@
286284
<_ClaudeMdProjectType Condition="'$(UseRoslynUtilities)' == 'true' AND '$(TargetFrameworkIdentifier)' == '.NETStandard'">Source Generator</_ClaudeMdProjectType>
287285
</PropertyGroup>
288286

289-
<!-- Build active polyfills list -->
290-
<PropertyGroup>
291-
<_ClaudeMdPolyfills></_ClaudeMdPolyfills>
292-
<_ClaudeMdPolyfills Condition="'$(InjectIndexRangeOnLegacy)' == 'true'">$(_ClaudeMdPolyfills)- Index/Range structs&#10;</_ClaudeMdPolyfills>
293-
<_ClaudeMdPolyfills Condition="'$(InjectIsExternalInitOnLegacy)' == 'true'">$(_ClaudeMdPolyfills)- IsExternalInit (records)&#10;</_ClaudeMdPolyfills>
294-
<_ClaudeMdPolyfills Condition="'$(InjectRequiredMemberOnLegacy)' == 'true'">$(_ClaudeMdPolyfills)- required keyword&#10;</_ClaudeMdPolyfills>
295-
<_ClaudeMdPolyfills Condition="'$(InjectCallerAttributesOnLegacy)' == 'true'">$(_ClaudeMdPolyfills)- CallerArgumentExpression&#10;</_ClaudeMdPolyfills>
296-
<_ClaudeMdPolyfills Condition="'$(InjectUnreachableExceptionOnLegacy)' == 'true'">$(_ClaudeMdPolyfills)- UnreachableException&#10;</_ClaudeMdPolyfills>
297-
<_ClaudeMdPolyfills Condition="'$(InjectExperimentalAttributeOnLegacy)' == 'true'">$(_ClaudeMdPolyfills)- ExperimentalAttribute&#10;</_ClaudeMdPolyfills>
298-
<_ClaudeMdPolyfills Condition="'$(InjectNullabilityAttributesOnLegacy)' == 'true'">$(_ClaudeMdPolyfills)- Nullability attributes&#10;</_ClaudeMdPolyfills>
299-
<_ClaudeMdPolyfills Condition="'$(InjectTrimAttributesOnLegacy)' == 'true'">$(_ClaudeMdPolyfills)- Trim/AOT attributes&#10;</_ClaudeMdPolyfills>
300-
<_ClaudeMdPolyfills Condition="'$(InjectStringExtensionsPolyfill)' == 'true'">$(_ClaudeMdPolyfills)- String extensions (Contains/Replace with StringComparison)&#10;</_ClaudeMdPolyfills>
301-
<_ClaudeMdPolyfills Condition="'$(InjectTimeProviderPolyfill)' == 'true'">$(_ClaudeMdPolyfills)- TimeProvider&#10;</_ClaudeMdPolyfills>
302-
<_ClaudeMdPolyfills Condition="'$(InjectLockPolyfill)' == 'true'">$(_ClaudeMdPolyfills)- Lock class&#10;</_ClaudeMdPolyfills>
303-
<_ClaudeMdPolyfills Condition="'$(InjectParamCollectionOnLegacy)' == 'true'">$(_ClaudeMdPolyfills)- params collections&#10;</_ClaudeMdPolyfills>
304-
<_ClaudeMdPolyfills Condition="'$(InjectStackTraceHiddenOnLegacy)' == 'true'">$(_ClaudeMdPolyfills)- StackTraceHidden&#10;</_ClaudeMdPolyfills>
305-
</PropertyGroup>
306-
307-
<!-- Build active extensions list -->
308-
<PropertyGroup>
309-
<_ClaudeMdExtensions></_ClaudeMdExtensions>
310-
<_ClaudeMdExtensions Condition="'$(InjectSharedThrow)' == 'true'">$(_ClaudeMdExtensions)- Throw guard clauses&#10;</_ClaudeMdExtensions>
311-
<_ClaudeMdExtensions Condition="'$(InjectCommonComparers)' == 'true' OR '$(InjectStringOrdinalComparer)' == 'true'">$(_ClaudeMdExtensions)- StringOrdinalComparer&#10;</_ClaudeMdExtensions>
312-
<_ClaudeMdExtensions Condition="'$(InjectSourceGenHelpers)' == 'true'">$(_ClaudeMdExtensions)- Source generator helpers (EquatableArray, DiagnosticInfo)&#10;</_ClaudeMdExtensions>
313-
<_ClaudeMdExtensions Condition="'$(InjectCodeFixProviderBase)' == 'true'">$(_ClaudeMdExtensions)- CodeFixProviderBase&#10;</_ClaudeMdExtensions>
314-
<_ClaudeMdExtensions Condition="'$(InjectDiagnosticAnalyzerBase)' == 'true'">$(_ClaudeMdExtensions)- DiagnosticAnalyzerBase&#10;</_ClaudeMdExtensions>
315-
<_ClaudeMdExtensions Condition="'$(InjectSyntaxModifierExtensions)' == 'true'">$(_ClaudeMdExtensions)- SyntaxModifierExtensions&#10;</_ClaudeMdExtensions>
316-
</PropertyGroup>
317-
318287
<!-- Build test config section -->
319288
<PropertyGroup>
320289
<_ClaudeMdTestConfig></_ClaudeMdTestConfig>
@@ -343,8 +312,6 @@
343312
<!-- Assemble the full content -->
344313
<PropertyGroup>
345314
<_ClaudeMdContent>@import $(_RootClaudeMdRelative)&#10;&#10;# $(MSBuildProjectName)&#10;&#10;**Type:** $(_ClaudeMdProjectType) &#10;**Framework:** $(TargetFramework) &#10;**Language:** C# $(LangVersion) &#10;**SDK:** $(_ClaudeMdSdkVariant)</_ClaudeMdContent>
346-
<_ClaudeMdContent Condition="'$(_ClaudeMdPolyfills)' != ''">$(_ClaudeMdContent)&#10;&#10;## Active Polyfills&#10;&#10;$(_ClaudeMdPolyfills)</_ClaudeMdContent>
347-
<_ClaudeMdContent Condition="'$(_ClaudeMdExtensions)' != ''">$(_ClaudeMdContent)&#10;&#10;## Active Extensions&#10;&#10;$(_ClaudeMdExtensions)</_ClaudeMdContent>
348315
<_ClaudeMdContent Condition="'$(_ClaudeMdTestConfig)' != ''">$(_ClaudeMdContent)&#10;&#10;## Test Configuration&#10;&#10;$(_ClaudeMdTestConfig)</_ClaudeMdContent>
349316
<_ClaudeMdContent Condition="'$(_ClaudeMdFeatures)' != ''">$(_ClaudeMdContent)&#10;&#10;## SDK Features&#10;&#10;$(_ClaudeMdFeatures)</_ClaudeMdContent>
350317
<_ClaudeMdContent>$(_ClaudeMdContent)&#10;&#10;## Banned APIs&#10;&#10;$(_ClaudeMdBannedApis)</_ClaudeMdContent>

src/Build/Common/LegacySupport.props

Lines changed: 0 additions & 131 deletions
This file was deleted.

0 commit comments

Comments
 (0)