Conversation
* Initial plan * Fix duplicate snippet ID: rename SampleCollection snippet from 52 to 59 Co-authored-by: BillWagner <493969+BillWagner@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: BillWagner <493969+BillWagner@users.noreply.github.com>
* 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 <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
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) <mosagie@microsoft.com> * Update docs/core/tools/dotnet-test.md Co-authored-by: Meaghan Osagie (Lewis) <mosagie@microsoft.com> --------- Co-authored-by: Meaghan Osagie (Lewis) <mosagie@microsoft.com>
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] <support@github.com> 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] <support@github.com> 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] <support@github.com> 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] <support@github.com> 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] <support@github.com> 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] <support@github.com> 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] <support@github.com> 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] <support@github.com> 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] <support@github.com> 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] <support@github.com> 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] <support@github.com> 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] <support@github.com> 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] <support@github.com> 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] <support@github.com> 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] <support@github.com> 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] <support@github.com> 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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* 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 <24882762+gewarren@users.noreply.github.com> --------- Co-authored-by: Genevieve Warren <24882762+gewarren@users.noreply.github.com>
…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 <175728472+Copilot@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: Meaghan Osagie (Lewis) <moneikmarie@gmail.com> --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: Meaghan Osagie (Lewis) <moneikmarie@gmail.com>
* Initial plan * Convert get-started tutorial to file-based app approach Co-authored-by: meaghanlewis <10103121+meaghanlewis@users.noreply.github.com> * apply human edits * Apply suggestions from code review Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Fix command to run hello-world.cs in tutorial * move snippets into csharp folder * fix path --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: meaghanlewis <10103121+meaghanlewis@users.noreply.github.com> Co-authored-by: Meaghan Osagie <mosagie@microsoft.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* 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 <47805090+elinor-fung@users.noreply.github.com> * 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 <47805090+elinor-fung@users.noreply.github.com> * Update docs/core/dependency-loading/loading-managed.md Co-authored-by: Andy (Steve) De George <67293991+adegeo@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: elinor-fung <47805090+elinor-fung@users.noreply.github.com> Co-authored-by: Elinor Fung <elfung@microsoft.com> Co-authored-by: Andy (Steve) De George <67293991+adegeo@users.noreply.github.com>
* 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 <10103121+meaghanlewis@users.noreply.github.com> * 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] <198982749+Copilot@users.noreply.github.com> Co-authored-by: meaghanlewis <10103121+meaghanlewis@users.noreply.github.com> Co-authored-by: Meaghan Osagie <mosagie@microsoft.com>
* 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) <moneikmarie@gmail.com>
* Continue adding version include Contributes to #50891 Commit by commit: - C# Guide root. * Add all files in the XMLDoc folder Add the new include file, perform a general edit and freshness pass. * Add include file in the statements folder Add the include file in all files in the Statements folder. Perform a general edit and freshness pass. * build warnings * Update docs/csharp/language-reference/preprocessor-directives.md * Fix future dates --------- Co-authored-by: Meaghan Osagie (Lewis) <moneikmarie@gmail.com>
* Group migrations articles under a Migration category And place it at the end of the sections * Update docs/navigate/devops-testing/toc.yml Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* First few updates * Another est * Update date/time article; move snippets; freshness * Fix copilot catches * Fix periods * Fix DateTime mentions * Trim up list * Fix snippets * Add tryparse mentions * actually fix snippets * Test swapping snippet syntax * Try another way * Another test * Fix snippets
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
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.