Skip to content

Drop the .NET Framework 4.8 designer; keep only InfoBoxCore.Designer#91

Open
JohannBlais wants to merge 1 commit into
chore/consolidate-net48-into-infoboxcorefrom
chore/drop-net48-designer
Open

Drop the .NET Framework 4.8 designer; keep only InfoBoxCore.Designer#91
JohannBlais wants to merge 1 commit into
chore/consolidate-net48-into-infoboxcorefrom
chore/drop-net48-designer

Conversation

@JohannBlais

Copy link
Copy Markdown
Owner

Summary

Companion to #90, for the designer projects. Same two-project situation (a legacy net48 designer + a modern SDK designer compiling the same source), but resolved differently: since the designer is a dev tool not shipped in the NuGet package, a net48 build has no external consumer — so instead of multi-targeting it, the net48 designer is simply removed.

Changes

  • Delete InfoBox.Designer.csproj. The InfoBox.Designer/ folder keeps the designer source, which InfoBoxCore.Designer already compiles via <Compile Include="..\InfoBox.Designer\**\*.cs" />.
  • Delete net48-project-only orphans (nothing else references them): app.config, Properties/app.manifest, Properties/key.snk, and the ClickOnce InfoBox.Designer_TemporaryKey.pfx.
  • InfoBox.sln: remove the InfoBox.Designer project entry + its config block.
  • CLAUDE.md: update the project-structure section (InfoBox.Designer/ is now source-only; InfoBoxCore.Designer is the single designer project, net8/9/10).

Also removes the MSB3884 "AllRules.ruleset not found" warning the old-format designer emitted under dotnet build.

Verified locally

Check Result
dotnet build InfoBox.sln
Designer tests (InfoBoxCore.Designer.Tests) ✅ 8 / 8
Library tests (InfoBoxCore.Tests) ✅ 88 / 88

⚠️ Merge order

Stacked on #90 (both edit InfoBox.sln on adjacent lines). Base is set to the chore/consolidate-net48-into-infoboxcore branch so the diff shows only the designer changes. Merge #90 first, then this. If GitHub doesn't cleanly retarget after #90's squash-merge, I'll rebase this onto master and update.

🤖 Generated with Claude Code

The designer existed as two projects compiling the same source: the legacy
non-SDK InfoBox.Designer.csproj (net48, WinExe) and the SDK-style
InfoBoxCore.Designer.csproj (net8/9/10). Unlike the library, the designer is
a dev tool that is NOT shipped in the NuGet package, so a net48 build has no
external consumer - a modern build is sufficient.

Rather than multi-target it (as we did for the library), the net48 designer
project is simply removed:
- Delete InfoBox.Designer.csproj. The InfoBox.Designer/ folder keeps the
  designer source, which InfoBoxCore.Designer already compiles via
  <Compile Include="..\InfoBox.Designer\**\*.cs" />.
- Delete the net48-project-only orphans that nothing else references:
  app.config, Properties/app.manifest, Properties/key.snk, and the ClickOnce
  InfoBox.Designer_TemporaryKey.pfx.
- InfoBox.sln: remove the InfoBox.Designer project entry + config.
- CLAUDE.md: update the project-structure section.

This also removes the MSB3884 "AllRules.ruleset not found" warning that the
old-format designer emitted under `dotnet build`.

Verified: `dotnet build InfoBox.sln` succeeds, designer tests 8/8, library
tests 88/88.

Stacked on #90 (the library consolidation) since both edit InfoBox.sln.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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