Skip to content

Stop forcing Deterministic=false in Verify.props - #2022

Merged
SimonCropp merged 1 commit into
mainfrom
remove-deterministic-false
Nov 21, 2026
Merged

SimonCropp merged 1 commit into
mainfrom
remove-deterministic-false

Conversation

@SimonCropp

Copy link
Copy Markdown
Member

Fixes #2017

buildTransitive/Verify.props set both Deterministic=false and DeterministicSourcePaths=false.

  • Deterministic only controls MVID, PE timestamp and output ordering. It has no effect on CallerFilePath, so it plays no part in locating snapshots.
  • Snapshot location depends on source paths not being rewritten by PathMap, which DeterministicSourcePaths=false already ensures. That stays.

Forcing Deterministic=false made every compile of a test assembly byte-different (new MVID and timestamp), which breaks content-hashed build caches, test-run caching and test impact analysis, and forces rebuilds of projects referencing shared test helper projects.

Removing it falls back to the SDK default (true).

The NugetTests verified props are updated to match, although that test is currently commented out.

Deterministic only controls MVID, PE timestamp and output ordering; it does not affect CallerFilePath. Snapshot location depends on source paths not being mapped, which DeterministicSourcePaths=false already covers.

Forcing Deterministic=false made every compile of a test assembly byte-different, breaking content-hashed build and test caches.

Fixes #2017
@SimonCropp SimonCropp added this to the 33.7.2 milestone Nov 21, 2026
@SimonCropp
SimonCropp merged commit 4d777df into main Nov 21, 2026
6 checks passed
@SimonCropp
SimonCropp deleted the remove-deterministic-false branch November 21, 2026 22:16
This was referenced Nov 22, 2026
andy-the-messenger-robot Bot pushed a commit to ccswe-avalonia/CCSWE.Avalonia.ViewLocator that referenced this pull request Nov 30, 2026
Updated [Avalonia](https://github.com/AvaloniaUI/Avalonia/) from 12.1.6
to 12.2.0.

<details>
<summary>Release notes</summary>

_Sourced from [Avalonia's
releases](https://github.com/AvaloniaUI/Avalonia//releases)._

No release notes found for this version range.

Commits viewable in [compare
view](https://github.com/AvaloniaUI/Avalonia//commits).
</details>

Updated [Avalonia.Desktop](https://github.com/AvaloniaUI/Avalonia/) from
12.1.6 to 12.2.0.

<details>
<summary>Release notes</summary>

_Sourced from [Avalonia.Desktop's
releases](https://github.com/AvaloniaUI/Avalonia//releases)._

No release notes found for this version range.

Commits viewable in [compare
view](https://github.com/AvaloniaUI/Avalonia//commits).
</details>

Updated
[CCSWE.Avalonia.Material](https://github.com/ccswe-avalonia/CCSWE.Avalonia.Material)
from 12.3.5 to 12.4.4.

<details>
<summary>Release notes</summary>

_Sourced from [CCSWE.Avalonia.Material's
releases](https://github.com/ccswe-avalonia/CCSWE.Avalonia.Material/releases)._

No release notes found for this version range.

Commits viewable in [compare
view](https://github.com/ccswe-avalonia/CCSWE.Avalonia.Material/commits).
</details>

Updated [Verify.NUnit](https://github.com/VerifyTests/Verify) from
33.7.1 to 33.7.3.

<details>
<summary>Release notes</summary>

_Sourced from [Verify.NUnit's
releases](https://github.com/VerifyTests/Verify/releases)._

## 33.7.3

- [x] [#​2026](VerifyTests/Verify#2026)
SponsorCheck 0.28.0

## 33.7.2

- [x] [#​2021](VerifyTests/Verify#2021) Pin
Microsoft.Bcl.AsyncInterfaces only for .NET Framework
- [x] [#​2022](VerifyTests/Verify#2022) Stop
forcing Deterministic=false in Verify.props

Commits viewable in [compare
view](VerifyTests/Verify@33.7.1...33.7.3).
</details>

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Verify.props set Deterministic=false - still needed now that DeterministicSourcePaths=false is set?

1 participant