Skip to content

build/net462 and ci - #1

Merged
illia1f merged 3 commits into
mainfrom
build/net462-and-ci
Jul 28, 2026
Merged

build/net462 and ci#1
illia1f merged 3 commits into
mainfrom
build/net462-and-ci

Conversation

@illia1f

@illia1f illia1f commented Jul 28, 2026

Copy link
Copy Markdown
Owner

No description provided.

illia1f added 3 commits July 29, 2026 00:41
net462 puts explicit .NET Framework support on the NuGet page for
brownfield migrators. netstandard2.0 already covers the runtime, so
this is about what the package listing shows.

Props now layer. The root file holds what every project needs and
sets IsPackable=false; src/Directory.Build.props opts back in, so
tests, fixtures, and samples can no longer leak into dotnet pack.
Signing stays at the root: InternalsVisibleTo from a signed assembly
only resolves when the consuming test assembly carries the same
strong name. Version splits into VersionPrefix and VersionSuffix so
CI can stamp a different preview.

Tests run on net462 too, on Windows only, so the oldest library
build gets exercised. That target needs IsExternalInit for record
init accessors, a real Assembly subclass in HandlerScannerTests
because Castle cannot proxy Assembly on .NET Framework, and
xunit.runner.visualstudio pinned at 2.8.2, the last version that
targets net462.

global.json pins the SDK major so local and CI builds agree.
Build and test on Windows because the net462 test target only runs
there. Pack on Ubuntu, one project at a time rather than the whole
solution, which would restore and build every test project again.
Setup, the rules that cannot bend (no MediatR code, nothing reflective
on the dispatch path, fixed targets and dependencies), and the test
conventions.
@illia1f
illia1f merged commit 104b196 into main Jul 28, 2026
2 checks passed
@illia1f
illia1f deleted the build/net462-and-ci branch July 28, 2026 22:54
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