-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Merge main into live #51037
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
base: live
Are you sure you want to change the base?
Merge main into live #51037
Conversation
* Initial plan * Fix duplicate snippet ID: rename SampleCollection snippet from 52 to 59 Co-authored-by: BillWagner <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: BillWagner <[email protected]>
* Add missing AI metadata
* replace `dotnet run` with `dotnet file` Throughout the C# guide, where `dotnet run file.cs` was used, replace it with `dotnet file.cs`. Make a similar change for `#!` directives. * Freshness pass * Apply suggestions from code review Co-authored-by: Copilot <[email protected]> --------- Co-authored-by: Copilot <[email protected]>
If the parse fails, don't add a new item to the returned enumeration. That was boilerplate code that should have been removed.
|
This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation. |
…dence over runtimeconfig.json (#51005)
) * Make it more explicit that test runner selection is for .NET 10+ * Update docs/core/tools/dotnet-test.md Co-authored-by: Meaghan Osagie (Lewis) <[email protected]> * Update docs/core/tools/dotnet-test.md Co-authored-by: Meaghan Osagie (Lewis) <[email protected]> --------- Co-authored-by: Meaghan Osagie (Lewis) <[email protected]>
Bumps [actions/setup-dotnet](https://github.com/actions/setup-dotnet) from 5.0.1 to 5.1.0. - [Release notes](https://github.com/actions/setup-dotnet/releases) - [Commits](actions/setup-dotnet@2016bd2...baa11fb) --- updated-dependencies: - dependency-name: actions/setup-dotnet dependency-version: 5.1.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps Microsoft.Extensions.Configuration.Binder from 10.0.1 to 10.0.2 Bumps Microsoft.Extensions.Configuration.Ini from 10.0.1 to 10.0.2 Bumps Microsoft.Extensions.Hosting from 10.0.1 to 10.0.2 --- updated-dependencies: - dependency-name: Microsoft.Extensions.Configuration.Binder dependency-version: 10.0.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet - dependency-name: Microsoft.Extensions.Configuration.Ini dependency-version: 10.0.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet - dependency-name: Microsoft.Extensions.Hosting dependency-version: 10.0.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps Microsoft.Extensions.Configuration.Binder from 10.0.1 to 10.0.2 Bumps Microsoft.Extensions.Hosting from 10.0.1 to 10.0.2 Bumps Microsoft.Extensions.Logging from 10.0.1 to 10.0.2 --- updated-dependencies: - dependency-name: Microsoft.Extensions.Configuration.Binder dependency-version: 10.0.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet - dependency-name: Microsoft.Extensions.Hosting dependency-version: 10.0.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet - dependency-name: Microsoft.Extensions.Logging dependency-version: 10.0.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps Microsoft.Extensions.Configuration.Binder from 10.0.1 to 10.0.2 Bumps Microsoft.Extensions.Configuration.Xml from 10.0.1 to 10.0.2 Bumps Microsoft.Extensions.Hosting from 10.0.1 to 10.0.2 --- updated-dependencies: - dependency-name: Microsoft.Extensions.Configuration.Binder dependency-version: 10.0.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet - dependency-name: Microsoft.Extensions.Configuration.Xml dependency-version: 10.0.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet - dependency-name: Microsoft.Extensions.Hosting dependency-version: 10.0.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps Microsoft.Extensions.Configuration.Binder from 10.0.1 to 10.0.2 Bumps Microsoft.Extensions.Configuration.Json from 10.0.1 to 10.0.2 Bumps Microsoft.Extensions.Hosting from 10.0.1 to 10.0.2 --- updated-dependencies: - dependency-name: Microsoft.Extensions.Configuration.Binder dependency-version: 10.0.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet - dependency-name: Microsoft.Extensions.Configuration.Json dependency-version: 10.0.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet - dependency-name: Microsoft.Extensions.Hosting dependency-version: 10.0.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps Microsoft.Extensions.Configuration.Binder from 10.0.1 to 10.0.2 Bumps Microsoft.Extensions.Configuration.Json from 10.0.1 to 10.0.2 Bumps Microsoft.Extensions.Hosting from 10.0.1 to 10.0.2 --- updated-dependencies: - dependency-name: Microsoft.Extensions.Configuration.Binder dependency-version: 10.0.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet - dependency-name: Microsoft.Extensions.Configuration.Json dependency-version: 10.0.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet - dependency-name: Microsoft.Extensions.Hosting dependency-version: 10.0.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 4.31.9 to 4.31.10. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](github/codeql-action@5d4e8d1...cdefb33) --- updated-dependencies: - dependency-name: github/codeql-action dependency-version: 4.31.10 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps Microsoft.Extensions.FileSystemGlobbing from 10.0.1 to 10.0.2 Bumps Microsoft.Extensions.Hosting from 10.0.1 to 10.0.2 --- updated-dependencies: - dependency-name: Microsoft.Extensions.FileSystemGlobbing dependency-version: 10.0.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet - dependency-name: Microsoft.Extensions.Hosting dependency-version: 10.0.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps NUnit3TestAdapter from 6.0.1 to 6.1.0 --- updated-dependencies: - dependency-name: NUnit3TestAdapter dependency-version: 6.1.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dotnet ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps Microsoft.Extensions.Diagnostics.HealthChecks.ResourceUtilization from 10.1.0 to 10.2.0 Bumps Microsoft.Extensions.Hosting from 10.0.1 to 10.0.2 --- updated-dependencies: - dependency-name: Microsoft.Extensions.Diagnostics.HealthChecks.ResourceUtilization dependency-version: 10.2.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dotnet - dependency-name: Microsoft.Extensions.Hosting dependency-version: 10.0.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps Microsoft.Extensions.DependencyInjection from 10.0.1 to 10.0.2 Bumps Microsoft.Extensions.Diagnostics.ExceptionSummarization from 10.1.0 to 10.2.0 --- updated-dependencies: - dependency-name: Microsoft.Extensions.DependencyInjection dependency-version: 10.0.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet - dependency-name: Microsoft.Extensions.Diagnostics.ExceptionSummarization dependency-version: 10.2.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dotnet ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps Microsoft.Extensions.Diagnostics.HealthChecks.Common from 10.1.0 to 10.2.0 Bumps Microsoft.Extensions.Hosting from 10.0.1 to 10.0.2 --- updated-dependencies: - dependency-name: Microsoft.Extensions.Diagnostics.HealthChecks.Common dependency-version: 10.2.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dotnet - dependency-name: Microsoft.Extensions.Hosting dependency-version: 10.0.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps Microsoft.Extensions.Hosting from 10.0.1 to 10.0.2 Bumps Microsoft.Extensions.Localization from 10.0.1 to 10.0.2 --- updated-dependencies: - dependency-name: Microsoft.Extensions.Hosting dependency-version: 10.0.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet - dependency-name: Microsoft.Extensions.Localization dependency-version: 10.0.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps Microsoft.Extensions.Configuration.Binder from 10.0.1 to 10.0.2 Bumps Microsoft.Extensions.Configuration.EnvironmentVariables from 10.0.1 to 10.0.2 Bumps Microsoft.Extensions.Configuration.Json from 10.0.1 to 10.0.2 --- updated-dependencies: - dependency-name: Microsoft.Extensions.Configuration.Binder dependency-version: 10.0.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet - dependency-name: Microsoft.Extensions.Configuration.EnvironmentVariables dependency-version: 10.0.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet - dependency-name: Microsoft.Extensions.Configuration.Json dependency-version: 10.0.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps Microsoft.EntityFrameworkCore from 10.0.1 to 10.0.2 Bumps Microsoft.EntityFrameworkCore.InMemory from 10.0.1 to 10.0.2 Bumps Microsoft.EntityFrameworkCore.SqlServer from 10.0.1 to 10.0.2 Bumps Microsoft.Extensions.Configuration.Binder from 10.0.1 to 10.0.2 Bumps Microsoft.Extensions.Hosting from 10.0.1 to 10.0.2 --- updated-dependencies: - dependency-name: Microsoft.EntityFrameworkCore dependency-version: 10.0.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet - dependency-name: Microsoft.EntityFrameworkCore.InMemory dependency-version: 10.0.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet - dependency-name: Microsoft.EntityFrameworkCore.SqlServer dependency-version: 10.0.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet - dependency-name: Microsoft.Extensions.Configuration.Binder dependency-version: 10.0.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet - dependency-name: Microsoft.Extensions.Hosting dependency-version: 10.0.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps Microsoft.Extensions.DependencyInjection from 10.0.1 to 10.0.2 Bumps Microsoft.Extensions.Diagnostics.ResourceMonitoring from 10.1.0 to 10.2.0 Bumps Microsoft.Extensions.Hosting from 10.0.1 to 10.0.2 Bumps Microsoft.Extensions.Logging.Console from 10.0.1 to 10.0.2 --- updated-dependencies: - dependency-name: Microsoft.Extensions.DependencyInjection dependency-version: 10.0.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet - dependency-name: Microsoft.Extensions.Diagnostics.ResourceMonitoring dependency-version: 10.2.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dotnet - dependency-name: Microsoft.Extensions.Hosting dependency-version: 10.0.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet - dependency-name: Microsoft.Extensions.Logging.Console dependency-version: 10.0.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps Azure.Storage.Blobs from 12.26.0 to 12.27.0 Bumps Microsoft.AspNetCore.OpenApi from 10.0.1 to 10.0.2 --- updated-dependencies: - dependency-name: Azure.Storage.Blobs dependency-version: 12.27.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dotnet - dependency-name: Microsoft.AspNetCore.OpenApi dependency-version: 10.0.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps Microsoft.AspNetCore.OpenApi from 9.0.11 to 9.0.12 Bumps Microsoft.Extensions.AI from 10.1.1 to 10.2.0 --- updated-dependencies: - dependency-name: Microsoft.AspNetCore.OpenApi dependency-version: 9.0.12 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet - dependency-name: Microsoft.Extensions.AI dependency-version: 10.2.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dotnet ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Clarified the explanation of the rule and its implications regarding unnecessary calls to ArgumentNullException.ThrowIfNull.
* Add DOTNET_DbgCreateDumpToolPath env variable and description Documents new environment variable added in dotnet/runtime#122989 where you can point to an alternate directory where the createdump tool lives. Works only with NativeAOT .NET 11 and above. * Update docs/core/diagnostics/collect-dumps-crash.md Co-authored-by: Genevieve Warren <[email protected]> --------- Co-authored-by: Genevieve Warren <[email protected]>
…ive options validation (#51044)
* Add include file for version We get repeated comments to describe when a feature was added to the language. We're not doing that for every feature. However, we can link to the version history article to help readers find the first version for a given feature. * Add include in attribute folder Also, perform a general edit pass. * Add includes to the builtin types Also, run an edit and freshness pass. * Add the tokens folder Add the include file in the tokens folder. Perform a general edit and freshness pass. * Apply suggestions from code review Co-authored-by: Copilot <[email protected]> * Apply suggestions from code review Co-authored-by: Meaghan Osagie (Lewis) <[email protected]> --------- Co-authored-by: Copilot <[email protected]> Co-authored-by: Meaghan Osagie (Lewis) <[email protected]>
* Initial plan * Convert get-started tutorial to file-based app approach Co-authored-by: meaghanlewis <[email protected]> * apply human edits * Apply suggestions from code review Co-authored-by: Copilot <[email protected]> * Fix command to run hello-world.cs in tutorial * move snippets into csharp folder * fix path --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: meaghanlewis <[email protected]> Co-authored-by: Meaghan Osagie <[email protected]> Co-authored-by: Copilot <[email protected]>
* Create skeletons Create the skeleton for the file scoped types related errors and warnings * Finish updates to new file * proofread * edits for naming
…Path/LoadFromStream (#51185) * Initial plan * Update loading-managed.md to clarify default probing behavior for non-name loads Co-authored-by: elinor-fung <[email protected]> * Update docs/core/dependency-loading/loading-managed.md * Update default-probing.md to clarify precedence of TPA and APP_PATHS Co-authored-by: elinor-fung <[email protected]> * Update docs/core/dependency-loading/loading-managed.md Co-authored-by: Andy (Steve) De George <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: elinor-fung <[email protected]> Co-authored-by: Elinor Fung <[email protected]> Co-authored-by: Andy (Steve) De George <[email protected]>
* Clarify dotnet run behavior with project files * Improve wording
….NET 10 (#51027) * Initial plan * Update Visual Studio tutorials from VS 2022 to VS 2026 and .NET 8 to .NET 10 Co-authored-by: meaghanlewis <[email protected]> * Update Create a .NET class library using Visual Studio * Update Create a .NET console application using Visual Studio * Update Debug a .NET console application using Visual Studio * Update Publish a .NET console application using Visual Studio * Update Test a .NET class library using Visual Studio * remove old testing project * update code snippets for VB * Revert "update code snippets for VB" This reverts commit ce65dd1. * update framework version from 8 to 10 * remove redundant test folder * Fix snippet path * rephrase sentence * Clarify instructions for entering conditional expression in debugging tutorial --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: meaghanlewis <[email protected]> Co-authored-by: Meaghan Osagie <[email protected]>
* Add note about fake/stub/mock terminology Adds a short note explaining that the terms fake, stub, and mock are used inconsistently across testing literature and that this section follows a common .NET usage. * Fix style issues in testing terminology note * Fix wording and voice in terminology note * Update docs/core/testing/unit-testing-best-practices.md --------- Co-authored-by: Meaghan Osagie (Lewis) <[email protected]>
Please don't squash-merge this PR.
Internal previews
Toggle expand/collapse
Note
This table shows preview links for the 30 files with the most changes. For preview links for other files in this PR, select OpenPublishing.Build Details within checks.