Skip to content

Examples: delete dead example projects, document why two solutions are skipped - #393

Merged
lahma merged 2 commits into
mainfrom
4x/examples-leftovers
Nov 3, 2026
Merged

lahma merged 2 commits into
mainfrom
4x/examples-leftovers

Conversation

@lahma

@lahma lahma commented Nov 3, 2026 •

Copy link
Copy Markdown
Collaborator

Leftovers from the examples cleanup (#385).

  • Deleted Spring.Examples.Pool. It can't build on any supported framework. It compiles against a .NET 2.0 Spring.Threading.dll whose IExecutor uses LinqBridge's Action, which fails with CS0012, and adding LinqBridge only turns that into CS0535/CS0433. Nothing outside doc/ and changelog.txt mentions it, and its skip entry in CompileExamples is gone.
  • Deleted four empty test-project shells, two in Spring.MsmqQuickStart/test and two in Spring.NmsQuickStart/test. Each had only an AssemblyInfo.cs and a VS2005-era csproj, and no tests. They're also removed from the NMS solution.
  • SpringAir and Spring.WebQuickStart stay skipped in CompileExamples, and the reason is now written next to the skip.
    • Their solutions hold ASP.NET web site projects that reference the multi-targeted src projects.
    • The web site's solution metaproject calls GetTargetPath on the outer TargetFrameworks build, which doesn't define it (MSB4057).
    • The first CI run of this PR showed exactly that.
    • Each of their projects builds on its own, and each site precompiles with aspnet_compiler, so making the solutions buildable would mean changing how the sites reference Spring. That's for a separate PR, if anyone wants it.
  • Checked, no change: Mvc5QuickStart.
    • Its bin already gets Spring's full net472 dependency closure next to the HintPath references, including Microsoft.Extensions.Logging.Abstractions 8.0.0.3 and Microsoft.Bcl.HashCode 6.0.0.0.
    • Every assembly version matches what's referenced, so no binding redirects are needed.

Verification: Spring.Net.sln, the MSMQ and NMS example solutions and _build.csproj build in Release with 0 warnings.

🤖 Generated with Claude Code

https://claude.ai/code/session_01LGkLQuAuUjvRjrU1AcTsmk

lahma and others added 2 commits November 4, 2026 01:14
…nd WebQuickStart

- Delete the empty test shells under Spring.MsmqQuickStart and
  Spring.NmsQuickStart (an AssemblyInfo.cs and a legacy csproj each, no
  tests) and remove them from the two solutions.
- Delete Spring.Examples.Pool: it needs a prebuilt .NET 2.0
  Spring.Threading.dll and LinqBridge, and builds on no supported framework.
- Drop the CompileExamples skip list entirely, so SpringAir and
  Spring.WebQuickStart are compiled as well.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LGkLQuAuUjvRjrU1AcTsmk
Signed-off-by: Marko Lahma <marko.lahma@gmail.com>
…e reason

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LGkLQuAuUjvRjrU1AcTsmk
Signed-off-by: Marko Lahma <marko.lahma@gmail.com>
@lahma lahma changed the title Examples: compile SpringAir and WebQuickStart in CI, delete dead example projects Examples: delete dead example projects, document why two solutions are skipped Nov 3, 2026
@lahma
lahma merged commit ce8ed46 into main Nov 3, 2026
4 checks passed
@lahma
lahma deleted the 4x/examples-leftovers branch November 3, 2026 23:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant