Build Information
Build: https://github.com/microsoft/aspire/actions/runs/30654518872
Build error leg or test failing: Tests / Templates-MSTest_NewUpAndBuildSupportProjectTemplatesTests / Templates-MSTest_NewUpAndBuildSupportProjectTemplatesTests (macos-latest) / Aspire.Templates.Tests.MSTest_NewUpAndBuildSupportProjectTemplatesTests.CanNewAndBuild(templateName: "aspire-mstest", extraTestCreationArgs: "", sdk: Net8, tfm: Net8, error: null)
Pull request: #18947
Error Message
CSC : error CS1504: Source file '...GlobalUsings.g.cs' could not be opened -- Method not found: 'Boolean Microsoft.CodeAnalysis.EncodingExtensions.TryGetMaxCharCount(System.Text.Encoding, Int64, Int32 ByRef)'. Build FAILED.
at Aspire.Templates.Tests.CommandResult.EnsureExitCode
at Aspire.Templates.Tests.AspireProject.BuildAsync
at Aspire.Templates.Tests.NewUpAndBuildSupportProjectTemplatesBase.CanNewAndBuildActual
Description
Flaky: CanNewAndBuild(aspire-mstest, Net8) fails with Roslyn Method not found TryGetMaxCharCount on macOS
Type: flaky-test
Occurrences
| Date |
Build |
Job |
PR |
| 2026-07-31 |
30654518872 |
Tests / Templates-MSTest_NewUpAndBuildSupportProjectTemplatesTests / Templates-MSTest_NewUpAndBuildSupportProjectTemplatesTests (macos-latest) |
#18947 |
| 2026-09-18 |
35322237059 |
Tests / Package tests - macOS (class, Aspire.Templates.Tests, Templates-NUnit_NewUpAndBuildSupportProjectTemplatesTests... / Templates-NUnit_NewUpAndBuildSupportProjectTemplatesTests (macos-latest) |
#19887 |
Build Information
Build: https://github.com/microsoft/aspire/actions/runs/30654518872
Build error leg or test failing: Tests / Templates-MSTest_NewUpAndBuildSupportProjectTemplatesTests / Templates-MSTest_NewUpAndBuildSupportProjectTemplatesTests (macos-latest) /
Aspire.Templates.Tests.MSTest_NewUpAndBuildSupportProjectTemplatesTests.CanNewAndBuild(templateName: "aspire-mstest", extraTestCreationArgs: "", sdk: Net8, tfm: Net8, error: null)Pull request: #18947
Error Message
Description
Flaky: CanNewAndBuild(aspire-mstest, Net8) fails with Roslyn Method not found TryGetMaxCharCount on macOS
Type: flaky-test
Occurrences