Commit 019fb02
fix: resolve CS0281 InternalsVisibleTo signing mismatch in Authentication tests (#3562)
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 41e75b6 commit 019fb02
File tree
4 files changed
+12
-6
lines changed- src/Authentication
- Authentication.Core
- Properties
- Authentication
- Properties
4 files changed
+12
-6
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: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
19 | 22 | | |
20 | 23 | | |
21 | 24 | | |
| |||
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 | | |
0 commit comments