-
Notifications
You must be signed in to change notification settings - Fork 241
Target .NET 10 Preview #3449
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Target .NET 10 Preview #3449
Changes from 25 commits
Commits
Show all changes
47 commits
Select commit
Hold shift + click to select a range
cfca351
Initial plan
Copilot 5ea52dc
Add .NET 10 preview support to build system and CI/CD
Copilot bbd5577
Add .NET 10 preview documentation and validation script
Copilot e6ee766
Complete .NET 10 preview support across all TargetNetNext project files
Copilot f659d9d
Remove invalid include-prerelease parameter from setup-dotnet action
Copilot a04d982
Update .NET 10 preview versions to latest 10.0.0-preview.5.25277.114
Copilot 80dfa7a
Remove net10.0 from Microsoft.Bcl.Memory warning suppression conditions
Copilot 9ddd24b
Add .NET 10 preview support to AOT check workflow
Copilot 93a7d44
Add .NET 10 preview support to CodeQL analysis workflow
Copilot 9941dd8
Fix .NET 10 unit test failures by updating project references and SDK…
Copilot 29127df
remove unneeded package refs
JoshLozensky 9a3d818
add api docs
JoshLozensky 5575e57
Adjust config files from AI edits
JoshLozensky 97f3965
merge main
JoshLozensky 530d258
fixing build errors
JoshLozensky 5173ff8
fix props error
JoshLozensky 8796aea
fix package warnings/errors
JoshLozensky afec494
fix package warnings/errors
JoshLozensky 6fcd07c
Merge branch 'master' into lozensky/TargetNetTenPreview
JoshLozensky c689b07
merge
JoshLozensky 644fac5
Address warnings/errors
JoshLozensky 6d40cdd
organize props and clean up README
JoshLozensky ff838ba
fixing cache test reflection
JoshLozensky 33f3086
merge main
JoshLozensky 4c125ca
Fix x-unit collection
JoshLozensky a83d8bb
add suppression for NU5104
JoshLozensky d895fb8
addressing PR feedback
JoshLozensky 263123c
Merge branch 'master' into lozensky/TargetNetTenPreview
JoshLozensky b71281c
removing unneeded version logic
JoshLozensky b14facc
Merge branch 'master' into lozensky/TargetNetTenPreview
JoshLozensky 28042ed
fix ui tests
JoshLozensky 8cee0e2
Merge branch 'master' into lozensky/TargetNetTenPreview
JoshLozensky c1660ba
merge latest main
JoshLozensky d5f67dc
experimenting with E2E test retry logic
JoshLozensky a13a4fb
merge main
JoshLozensky 19003f5
update to rc 1
JoshLozensky 8c30404
Merge branch 'master' into lozensky/TargetNetTenPreview
JoshLozensky d36e254
fix various warnings
JoshLozensky 2550f34
fix a couple more warnings
JoshLozensky 4ff353f
Merge branch 'master' into lozensky/TargetNetTenPreview
JoshLozensky 1803c06
add net 10 directly to devapps for testing
JoshLozensky 05d259c
exclude test from running with net 10
JoshLozensky 2df2de8
move exclusion inside namespace
JoshLozensky 67c3514
Merge branch 'master' into lozensky/TargetNetTenPreview
JoshLozensky c1d4c4b
exclude UI tests from net 10
JoshLozensky a5c6252
address PR feedback
JoshLozensky 3e2493f
Merge branch 'master' into lozensky/TargetNetTenPreview
JoshLozensky File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -75,6 +75,38 @@ This library controls how users sign-in and access services. We recommend you al | |
|
|
||
| If you find a security issue with our libraries or services, please report it to [[email protected]](mailto:[email protected]) with as much detail as possible. Your submission may be eligible for a bounty through the [Microsoft Bounty](http://aka.ms/bugbounty) program. Please do not post security issues to GitHub Issues or any other public site. We will contact you shortly upon receiving the information. We encourage you to get notifications of when security incidents occur by visiting [this page](https://technet.microsoft.com/en-us/security/dd252948) and subscribing to Security Advisory Alerts. | ||
|
|
||
| ## Building with .NET 10 Preview | ||
JoshLozensky marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| Microsoft Identity Web supports building and testing with .NET 10 preview versions using the `TargetNetNext` conditional compilation flag. This enables early testing and compatibility validation with the latest .NET preview releases. | ||
|
|
||
| ### Prerequisites | ||
|
|
||
| - Install .NET 10 preview SDK from [https://dotnet.microsoft.com/download/dotnet/10.0](https://dotnet.microsoft.com/download/dotnet/10.0) | ||
|
|
||
| ### Building with .NET 10 Preview | ||
|
|
||
| To build the solution with .NET 10 preview support: | ||
|
|
||
| ```bash | ||
| # Build with .NET 10 preview targets included | ||
| dotnet build Microsoft.Identity.Web.sln -p:TargetNetNext=True | ||
|
|
||
| # Or using MSBuild | ||
| msbuild Microsoft.Identity.Web.sln -p:TargetNetNext=True | ||
| ``` | ||
| You can also set the TargetNetNext environment variable on your machine with the value `True`. | ||
|
|
||
| ### Testing with .NET 10 Preview | ||
|
|
||
| To run tests targeting .NET 10 preview: | ||
|
|
||
| ```bash | ||
| # Run tests with .NET 10 preview (conditional) | ||
| dotnet test Microsoft.Identity.Web.sln -f net10.0 -p:TargetNetNext=True | ||
| ``` | ||
|
|
||
| **Note:** .NET 10 preview support is conditional and requires setting `TargetNetNext=True` during build/test operations. This ensures compatibility with the latest preview versions while maintaining stability for production builds. | ||
|
|
||
| ## Trademarks | ||
|
|
||
| This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow [Microsoft's Trademark & Brand Guidelines](https://www.microsoft.com/legal/intellectualproperty/trademarks). Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies. | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 31 additions & 0 deletions
31
src/Microsoft.Identity.Web.Diagnostics/PublicAPI/net10.0/InternalAPI.Shipped.txt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,31 @@ | ||
| #nullable enable | ||
pmaytak marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| Microsoft.Identity.Web.Diagnostics.IdHelper | ||
| Microsoft.Identity.Web.Diagnostics.OsHelper | ||
| Microsoft.Identity.Web.Diagnostics.OsHelper.OsHelper() -> void | ||
| Microsoft.Identity.Web.IdHelper | ||
| Microsoft.Identity.Web.Throws | ||
| static Microsoft.Identity.Web.Diagnostics.IdHelper.CreateTelemetryInfo() -> string! | ||
| static Microsoft.Identity.Web.Diagnostics.IdHelper.GetIdWebVersion() -> string! | ||
| static Microsoft.Identity.Web.Diagnostics.OsHelper.IsLinuxPlatform() -> bool | ||
| static Microsoft.Identity.Web.Diagnostics.OsHelper.IsMacPlatform() -> bool | ||
| static Microsoft.Identity.Web.Diagnostics.OsHelper.IsWindowsPlatform() -> bool | ||
| static Microsoft.Identity.Web.IdHelper.CreateTelemetryInfo() -> string! | ||
| static Microsoft.Identity.Web.IdHelper.GetIdWebVersion() -> string! | ||
| static Microsoft.Identity.Web.Throws.ArgumentException(string! paramName, string? message) -> void | ||
| static Microsoft.Identity.Web.Throws.ArgumentException(string! paramName, string? message, System.Exception? innerException) -> void | ||
| static Microsoft.Identity.Web.Throws.ArgumentNullException(string! paramName) -> void | ||
| static Microsoft.Identity.Web.Throws.ArgumentNullException(string! paramName, string? message) -> void | ||
| static Microsoft.Identity.Web.Throws.ArgumentOutOfRangeException(string! paramName) -> void | ||
| static Microsoft.Identity.Web.Throws.ArgumentOutOfRangeException(string! paramName, object? actualValue, string? message) -> void | ||
| static Microsoft.Identity.Web.Throws.ArgumentOutOfRangeException(string! paramName, string? message) -> void | ||
| static Microsoft.Identity.Web.Throws.IfBufferTooSmall(int bufferSize, int requiredSize, string! paramName = "") -> void | ||
| static Microsoft.Identity.Web.Throws.IfMemberNull<TParameter, TMember>(TParameter argument, TMember member, string! paramName = "", string! memberName = "") -> TMember | ||
| static Microsoft.Identity.Web.Throws.IfNull<T>(T argument, string! paramName = "") -> T | ||
| static Microsoft.Identity.Web.Throws.IfNullOrEmpty(string? argument, string! paramName = "") -> string! | ||
| static Microsoft.Identity.Web.Throws.IfNullOrEmpty<T>(System.Collections.Generic.ICollection<T>? argument, string! paramName = "") -> System.Collections.Generic.ICollection<T>! | ||
| static Microsoft.Identity.Web.Throws.IfNullOrEmpty<T>(System.Collections.Generic.IReadOnlyCollection<T>? argument, string! paramName = "") -> System.Collections.Generic.IReadOnlyCollection<T>! | ||
| static Microsoft.Identity.Web.Throws.IfNullOrMemberNull<TParameter, TMember>(TParameter argument, TMember member, string! paramName = "", string! memberName = "") -> TMember | ||
| static Microsoft.Identity.Web.Throws.IfNullOrWhitespace(string? argument, string! paramName = "") -> string! | ||
| static Microsoft.Identity.Web.Throws.IfOutOfRange<T>(T argument, string! paramName = "") -> T | ||
| static Microsoft.Identity.Web.Throws.InvalidOperationException(string! message) -> void | ||
| static Microsoft.Identity.Web.Throws.InvalidOperationException(string! message, System.Exception? innerException) -> void | ||
1 change: 1 addition & 0 deletions
1
src/Microsoft.Identity.Web.Diagnostics/PublicAPI/net10.0/InternalAPI.Unshipped.txt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| #nullable enable |
1 change: 1 addition & 0 deletions
1
src/Microsoft.Identity.Web.Diagnostics/PublicAPI/net10.0/PublicAPI.Shipped.txt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| #nullable enable |
1 change: 1 addition & 0 deletions
1
src/Microsoft.Identity.Web.Diagnostics/PublicAPI/net10.0/PublicAPI.Unshipped.txt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| #nullable enable |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.