Commit d5bb07e
* fix: make System.ValueTuple conditional on net462 only (#5894)
System.ValueTuple was an unconditional PackageReference, causing it to
appear in the NuGet dependency group for all TFMs including net472.
On .NET Framework 4.7+ ValueTuple is in-box, so the NuGet package
generates harmful binding redirects in Web.Config that cause runtime
failures.
Changes:
- Microsoft.Identity.Client.csproj: restrict direct ValueTuple ref to
net462 (the only TFM that needs it) and suppress the transitive dep
from System.Formats.Asn1 on net472 via PrivateAssets/ExcludeAssets.
- Remove unnecessary ValueTuple refs from Microsoft.Identity.Lab.Api
and Microsoft.Identity.Test.Common (both netstandard2.0-only).
Fixes #5894
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Update Microsoft.Identity.Client.csproj
---------
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 8dc9f18 commit d5bb07e
3 files changed
Lines changed: 11 additions & 3 deletions
File tree
- src/client
- Microsoft.Identity.Client
- Microsoft.Identity.Lab.Api
- tests/Microsoft.Identity.Test.Common
Lines changed: 11 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
157 | 161 | | |
158 | 162 | | |
159 | 163 | | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
160 | 170 | | |
161 | 171 | | |
162 | 172 | | |
163 | 173 | | |
164 | 174 | | |
165 | | - | |
| 175 | + | |
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
41 | 40 | | |
42 | 41 | | |
43 | 42 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | 23 | | |
25 | 24 | | |
26 | 25 | | |
| |||
0 commit comments