Commit 1560f03
fix: resolve CS0281 InternalsVisibleTo signing mismatch in Authentication tests
Replace #if DEBUG conditional in InternalsVisibleTo attributes with
signing-aware logic that works for both signed and unsigned Release builds.
- Authentication/AssemblyInfo.cs: use unconditional simple form since this
assembly is never delay-signed at compile time
- Authentication.Core/AssemblyInfo.cs: use #if SIGNED_BUILD conditional
tied to actual SignAssembly MSBuild property
- Authentication.Core.csproj: define SIGNED_BUILD constant when
SignAssembly=true
Fixes #3561
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 38a2c6f commit 1560f03
File tree
3 files changed
+6
-7
lines changed- src/Authentication
- Authentication.Core
- Properties
- Authentication/Properties
3 files changed
+6
-7
lines changedLines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
15 | 18 | | |
16 | 19 | | |
17 | 20 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
| 3 | + | |
6 | 4 | | |
| 5 | + | |
| 6 | + | |
7 | 7 | | |
Lines changed: 0 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | 3 | | |
5 | | - | |
6 | | - | |
7 | | - | |
0 commit comments