Skip to content

Move the tests to Nullean.Snapshots 0.12.2 and drop the pin it fixes - #88

Merged
Mpdreamz merged 1 commit into
mainfrom
snapshots-0122
Nov 14, 2026
Merged

Mpdreamz merged 1 commit into
mainfrom
snapshots-0122

Conversation

@Mpdreamz

Copy link
Copy Markdown
Contributor

The tests use Nullean.Snapshots 0.12.2, and the workaround pin on Nullean.ScopedFileSystem is gone, because 0.12.2 depends on the fixed 0.7.2 itself.

Prompt summary: Nullean.Snapshots was released with the ScopedFileSystem fix, so the pin added in #67 can go.

What

The bump

Nullean.Snapshots.AwesomeAssertions and Nullean.Snapshots.TUnit move from 0.12.1 to 0.12.2. Nullean.ScopedFileSystem leaves Directory.Packages.props and the test project, and it still resolves to 0.7.2 through Nullean.Snapshots.

assembly-differ upgrades in this repository listed these two as the only updates, with 0 breaking changes in what the tests use.

Verify

mise run test
dotnet list tests/assembly-differ.Tests package --include-transitive | grep ScopedFileSystem   # 0.7.2

🤖 Generated with Claude Code

0.12.2 depends on Nullean.ScopedFileSystem 0.7.2, so the tests no longer
pin it themselves to avoid the TypeLoadException 0.12.1's 0.7.1 threw.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@Mpdreamz Mpdreamz added the dependencies Dependency updates (patch) label Nov 14, 2026
@Mpdreamz
Mpdreamz merged commit d0f3c1f into main Nov 14, 2026
6 of 7 checks passed
@Mpdreamz
Mpdreamz deleted the snapshots-0122 branch November 14, 2026 09:10
Mpdreamz added a commit that referenced this pull request Nov 14, 2026
…ter (#91)

A solution build now builds the tool once. Main's CI failed once because
two builds of it wrote `assembly-differ.deps.json` at the same time.

**Prompt summary:** Main's CI failed on the commit of
[#88](#88) while getting
assembly-differ to 1.0; this fixes the cause.

## Why
The `build` job failed with `MSB4018: The "GenerateDepsFile" task failed
unexpectedly ... The process cannot access the file
'.../bin/Release/net11.0/assembly-differ.deps.json' because it is being
used by another process`. The test project references the tool with
`SetTargetFramework="TargetFramework=net11.0"`. Since
[#79](#79) made the tool
single-target, that global property makes MSBuild treat the reference as
a second instance of the project, which it builds in parallel with the
solution's own instance.

## What

#### One instance
The reference keeps only `ReferenceOutputAssembly="false"`, and a
comment says why it must carry no global properties. A local `dotnet
build -c Release -v n` shows one build instance of the tool fewer than
on main, 2 instead of 3.

## Verify
```bash
dotnet build -c Release
mise run test
```

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Dependency updates (patch)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant