Skip to content

Merge main into live#54671

Merged
adegeo merged 26 commits into
livefrom
main
Jul 8, 2026
Merged

Merge main into live#54671
adegeo merged 26 commits into
livefrom
main

Conversation

@dotnet-policy-service

@dotnet-policy-service dotnet-policy-service Bot commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Please don't squash-merge this PR.


Internal previews

Toggle expand/collapse
📄 File 🔗 Preview link
docs/core/porting/github-copilot-app-modernization/faq.yml GitHub Copilot modernization FAQ
docs/core/porting/github-copilot-app-modernization/how-to-custom-upgrade-instructions.md Apply custom upgrade instructions for .NET upgrades
docs/core/porting/github-copilot-app-modernization/install.md docs/core/porting/github-copilot-app-modernization/install
docs/core/porting/github-copilot-app-modernization/overview.md What is GitHub Copilot modernization?
docs/core/porting/github-copilot-app-modernization/scenarios-and-skills.md GitHub Copilot modernization scenarios and skills
docs/core/porting/github-copilot-app-modernization/troubleshooting.md Troubleshoot GitHub Copilot modernization
docs/core/porting/github-copilot-app-modernization/working-with-agent.md docs/core/porting/github-copilot-app-modernization/working-with-agent
docs/core/testing/microsoft-testing-platform-architecture-extensions.md Build extensions for Microsoft.Testing.Platform (MTP)
docs/core/testing/microsoft-testing-platform-cli-options.md Microsoft.Testing.Platform (MTP) CLI options reference
docs/core/testing/microsoft-testing-platform-config.md Microsoft.Testing.Platform (MTP) configuration settings
docs/core/testing/microsoft-testing-platform-features.md docs/core/testing/microsoft-testing-platform-features
docs/core/testing/microsoft-testing-platform-open-telemetry.md OpenTelemetry
docs/core/testing/microsoft-testing-platform-run-and-debug.md Run and debug tests
docs/core/testing/microsoft-testing-platform-terminal-output.md Microsoft.Testing.Platform (MTP) terminal output
docs/core/testing/microsoft-testing-platform-test-reports.md Test reports
docs/core/testing/mstest-analyzers/overview.md docs/core/testing/mstest-analyzers/overview
docs/core/testing/mstest-analyzers/suppression-rules.md MSTest suppression rules
docs/core/testing/mstest-analyzers/usage-rules.md MSTest Usage rules (code analysis)
docs/core/testing/unit-testing-mstest-configure.md Configure MSTest
docs/core/testing/unit-testing-mstest-writing-tests-assertions.md MSTest assertions
docs/core/testing/unit-testing-mstest-writing-tests-controlling-execution.md Test execution and control in MSTest
docs/core/testing/unit-testing-mstest-writing-tests-data-driven.md docs/core/testing/unit-testing-mstest-writing-tests-data-driven
docs/core/testing/unit-testing-mstest-writing-tests-lifecycle.md MSTest lifecycle
docs/core/testing/unit-testing-mstest-writing-tests-organizing.md Run only integration tests
docs/core/testing/unit-testing-mstest-writing-tests-testcontext.md MSTest TestContext
docs/core/tools/dotnet-environment-variables.md .NET environment variables
docs/navigate/devops-testing/toc.yml docs/navigate/devops-testing/toc
docs/navigate/tools-diagnostics/toc.yml docs/navigate/tools-diagnostics/toc
docs/standard/base-types/best-practices-regex.md Best practices for regular expressions in .NET
docs/standard/native-interop/customize-struct-marshalling.md Customizing structure marshalling - .NET

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.

baronfel and others added 9 commits July 7, 2026 09:43
* Document DOTNET_CLI_ENABLEAOT environment variable

Adds the DOTNET_CLI_ENABLEAOT variable (NativeAOT CLI command-handling fast path, enabled by default) to the .NET SDK and CLI environment variables reference.

Fixes #54648

* Note macOS exclusion for DOTNET_CLI_ENABLEAOT

The fast path is disabled by default on macOS pending dotnet/command-line-api#2812.

* Update DOTNET_CLI_ENABLEAOT: default-on Windows only (macOS + Linux blocked by command-line-api#2812)

* DOTNET_CLI_ENABLEAOT: rework flow and move default-platform caveat into a Note

* DOTNET_CLI_ENABLEAOT: note that Windows default becomes true in .NET 11 Preview 7
* Document MSTest and MTP feature versions

Analyze MSTest (3.6-4.2) and Microsoft.Testing.Platform (1.5-2.3) features
against the microsoft/testfx changelogs and add missing "introduced in"
version annotations, document previously undocumented features, and correct
stale content (TRX default filename, removed ITestApplicationLifecycleCallbacks,
testconfig.json CLI-option support).

All new xref IDs verified against the .NET API catalog; markdownlint clean.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Factor out report file-name placeholders and document defaults

Add a shared 'Report file names' section listing the placeholder set and link
each --report-*-filename option to it. State the default file name for TRX, HTML,
JUnit, and CTRF reports (verified from testfx source), and note the HTML/JUnit/CTRF
extensions are experimental.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Document MSTEST0047 suppressor and new Azure DevOps report options

Add the missing MSTEST0047 (suppress IDE0060 for the TestContext parameter of
fixture methods, introduced in MSTest 3.10) analyzer page, and reference it from
the analyzers overview, suppression rules list, and TOC. Document the new
--report-azdo-summary and --report-azdo-stackframe-filter options (MTP 2.3.0).

Verified against microsoft/testfx source. Markdownlint clean.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Address review feedback: anchor links and field-source wording

Fix three ITestHostProcessLifetimeHandler sequence links that pointed to the
wrong section anchor, and clarify that field data sources require MSTest 3.11.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Genevieve Warren <24882762+gewarren@users.noreply.github.com>

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Genevieve Warren <24882762+gewarren@users.noreply.github.com>
* First draft of these tutorials

* Use a better generic sample

* Review articles.

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Update sample and code.

* Fix preview build errors

You might need to add a polyfill

* Fix snippet name

* Apply suggestions from code review

Co-authored-by: Genevieve Warren <24882762+gewarren@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Andy (Steve) De George <67293991+adegeo@users.noreply.github.com>

* Respond to feedback.

Updates based on remaining feedback.

---------

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Genevieve Warren <24882762+gewarren@users.noreply.github.com>
Co-authored-by: Andy (Steve) De George <67293991+adegeo@users.noreply.github.com>
A few PRs back, it got unsorted when a few PRs with redirections were reviewed and merged.

Since then, any additional redirection and sort shows a huge number of changes.

This PR puts sorts the redirection so future PRs with redirections are cleaner.
…buffers (#50898)

* Initial plan

* Add InlineArrayAttribute reference to StructLayoutAttribute docs

Co-authored-by: agocke <515774+agocke@users.noreply.github.com>

* Change examples from class to struct for consistency

Co-authored-by: agocke <515774+agocke@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Aaron R Robinson <arobins@microsoft.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Apply suggestion from @AaronRobinsonMSFT

* Clarify comment about buffer allocation in UseBuffer

Updated comment to clarify memory allocation issue.

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: agocke <515774+agocke@users.noreply.github.com>
Co-authored-by: Aaron R Robinson <arobins@microsoft.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Updated examples to use classes instead of structs for buffer management and added InlineArrayAttribute for safe buffer usage.
@github-advanced-security

Copy link
Copy Markdown

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

@dotnetrepoman dotnetrepoman Bot added this to the July 2026 milestone Jul 8, 2026
dependabot Bot and others added 17 commits July 8, 2026 10:08
Bumps Refit.HttpClientFactory from 12.0.0 to 13.0.0

---
updated-dependencies:
- dependency-name: Refit.HttpClientFactory
  dependency-version: 13.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  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.AI from 10.6.0 to 10.7.0
Bumps Microsoft.Extensions.AI.OpenAI from 10.6.0 to 10.7.0

---
updated-dependencies:
- dependency-name: Microsoft.Extensions.AI
  dependency-version: 10.7.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dotnet
- dependency-name: Microsoft.Extensions.AI.OpenAI
  dependency-version: 10.7.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 Azure.Storage.Blobs from 12.29.0 to 12.29.1

---
updated-dependencies:
- dependency-name: Azure.Storage.Blobs
  dependency-version: 12.29.1
  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.Core from 1.59.0 to 1.60.0
Bumps Microsoft.NET.Test.Sdk from 18.6.0 to 18.7.0

---
updated-dependencies:
- dependency-name: Azure.Core
  dependency-version: 1.60.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dotnet
- dependency-name: Microsoft.NET.Test.Sdk
  dependency-version: 18.7.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 Spectre.Console from 0.57.0 to 0.57.1

---
updated-dependencies:
- dependency-name: Spectre.Console
  dependency-version: 0.57.1
  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.NET.Test.Sdk from 18.6.0 to 18.7.0

---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
  dependency-version: 18.7.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.AI.OpenAI from 10.6.0 to 10.7.0
Bumps Microsoft.Extensions.Configuration from 10.0.8 to 10.0.9
Bumps Microsoft.Extensions.Configuration.UserSecrets from 10.0.8 to 10.0.9

---
updated-dependencies:
- dependency-name: Microsoft.Extensions.AI.OpenAI
  dependency-version: 10.7.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dotnet
- dependency-name: Microsoft.Extensions.Configuration
  dependency-version: 10.0.9
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dotnet
- dependency-name: Microsoft.Extensions.Configuration.UserSecrets
  dependency-version: 10.0.9
  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.Agents.AI.OpenAI from 1.11.0 to 1.12.0

---
updated-dependencies:
- dependency-name: Microsoft.Agents.AI.OpenAI
  dependency-version: 1.12.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.Configuration.Binder from 10.0.8 to 10.0.9
Bumps Microsoft.Extensions.Hosting from 10.0.8 to 10.0.9

---
updated-dependencies:
- dependency-name: Microsoft.Extensions.Configuration.Binder
  dependency-version: 10.0.9
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dotnet
- dependency-name: Microsoft.Extensions.Hosting
  dependency-version: 10.0.9
  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 [actions/setup-dotnet](https://github.com/actions/setup-dotnet) from 5.3.0 to 5.4.0.
- [Release notes](https://github.com/actions/setup-dotnet/releases)
- [Commits](actions/setup-dotnet@9a946fd...26b0ec1)

---
updated-dependencies:
- dependency-name: actions/setup-dotnet
  dependency-version: 5.4.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>
* Update GHCP AppMod docs: scenarios, platforms, and titles

- Fix VS component name to 'GitHub Copilot app modernization'
- Fix VS Code extension search name to 'GitHub Copilot modernization for .NET'
- Add new scenarios: Aspire integration, Aspire version upgrade, WebForms-to-Blazor
- Add .NET Framework 4.8.1 as supported upgrade target
- Add Azure SDK migration skill and LINQ to SQL to EF Core skill
- Remove execution-log.md references (file removed in agent v1.0.1087)
- Update ms.date on all modified articles

Fixes #54663

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

* Extract upgrade paths table into include file

Move the repeated supported upgrade paths table into
includes/supported-upgrade-paths.md and reference it from
overview.md, scenarios-and-skills.md, and faq.yml.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Change pivot

* Fix link

* Update install instructions

* Apply suggestions from code review

Co-authored-by: Genevieve Warren <24882762+gewarren@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Wade Pickett <wpickett@microsoft.com>

---------

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Genevieve Warren <24882762+gewarren@users.noreply.github.com>
Co-authored-by: Wade Pickett <wpickett@microsoft.com>
…54668)

* Initial plan

* Document IDE0043, IDE0390/IDE0391, and IDE1007 style rules

* Address code review feedback on new IDE rule documentation

* Improve prose structure in IDE0390/IDE0391 documentation per style guidelines

* Update docs/fundamentals/code-analysis/style-rules/ide0390-ide0391.md

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Add new IDE rules to language-rules

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Genevieve Warren <24882762+gewarren@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
…perties (#54480)

* Document MSTest 4.3 random test order settings and parallelization MSBuild properties

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Address review: imperative phrasing, code-format Directory.Build.props, real attribute syntax in example

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…54187)

* Document MSTEST0047 and add docs for MSTest 4.3 analyzers (MSTEST0064-0068)

Adds the missing reference pages for the analyzers introduced in MSTest 4.2 and 4.3:

- MSTEST0047: Suppress IDE0060 for TestContext parameter on AssemblyInitialize/ClassInitialize/GlobalTestInitialize/GlobalTestCleanup (shipped in 4.2)

- MSTEST0064: Prefer async assertion methods (ships in 4.3)

- MSTEST0065: Avoid Assert.AreEqual on collection types (ships in 4.3)

- MSTEST0066: [Ignore] should specify a justification (ships in 4.3)

- MSTEST0067: Avoid Thread.Sleep/Task.Wait/Task<T>.Result in test code, disabled by default (ships in 4.3)

- MSTEST0068: Use Assert instead of CollectionAssert (ships in 4.3, has code fix)

Also updates the overview, usage-rules, design-rules, suppression-rules summary tables, and the docs/navigate/devops-testing toc.yml so the new pages are referenced everywhere existing rules are.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Make DoAsync example actually asynchronous

Address review feedback: DoAsync threw synchronously, which didn't model the asynchronous-exception scenario the MSTEST0064 rule targets. Use Task.Yield + await to make the exception come from asynchronous code.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Replace unresolved xrefs to new MSTest 4.3 Assert APIs with inline code

Assert.AreSequenceEqual and Assert.AreEquivalent are introduced in MSTest 4.3 and aren't yet published to the API browser, so the xref links don't resolve. Use inline code instead, matching the pattern used in mstest0026.md.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Genevieve Warren <24882762+gewarren@users.noreply.github.com>

* Compact MSTEST0067 property table

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Genevieve Warren <24882762+gewarren@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
…report (#54633)

* Reorganize MTP features by functionality; document GitHub Actions report

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

* Address review: Oxford comma, Markdown casing, clarify slow-test-threshold

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* adjust instructions

* Fixes
@adegeo adegeo merged commit 7387fc8 into live Jul 8, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants