Repository navigation
Commit 10d533a
authored
PasswordHasher: retarget net10.0, fix the benchmark project's absolute HintPath (#2165)
- All three projects move from net8.0 to net10.0.
- PasswordHasher.Benchmark.Tests referenced Microsoft.Extensions.Identity.Core
through an absolute Windows HintPath pinned to SDK 8.0.4, so it built on one
machine only. Replaced with <FrameworkReference Include="Microsoft.AspNetCore.App" />,
which is how a non-web project reaches Identity.Core.
- Package lifts, all read from NuGet on 2026-08-30: Microsoft.AspNetCore.OpenApi
8.0.4 -> 10.0.11, Swashbuckle.AspNetCore 6.4.0 -> 10.2.3, BenchmarkDotNet
0.13.12 -> 0.15.8, NUnit 3.14.0 -> 4.6.1, NUnit3TestAdapter 4.5.0 -> 6.3.0,
NUnit.Analyzers 3.9.0 -> 4.14.0, Microsoft.NET.Test.Sdk 17.8.0 -> 18.9.0,
coverlet.collector 6.0.0 -> 10.0.1. The tests already use the constraint model
(Assert.That), so the NUnit 3 to 4 move needed no assertion rewrites.
- One comment in CustomerService.Login() saying the sample ignores the
SuccessRehashNeeded signal deliberately.
Build 0 errors and 8/8 tests pass on SDK 10.0.302 / runtime 10.0.10.1 parent 562261e commit 10d533a
4 files changed
Lines changed: 13 additions & 14 deletions
File tree
- authorization-dotnet/PasswordHasher
- PasswordHasher.Api
- Services
- PasswordHasher.Benchmark.Tests
- PasswordHasher.Tests
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
| 10 | + | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
| |||
Lines changed: 3 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
17 | | - | |
| 15 | + | |
18 | 16 | | |
19 | 17 | | |
20 | 18 | | |
| |||
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
0 commit comments