Repository navigation
Add opt-in partial (stop-after-pass) project evaluation - #14290
Conversation
There was a problem hiding this comment.
Pull request overview
This PR adds an opt-in “stop-after-pass” evaluation mode so callers can request partial project evaluation (e.g., properties-only) and avoid later-pass costs like item globbing and target registration.
Changes:
- Introduces
ProjectEvaluationStageand threads it throughProjectOptions,Project,ProjectInstance, and the evaluator to stop evaluation after a requested pass. - Adds fail-fast exceptions when accessing later-pass state (items/targets/etc.) on partially-evaluated objects, and blocks building from partial
ProjectInstances. - Adds unit tests plus a proposed spec document describing the API and behavior.
Show a summary per file
| File | Description |
|---|---|
| src/Build/Resources/xlf/Strings.zh-Hant.xlf | Adds localized placeholders for new partial-evaluation OM error strings. |
| src/Build/Resources/xlf/Strings.zh-Hans.xlf | Adds localized placeholders for new partial-evaluation OM error strings. |
| src/Build/Resources/xlf/Strings.tr.xlf | Adds localized placeholders for new partial-evaluation OM error strings. |
| src/Build/Resources/xlf/Strings.ru.xlf | Adds localized placeholders for new partial-evaluation OM error strings. |
| src/Build/Resources/xlf/Strings.pt-BR.xlf | Adds localized placeholders for new partial-evaluation OM error strings. |
| src/Build/Resources/xlf/Strings.pl.xlf | Adds localized placeholders for new partial-evaluation OM error strings. |
| src/Build/Resources/xlf/Strings.ko.xlf | Adds localized placeholders for new partial-evaluation OM error strings. |
| src/Build/Resources/xlf/Strings.ja.xlf | Adds localized placeholders for new partial-evaluation OM error strings. |
| src/Build/Resources/xlf/Strings.it.xlf | Adds localized placeholders for new partial-evaluation OM error strings. |
| src/Build/Resources/xlf/Strings.fr.xlf | Adds localized placeholders for new partial-evaluation OM error strings. |
| src/Build/Resources/xlf/Strings.es.xlf | Adds localized placeholders for new partial-evaluation OM error strings. |
| src/Build/Resources/xlf/Strings.de.xlf | Adds localized placeholders for new partial-evaluation OM error strings. |
| src/Build/Resources/xlf/Strings.cs.xlf | Adds localized placeholders for new partial-evaluation OM error strings. |
| src/Build/Resources/Strings.resx | Adds new OM resource strings for partial-evaluation member/build guards. |
| src/Build/Microsoft.Build.csproj | Includes new ProjectEvaluationStage.cs in the build. |
| src/Build/Instance/ProjectInstance.cs | Threads stage through creation and adds stage-based member guards (plus exposes EvaluationStage). |
| src/Build/Evaluation/Evaluator.cs | Implements early returns after requested evaluation stage. |
| src/Build/Definition/ProjectOptions.cs | Adds ProjectOptions.EvaluationStage knob (default Full). |
| src/Build/Definition/ProjectEvaluationStage.cs | Defines the public ProjectEvaluationStage enum. |
| src/Build/Definition/ProjectCollection.cs | Updates cache lookup to consider evaluation stage and upgrade partial cached projects. |
| src/Build/Definition/Project.cs | Threads stage through initialization; adds stage-based member guards and exposes EvaluationStage. |
| src/Build/BackEnd/BuildManager/BuildRequestData.cs | Blocks building from a partially-evaluated ProjectInstance. |
| src/Build.UnitTests/Evaluation/PartialEvaluation_Tests.cs | Adds unit tests covering partial evaluation behavior. |
| documentation/specs/proposed/partial-evaluation.md | Adds proposed spec describing the API, behavior, and caching expectations. |
Copilot's findings
- Files reviewed: 24/24 changed files
- Comments generated: 5
There was a problem hiding this comment.
Caution
agentic threat detected
Threat detection flagged this output in warn mode. Manual review is REQUIRED before any follow-up automation.
Expert Review — PR #14290: Add opt-in partial (stop-after-pass) project evaluation
The overall design is sound — the ProjectEvaluationStage knob, the early-return placement inside profiler scopes, the FinishEvaluation() call on all exit paths, the cache-upgrade-in-place semantic, and the fail-fast guards are all well-conceived. Five issues need resolution before merge; two are blocking.
Summary Table
| # | Dimension | Verdict | Severity | Location |
|---|---|---|---|---|
| 1 | Concurrency & Thread Safety | ❌ ISSUE | BLOCKING | ProjectCollection.cs:2027-2030 |
| 2 | Evaluation Model Integrity | ❌ ISSUE | MODERATE | Evaluator.cs:779-816 |
| 3 | API Surface — Enum Gap | ❌ ISSUE | MODERATE | ProjectEvaluationStage.cs:56 |
| 4 | Error Message Quality | ❌ ISSUE | MODERATE | Strings.resx:1575 |
| 5 | Test Coverage / Quality | ❌ ISSUE | MAJOR | PartialEvaluation_Tests.cs:15,53 |
| 6 | Backwards Compatibility | ✅ LGTM | — | — |
| 7–24 | All other dimensions | ✅ LGTM | — | — |
Finding 1 — BLOCKING: Race condition in GetMatchingProjectIfAny concurrent upgrade
src/Build/Definition/ProjectCollection.cs, lines 2027–2030.
Two concurrent ProjectCollection.LoadProject() callers find the same partial project under _loadedProjects lock, both release the lock, both read EvaluationStage < Full == true, and both call match.ReevaluateIfNecessary(). Because ProjectImpl has no per-project lock, both threads write _evaluationStage = Full / _explicitlyMarkedDirty = true unsynchronized, then both enter Reevaluate() → Evaluator.Evaluate(_data, ...) on the same _data instance concurrently. Two threads calling _data.InitializeForEvaluation() simultaneously and then appending items/properties to the same mutable collections produces corrupt evaluation state (duplicate entries, torn collections). See inline comment for the exact interleaving and the double-checked locking fix.
Finding 2 — MODERATE: EvaluatePass4Stop is orphaned when stopping at UsingTasks
src/Build/Evaluation/Evaluator.cs, line 816.
EvaluatePass4Start fires before pass-4 work (line 779); the early-return for UsingTasks stage exits at line 795; EvaluatePass4Stop is placed at line 816 — after that return. Every other pass emits its Stop before its early-return check; Pass 4 alone does not. ETW-based profilers (PerfView, dotnet-trace) see an orphaned Pass4Start and report corrupted durations.
Fix: Move MSBuildEventSource.Log.EvaluatePass4Stop(projectFile) to immediately after line 790 (closing brace of the using TrackPass block), before the guard at 792.
Finding 3 — MODERATE: Enum gap silently breaks Targets access for values 5–2147483646
src/Build/Definition/ProjectEvaluationStage.cs, line 56.
(ProjectEvaluationStage)5 passes through ProjectOptions without validation. In the evaluator none of the four <= early-return guards fire (5 > 4), so all passes including target registration complete. But _evaluationStage is stored as 5, and the guard VerifyThrowEvaluationStageReached(Full, "Targets") checks 5 < int.MaxValue == true — it throws even though targets are fully populated. Add an Enum.IsDefined validation in the EvaluationStage setter, or map any value > UsingTasks and < Full to Full.
Finding 4 — MODERATE: Error message omits the minimum required stage
src/Build/Resources/Strings.resx, line 1575.
OM_PartialEvaluationMemberUnavailable tells the user their current stage but not which stage they need. "Re-evaluate with a later evaluation stage" is under-specified — Items or UsingTasks still won't help if the member requires Full. The requiredStage parameter is already available inside VerifyThrowEvaluationStageReached; pass it as {2} and add "at least the '{2}' stage" to the message.
Finding 5 — MAJOR: Test-quality issues in PartialEvaluation_Tests.cs
src/Build.UnitTests/Evaluation/PartialEvaluation_Tests.cs.
ProjectCollectionleak:OptionsFor()allocates a newProjectCollectionper call (7+ call sites) and none are disposed. Useusing ProjectCollection collection = new ProjectCollection()locally in each test.- Manual
try/finallyfor temp files: three tests usePath.GetTempFileName()+ manual cleanup instead ofTestEnvironment.CreateFile(). Useusing TestEnvironment env = TestEnvironment.Create(_output)andenv.CreateFile(...). - Missing
ITestOutputHelper: the class has no constructor injection; diagnostic output is lost in CI. Addprivate readonly ITestOutputHelper _output; public PartialEvaluation_Tests(ITestOutputHelper output) => _output = output;. #nullable disable: new files must not suppress nullable analysis per repo conventions. Remove and annotate as needed.
Positive notes
- The
Full = int.MaxValuetrick elegantly ensures comparisons work without needing a dedicated "max" sentinel — clever. FinishEvaluation()is called on every early-return path — correct.- All
BuildRequestDataconstructor overloads chain to the single guarded overload — no bypasses. - The cache invariant (one slot per key, upgraded in place rather than duplicated) is the right design.
CreateProjectInstance()upgrading a partial project to Full before snapshotting is the right behaviour.- Spec document is clear and thorough.
Generated by Expert Code Review (on open) for #14290 · 1.9K AIC · ⊞ 30.4K
Comments that could not be inline-anchored
src/Build/Definition/ProjectCollection.cs:2030
[BLOCKING] Race condition — concurrent upgrade of the same partial project
Two threads can both call ProjectCollection.LoadProject(path) while the cache holds a partial project. Both capture match inside the lock, then both release the lock, both observe match.EvaluationStage < requestedStage == true, and both call match.ReevaluateIfNecessary() concurrently.
ReevaluateIfNecessary (public override) sets _evaluationStage = Full and _explicitlyMarkedDirty = true without any per…
src/Build.UnitTests/Evaluation/PartialEvaluation_Tests.cs:15
[MODERATE] Three test-quality issues in this new file
1. #nullable disable in a new file — per repo conventions, new files must not suppress nullable reference-type analysis. Remove #nullable disable and add ? annotations where a reference type is intentionally nullable.
2. Manual try/finally for temp files — the three tests that write a real file (CacheUpgrade_PartialThenFull_ProjectCollection, CacheHit_LowerStageRequest_ReturnsCachedProject, `ReevaluateIfNecessary_On…
src/Build.UnitTests/Evaluation/PartialEvaluation_Tests.cs:53
[MAJOR] ProjectCollection is leaked in every test that calls OptionsFor()
OptionsFor() constructs a new ProjectCollection on every call and nothing ever disposes it. ProjectCollection holds file-system watchers and event-handler registrations. This helper is called from at least 7 test sites in this file.
Fix: Remove the static OptionsFor() helper. Each test that needs a ProjectCollection should declare and dispose it explicitly:
using ProjectCollection collec…
</details>
<details><summary>src/Build/Resources/Strings.resx:1575</summary>
**[MODERATE] Error message doesn't tell the user which stage they actually need**
The message tells users *what stage evaluation stopped at* (`{1}`), but not *what stage they need* to access the requested member. For a user who reads `Targets` after stopping at `Properties`, the message says "Re-evaluate the project with a later evaluation stage" — but `Items` and `UsingTasks` still won't work; only `Full` does.
`requiredStage` is already available as the first parameter of `VerifyThrowEvalua…
</details>
<details><summary>src/Build/Evaluation/Evaluator.cs:816</summary>
**[MODERATE] `EvaluatePass4Stop` is never emitted when stopping at `UsingTasks`**
`EvaluatePass4Start` fires at line 779, the pass-4 work completes by line 790, but `EvaluatePass4Stop` is placed here — **after** the early-return guard at lines 792–796. Any caller with `EvaluationStage = ProjectEvaluationStage.UsingTasks` exits at line 795 and `EvaluatePass4Stop` is never called.
This creates an unpaired ETW event. PerfView, `dotnet-trace` (with MSBuild provider), and any custom profiler that …
</details>
<details><summary>src/Build/Definition/ProjectEvaluationStage.cs:56</summary>
**[MODERATE] Enum gap between `UsingTasks = 4` and `Full = int.MaxValue` causes false-positive guards**
The gap of 2,147,483,642 unnamed values (5 through `int.MaxValue − 1`) is silently accepted by `ProjectOptions.EvaluationStage`. When any such value is stored:
1. **Evaluator**: none of the `<= Properties/ItemDefinitions/Items/UsingTasks` checks fire (e.g. `5 > 4`), so **all passes including target registration run** — the project is fully evaluated.
2. **Guards**: `VerifyThrowEvaluationSta…
</details>Implements #14288. Adds ProjectEvaluationStage and ProjectOptions.EvaluationStage so callers that only need early-pass data (e.g. a single property) can stop evaluation after any pass instead of running a full evaluation. - Evaluator returns early after the requested pass (Properties, ItemDefinitions, Items, UsingTasks) while still calling FinishEvaluation. - Stage is threaded through Project/ProjectImpl and ProjectInstance construction and the From* factory methods; both expose EvaluationStage. - Reading not-yet-computed state (Items/GetItems/Targets/DefaultTargets/ AllEvaluatedItems/ItemsIgnoringCondition) throws InvalidOperationException. - Cache is stage-aware: ProjectCollection reuses a cached project only if cachedStage >= requestedStage and upgrades a partial one in place; ReevaluateIfNecessary()/CreateProjectInstance() upgrade to Full; building a partial ProjectInstance throws. - Default behavior (Full) is unchanged; feature is additive/opt-in. - Adds unit tests and a spec doc. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Emit EvaluatePass4Stop before the UsingTasks-stage early return so ETW/ profiling start/stop pairs stay balanced; remove the old misplaced duplicate. - Add a fail-fast VerifyThrowEvaluationStageReached guard to the ItemDefinitions getter on both Project and ProjectInstance so it throws when evaluation stopped at Properties, matching the ProjectEvaluationStage contract. - Extend tests: assert ItemDefinitions is unavailable at Properties stage on both types, and add a positive ItemDefinitions-stage test. - Update the spec to list ItemDefinitions among the guarded members. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…t quality
Finding 1 (BLOCKING) - concurrent upgrade race: move the partial->Full
upgrade of a cached project out of the lock-free GetMatchingProjectIfAny
lookup and into LoadProject, where it runs under the existing per-path
load lock so concurrent loads of the same path cannot re-evaluate the
same project instance simultaneously. GetMatchingProjectIfAny is now a
pure lookup again.
Finding 3 - enum gap: validate ProjectOptions.EvaluationStage with
Enum.IsDefined so undefined values (the 5..int.MaxValue-1 gap, 0,
negatives) throw ArgumentOutOfRangeException instead of silently running
every pass while the guards still report state as unavailable.
Finding 4 - error message: OM_PartialEvaluationMemberUnavailable now also
names the minimum required stage ({2}); both guard helpers pass it. xlf
regenerated.
Finding 5 - test quality: inject ITestOutputHelper, use TestEnvironment
(shared/disposed ProjectCollection + CreateFile instead of manual temp
file try/finally), remove #nullable disable. Added an EvaluationStage
validation theory.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
a1a7e62 to
c830c60
Compare
There was a problem hiding this comment.
Straightforward implementation and the use case/benefit is clear to me.
Main question I have is one of design - today the 'state' of the Project/Instance is held and used to validate property access, which adds a small-but-nonzero amount of overhead to each access. A Type-based modeling of the evaluation state would allow disallowed members to be hardcoded to throw, which could sidestep this problem. I'm thinking of like private inner classes that all implement the same Project/Instance signature but can be swapped out so that the lifetimes of the various properties are correct-by-construction:
private class PropertiesLifetimeProject(...) {
public override IDictionary<string, ProjectItemDefinition> ItemDefinitions => ErrorUtilities.ThrowInvalidOperation("OM_PartialEvaluationMemberUnavailable", memberName, _evaluationStage, ProjectEvaluationStage.ItemDefinitions);
}
private class ItemDefinitionsLifetimeProject(...) {
public override IDictionary<string, ProjectItemDefinition> ItemDefinitions => _data.ItemDefinitions;
public override ICollection<ProjectItem> Items => ErrorUtilities.ThrowInvalidOperation("OM_PartialEvaluationMemberUnavailable", memberName, _evaluationStage, ProjectEvaluationStage.Items);
}and so on.
|
That totally makes sense and I considered that as well. Let me file a follow-up issue for that (as a perf optimization) and merge this in meanwhile. |
…4296) ### Context Builds on the opt-in partial (stop-after-pass) evaluation added in #14290. When `msbuild -getProperty:Foo` / `-getItem:Bar` is invoked **without a target**, the CLI currently runs a full project evaluation even though the requested data is produced by an early evaluation pass. This PR stops evaluation as soon as that data is available: - `-getProperty` (only) → stop after the **Properties** pass - `-getItem` (or both) → stop after the **Items** pass This skips the later using-tasks and target-registration passes. ### Change wave Gated behind change wave **18.10** (already present in `main`). Setting `MSBUILDDISABLEFEATURESFROMVERSION=18.10` restores the historical full-evaluation behavior. ### Measured impact Measured on a simple solution — a `dotnet new console` referencing a `dotnet new classlib` (with real code + a `Newtonsoft.Json` package reference), which registers **547 targets** on full evaluation. Numbers are the median of interleaved evaluations via the object model (Debug engine, so treat the *ratios* as the signal, not absolute values). Wall-clock reproduced across multiple runs and both projects; allocations (`GC.GetTotalAllocatedBytes(precise)`) were essentially deterministic across runs. | Path (stage) | Wall-clock vs full | Allocations vs full | |---|---|---| | `-getProperty` (stop after Properties) | **~15% faster** | **~22% less** | | `-getItem` (stop after Items) | **~7% faster** | **~10% less** | The `-getProperty` win skips the item-definition, item, using-task and target-registration passes. The `-getItem` win still skips the using-task and target-registration passes — a real, reproducible saving. Allocation savings exceed the wall-clock savings because the skipped passes (target registration in particular) are allocation-heavy. The remaining fixed cost that neither path avoids is shared import/property processing that any evaluation must pay. ### Tests - Change-wave opt-out test in `XMake_Tests.cs`: a project whose only error is in the targets pass succeeds for `-getProperty` (wave on) and fails when the wave is disabled (full evaluation). - A `PartialEvaluationBenchmark` (BenchmarkDotNet) comparing full vs partial evaluation. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…14349) Reverts the change from #14274, which injected `ExcludeRestorePackageImports=true` into the implicit restore global properties (behind change wave 18.10) so that NuGet's restore re-invocation would reuse MSBuild's initial evaluation instead of forcing a second one. ### Why revert The change breaks restore for projects that have a **nonexistent `<ProjectReference>`**. Once the top-level restore evaluation shares the same global property set that NuGet's inner `_GenerateRestoreProjectPathWalk` invocation uses, that walk runs in the *same* project instance and its unfiltered `_RestoreProjectPathItems` (which contains the raw `ProjectReference` paths, including missing ones) leaks into `_GenerateRestoreGraph`'s `_GenerateRestoreGraphProjectEntry` MSBuild call. That call does not set `SkipNonexistentProjects`, so it fails with `MSB3202` instead of skipping the missing project. ``` NuGet.targets(571,5): error MSB3202: The project file "...\TestLibrary\TestLibrary.csproj" was not found. ``` This regressed the dotnet/sdk test `ItCanTestAMultiTFMProjectWithImplicitRestore` — see dotnet/sdk#55245 for the full root-cause analysis and repro. ### Details - Only the implicit-restore (`-restore` switch / `ExecuteRestore`) path was affected; explicit `dotnet restore` / `-t:Restore` never added the property. - Reproduced with `dotnet build -t:Restore /p:ExcludeRestorePackageImports=true` on a multi-TFM project with a dangling `ProjectReference`: without the property restore succeeds (missing project skipped gracefully); with it, `MSB3202`. ### What this PR does - Removes the `ExcludeRestorePackageImports=true` injection in `XMake.ExecuteRestore`, replacing it with a comment documenting **why** the property must not be set there. - Removes the `ExcludeRestorePackageImports` / `ExcludeRestorePackageImportsValue` constants and the two related unit tests. - Removes the 18.10 ChangeWaves.md bullet for this feature. - **Retains** change wave `18.10` itself — it is still used by the `-getProperty`/`-getItem` evaluation change (#14290). --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Updated
[coverlet.collector](https://github.com/coverlet-coverage/coverlet) from
10.0.1 to 10.1.0.
<details>
<summary>Release notes</summary>
_Sourced from [coverlet.collector's
releases](https://github.com/coverlet-coverage/coverlet/releases)._
## 10.1.0
### Improvements
- Publish Microsoft.Testing.Platform coverage messages from coverlet.MTP
[#2019](https://github.com/coverlet-coverage/coverlet/pull/2019)
- Implement dynamic exclusion filters for assemblies (Coverlet.MTP)
[#1946](https://github.com/coverlet-coverage/coverlet/pull/1946)
- Replace legacy .sln files with modern .slnx format
[#1966](https://github.com/coverlet-coverage/coverlet/pull/1966)
- coverlet.console: add trace diagnostics and actionable warnings for
instrumentation/hit/empty-result failures
[#2005](https://github.com/coverlet-coverage/coverlet/pull/2005)
- Relax auto-property skip logic and improve coverage for records
[#1941](https://github.com/coverlet-coverage/coverlet/pull/1941)
### Fixed
- Fix coverlet.MTP does not collect coverage on the .NET Framework
portion of a large project
[#1980](https://github.com/coverlet-coverage/coverlet/pull/1980)
[#1967](https://github.com/coverlet-coverage/coverlet/pull/1967)
- Fix Regression in branch coverage for lambda expressions
[#1938](https://github.com/coverlet-coverage/coverlet/pull/1938)
- Fix When using "is" with "or" in pattern matching, branch coverage is
lower than normal
[#1979](https://github.com/coverlet-coverage/coverlet/pull/1979)
- Fix silent zero coverage on .NET Framework since 8.0.0
[#1985](https://github.com/coverlet-coverage/coverlet/pull/1985) by
@tobiwae
- Fix Race condition between ProcessExit hit-file write and out-of-proc
coverage read causes EndOfStreamException
[#1987](https://github.com/coverlet-coverage/coverlet/pull/1987)
[#1988](https://github.com/coverlet-coverage/coverlet/pull/1988) by
@bkoelman
- Fix Regression TypeInitializationException when targeting .NET
Framework - Could not load type
'System.Collections.Concurrent.ConcurrentBag
[#2010](https://github.com/coverlet-coverage/coverlet/pull/2010)
- Fix use --config-file CLI arg in coverlet.MTP
[#2030](https://github.com/coverlet-coverage/coverlet/pull/2030) by
alexthornton1
- Fix silently empty coverage for shared-framework assemblies missing
from compileLibraries
[#2032](https://github.com/coverlet-coverage/coverlet/pull/2032) by
@Eljees
[Diff between 10.0.1 and
10.1.0](https://github.com/coverlet-coverage/coverlet/compare/v10.0.1...v10.1.0)
Commits viewable in [compare
view](https://github.com/coverlet-coverage/coverlet/compare/v10.0.1...v10.1.0).
</details>
Updated [Google.Protobuf](https://github.com/protocolbuffers/protobuf)
from 3.36.1 to 3.36.2.
<details>
<summary>Release notes</summary>
_Sourced from [Google.Protobuf's
releases](https://github.com/protocolbuffers/protobuf/releases)._
No release notes found for this version range.
Commits viewable in [compare
view](https://github.com/protocolbuffers/protobuf/commits).
</details>
Updated [Microsoft.Build.Framework](https://github.com/dotnet/msbuild)
from 18.9.6 to 18.11.0.
<details>
<summary>Release notes</summary>
_Sourced from [Microsoft.Build.Framework's
releases](https://github.com/dotnet/msbuild/releases)._
## 18.11.0
## What's Changed
* Add vs18.10 to merge-flow config; retire vs18.7 by @AlesProkop in
https://github.com/dotnet/msbuild/pull/14563
* Bump main to 18.11.0 after vs18.10 snap by @AlesProkop in
https://github.com/dotnet/msbuild/pull/14564
* Phase out ChangeWaves 17.10, 17.12, 17.14 and 18.3 by @JanProvaznik
in https://github.com/dotnet/msbuild/pull/14551
* [main] Source code updates from dotnet/dotnet by @dotnet-maestro[bot]
in https://github.com/dotnet/msbuild/pull/14572
* Default XML tasks to prohibit DTDs and improve DTD error diagnostics
by @VolPlita in https://github.com/dotnet/msbuild/pull/14285
* Don't log TaskAssemblyLocationMismatch for task-host-routed tasks by
@JanProvaznik in https://github.com/dotnet/msbuild/pull/14550
* Scope MSBuild server and coordinator resource names to the current
user by @JanProvaznik in https://github.com/dotnet/msbuild/pull/14543
* Promote MSBuild server out of Experimental namespace (#12099) by
@JanProvaznik in https://github.com/dotnet/msbuild/pull/13964
* Fix builds by adding missing using by @rainersigwald in
https://github.com/dotnet/msbuild/pull/14587
* Add event-level task telemetry (build/tasks/details) by
@jankratochvilcz in https://github.com/dotnet/msbuild/pull/13609
* Migrate ResolveCodeAnalysisRuleSet to multithreaded execution by
@jankratochvilcz in https://github.com/dotnet/msbuild/pull/13636
* Use <inheritdoc /> for TaskEnvironment in
ResolveCodeAnalysisRuleSet by @jankratochvilcz in
https://github.com/dotnet/msbuild/pull/14589
* Add aliases for configuration and test parameters in build scripts by
@AR-May in https://github.com/dotnet/msbuild/pull/14591
* [main] Update dependencies from dotnet/arcade by @dotnet-maestro[bot]
in https://github.com/dotnet/msbuild/pull/14617
* Emit assemblyName payload for FallbackAssemblyLoad EventSource events
by @AR-May in https://github.com/dotnet/msbuild/pull/14014
* Bump github/gh-aw-actions/setup-cli from 0.83.3 to 0.84.1 by
@dependabot[bot] in https://github.com/dotnet/msbuild/pull/14611
* Bump github/gh-aw-actions/setup from 0.83.3 to 0.84.1 by
@dependabot[bot] in https://github.com/dotnet/msbuild/pull/14610
* Migrate GetAssembliesMetadata to multithreaded execution by
@jankratochvilcz in https://github.com/dotnet/msbuild/pull/13637
* [main] Update dependencies from dotnet/roslyn by @dotnet-maestro[bot]
in https://github.com/dotnet/msbuild/pull/14619
* Fix concurrent BuildCheck callback mutation by @YuliiaKovalova in
https://github.com/dotnet/msbuild/pull/14590
* [main] Update dependencies from nuget/nuget.client by
@dotnet-maestro[bot] in https://github.com/dotnet/msbuild/pull/14612
* Make experimental VS insertion reviewers configurable by
@rainersigwald in https://github.com/dotnet/msbuild/pull/14632
* Fix NullReferenceException reporting file accesses for detoured nodes
by @dfederm in https://github.com/dotnet/msbuild/pull/14602
* Scope .NET TaskHost handshake leniency to architecture by
@JanProvaznik in https://github.com/dotnet/msbuild/pull/14579
* Ensure MSBuild.csproj is included for Release|ARM64 by @KirillOsenkov
in https://github.com/dotnet/msbuild/pull/14622
* Declare the Sdk element in Microsoft.Build.Core.xsd by @ViktorHofer
with @Copilot in https://github.com/dotnet/msbuild/pull/14637
* Call out MSBUILD_LOGGING_ARGS by @rainersigwald in
https://github.com/dotnet/msbuild/pull/14641
* [Spec] Define MSBuild server child-process ownership by @JanProvaznik
in https://github.com/dotnet/msbuild/pull/14508
* Pre-buffer TaskHost packet bodies before deserialization by @AR-May
in https://github.com/dotnet/msbuild/pull/14505
* Expose item glob patterns via MSBuildProvideItemGlobs by @drewnoakes
in https://github.com/dotnet/msbuild/pull/14389
* Avoid republishing coverage artifacts on CI retries by @JanProvaznik
in https://github.com/dotnet/msbuild/pull/14423
* Make the resolved change wave part of the node handshake by
@JanProvaznik with @Copilot in
https://github.com/dotnet/msbuild/pull/14557
* Bump github/gh-aw-actions/setup from 0.84.1 to 0.86.1 by
@dependabot[bot] in https://github.com/dotnet/msbuild/pull/14665
* Bump github/gh-aw-actions/setup-cli from 0.84.1 to 0.86.1 by
@dependabot[bot] in https://github.com/dotnet/msbuild/pull/14664
* [main] Update dependencies from dotnet/arcade by @dotnet-maestro[bot]
in https://github.com/dotnet/msbuild/pull/14672
* [main] Update dependencies from dotnet/roslyn by @dotnet-maestro[bot]
in https://github.com/dotnet/msbuild/pull/14677
* Give each transient MSBuild Server its own identity by @JanProvaznik
in https://github.com/dotnet/msbuild/pull/14647
* Don't discard the XML cache after restore when it reloads from disk by
@ViktorHofer in https://github.com/dotnet/msbuild/pull/14558
* Add TarDirectory and Untar tasks for creating and extracting tar
archives by @ViktorHofer with @Copilot in
https://github.com/dotnet/msbuild/pull/14451
* Add Directory.Parse.config to skip unknown attributes/elements during
parsing by @benwitmanmsft in
https://github.com/dotnet/msbuild/pull/14588
* Revert branch freeze PowerShell automation by @AlesProkop in
https://github.com/dotnet/msbuild/pull/14692
* Fix MT switch by @AR-May in
https://github.com/dotnet/msbuild/pull/14682
* Document multi-request target crosstalk by @rainersigwald in
https://github.com/dotnet/msbuild/pull/14403
* [main] Source code updates from dotnet/dotnet by @dotnet-maestro[bot]
in https://github.com/dotnet/msbuild/pull/14698
* Keep project active through post-build telemetry by @AR-May in
https://github.com/dotnet/msbuild/pull/14679
* Make eng/build.sh portable (don't hardcode /bin/bash) by @ViktorHofer
in https://github.com/dotnet/msbuild/pull/14707
* [main] Update dependencies from dotnet/arcade by @dotnet-maestro[bot]
in https://github.com/dotnet/msbuild/pull/14709
* Drop stale secret group by @rainersigwald in
https://github.com/dotnet/msbuild/pull/14710
* [main] Update dependencies from dotnet/roslyn by @dotnet-maestro[bot]
in https://github.com/dotnet/msbuild/pull/14713
... (truncated)
## 18.10.1
## What's Changed
* [vs16.11] Update dependencies from dotnet/arcade by
@dotnet-maestro[bot] in https://github.com/dotnet/msbuild/pull/13103
* [vs17.12] Update dependencies from dotnet/arcade by
@dotnet-maestro[bot] in https://github.com/dotnet/msbuild/pull/13796
* [vs17.8] Update dependencies from dotnet/arcade by
@dotnet-maestro[bot] in https://github.com/dotnet/msbuild/pull/13902
* [vs17.11] Update dependencies from dotnet/arcade by
@dotnet-maestro[bot] in https://github.com/dotnet/msbuild/pull/13903
* [vs17.12] Update dependencies from dotnet/arcade by
@dotnet-maestro[bot] in https://github.com/dotnet/msbuild/pull/13909
* [vs17.12] Update dependencies from dotnet/arcade by
@dotnet-maestro[bot] in https://github.com/dotnet/msbuild/pull/13986
* Add vs18.9 to merge-flow config; retire vs18.3 by @JanProvaznik in
https://github.com/dotnet/msbuild/pull/14214
* Bump labeler-cache-retention to use issue-labeler v2.1.0 by
@jeffhandley in https://github.com/dotnet/msbuild/pull/14171
* Bump main to 18.10.0 after vs18.9 snap by @JanProvaznik in
https://github.com/dotnet/msbuild/pull/14216
* Improve release skill: Phase 2 DARC rules, VMR backflow, deterministic
baseline by @JanProvaznik in
https://github.com/dotnet/msbuild/pull/14220
* Determinize release: hardcode OptProf baseline + Phase 3.2 baseline
resolver by @JanProvaznik in
https://github.com/dotnet/msbuild/pull/14222
* Serialize BuildRequestConfiguration.RequestedTargets to fix solution
metaproject MSB4057 in parallel builds by @ViktorHofer in
https://github.com/dotnet/msbuild/pull/14223
* [main] Update dependencies from nuget/nuget.client by
@dotnet-maestro[bot] in https://github.com/dotnet/msbuild/pull/14203
* Core support for AbsolutePath/FileInfo/DirectoryInfo and ITaskItem<T>
as task parameters by @baronfel in
https://github.com/dotnet/msbuild/pull/13971
* [main] Update dependencies from dotnet/roslyn by @dotnet-maestro[bot]
in https://github.com/dotnet/msbuild/pull/14206
* Fix existence cache kind poisoning by @AlesProkop in
https://github.com/dotnet/msbuild/pull/14249
* [main] Source code updates from dotnet/dotnet by @dotnet-maestro[bot]
in https://github.com/dotnet/msbuild/pull/14226
* Don't disable the MSBuild server for /mt builds when node reuse is off
by @AR-May in https://github.com/dotnet/msbuild/pull/14248
* Enhance expert reviewer guidelines with additional checks. by @AR-May
in https://github.com/dotnet/msbuild/pull/14255
* [main] Source code updates from dotnet/dotnet by @dotnet-maestro[bot]
in https://github.com/dotnet/msbuild/pull/14253
* [main] Update dependencies from dotnet/roslyn by @dotnet-maestro[bot]
in https://github.com/dotnet/msbuild/pull/14268
* [main] Update dependencies from nuget/nuget.client by
@dotnet-maestro[bot] in https://github.com/dotnet/msbuild/pull/14267
* Bump github/gh-aw-actions/setup from 0.81.6 to 0.82.2 by
@dependabot[bot] in https://github.com/dotnet/msbuild/pull/14266
* Avoid boxing the struct enumerator in
PropertyDictionary<T>.GetEnumerator() by @nareshjo in
https://github.com/dotnet/msbuild/pull/14272
* Refresh copy marker when implementation output changes by @AlesProkop
in https://github.com/dotnet/msbuild/pull/14231
* Send task-host build process environment as delta by @OvesN in
https://github.com/dotnet/msbuild/pull/14126
* Add regression coverage for metadata newline preservation by
@VolPlita in https://github.com/dotnet/msbuild/pull/14261
* Fix EmbedInBinlog items with relative paths from child projects by
@huulinhnguyen-dev in https://github.com/dotnet/msbuild/pull/13990
* Stop requiring VersionPrefix updates in servicing - insert prerelease
versions to VS by @ViktorHofer in
https://github.com/dotnet/msbuild/pull/14277
* Fix WriteLinesToFile rewriting unchanged file when custom encoding is
used by @huulinhnguyen-dev in
https://github.com/dotnet/msbuild/pull/14146
* Enable trim/AOT analyzers for Microsoft.Build and clean up annotations
by @JeremyKuhne in https://github.com/dotnet/msbuild/pull/14064
* [automated] Merge branch 'vs18.9' => 'main' by @github-actions[bot]
in https://github.com/dotnet/msbuild/pull/14291
* Fix MicroBuild plugin feed URL to use allowed pkgs.dev.azure.com
format by @AlesProkop in https://github.com/dotnet/msbuild/pull/14295
* Pass ExcludeRestorePackageImports during restore to avoid redundant
evaluations by @ViktorHofer with @Copilot in
https://github.com/dotnet/msbuild/pull/14274
* [vs18.7] Update dependencies from dotnet/arcade by
@dotnet-maestro[bot] in https://github.com/dotnet/msbuild/pull/13988
* Adopt Clever Test Selection (CTS) as parallel, non-blocking PR
pipeline by @jankratochvilcz in
https://github.com/dotnet/msbuild/pull/14212
* Harden exceptions when connecting to server by @JanProvaznik in
https://github.com/dotnet/msbuild/pull/14292
* Update MicrosoftBuildVersion in analyzer template by
@github-actions[bot] in https://github.com/dotnet/msbuild/pull/13886
* Fix MSBuild Server client dropping build result under WaitAny race
(#14172) by @JanProvaznik in
https://github.com/dotnet/msbuild/pull/14251
* Partially revert #13660: remove NuGet RestoreTask transient TaskHost
workaround by @JanProvaznik in
https://github.com/dotnet/msbuild/pull/14297
* Disable daily AI credits guardrail for Expert Code Review workflow by
@JanProvaznik with @Copilot in
https://github.com/dotnet/msbuild/pull/14314
* Localized file check-in by OneLocBuild Task: Build definition ID 9434:
Build ID 14614733 by @dotnet-bot in
https://github.com/dotnet/msbuild/pull/14246
* Add opt-in partial (stop-after-pass) project evaluation by
@ViktorHofer in https://github.com/dotnet/msbuild/pull/14290
* Use partial evaluation for -getProperty/-getItem without a target by
@ViktorHofer in https://github.com/dotnet/msbuild/pull/14296
* [main] Source code updates from dotnet/dotnet by @dotnet-maestro[bot]
in https://github.com/dotnet/msbuild/pull/14324
* [main] Update dependencies from dotnet/roslyn by @dotnet-maestro[bot]
in https://github.com/dotnet/msbuild/pull/14333
* [main] Update dependencies from nuget/nuget.client by
@dotnet-maestro[bot] in https://github.com/dotnet/msbuild/pull/14330
* Bump github/gh-aw-actions/setup from 0.82.2 to 0.82.8 by
@dependabot[bot] in https://github.com/dotnet/msbuild/pull/14328
* Restrict partial evaluation to ProjectInstance by @ViktorHofer in
https://github.com/dotnet/msbuild/pull/14340
... (truncated)
Commits viewable in [compare
view](https://github.com/dotnet/msbuild/compare/v18.9.6...v18.11.0).
</details>
Updated
[Microsoft.Build.Utilities.Core](https://github.com/dotnet/msbuild) from
18.9.6 to 18.11.0.
<details>
<summary>Release notes</summary>
_Sourced from [Microsoft.Build.Utilities.Core's
releases](https://github.com/dotnet/msbuild/releases)._
## 18.11.0
## What's Changed
* Add vs18.10 to merge-flow config; retire vs18.7 by @AlesProkop in
https://github.com/dotnet/msbuild/pull/14563
* Bump main to 18.11.0 after vs18.10 snap by @AlesProkop in
https://github.com/dotnet/msbuild/pull/14564
* Phase out ChangeWaves 17.10, 17.12, 17.14 and 18.3 by @JanProvaznik
in https://github.com/dotnet/msbuild/pull/14551
* [main] Source code updates from dotnet/dotnet by @dotnet-maestro[bot]
in https://github.com/dotnet/msbuild/pull/14572
* Default XML tasks to prohibit DTDs and improve DTD error diagnostics
by @VolPlita in https://github.com/dotnet/msbuild/pull/14285
* Don't log TaskAssemblyLocationMismatch for task-host-routed tasks by
@JanProvaznik in https://github.com/dotnet/msbuild/pull/14550
* Scope MSBuild server and coordinator resource names to the current
user by @JanProvaznik in https://github.com/dotnet/msbuild/pull/14543
* Promote MSBuild server out of Experimental namespace (#12099) by
@JanProvaznik in https://github.com/dotnet/msbuild/pull/13964
* Fix builds by adding missing using by @rainersigwald in
https://github.com/dotnet/msbuild/pull/14587
* Add event-level task telemetry (build/tasks/details) by
@jankratochvilcz in https://github.com/dotnet/msbuild/pull/13609
* Migrate ResolveCodeAnalysisRuleSet to multithreaded execution by
@jankratochvilcz in https://github.com/dotnet/msbuild/pull/13636
* Use <inheritdoc /> for TaskEnvironment in
ResolveCodeAnalysisRuleSet by @jankratochvilcz in
https://github.com/dotnet/msbuild/pull/14589
* Add aliases for configuration and test parameters in build scripts by
@AR-May in https://github.com/dotnet/msbuild/pull/14591
* [main] Update dependencies from dotnet/arcade by @dotnet-maestro[bot]
in https://github.com/dotnet/msbuild/pull/14617
* Emit assemblyName payload for FallbackAssemblyLoad EventSource events
by @AR-May in https://github.com/dotnet/msbuild/pull/14014
* Bump github/gh-aw-actions/setup-cli from 0.83.3 to 0.84.1 by
@dependabot[bot] in https://github.com/dotnet/msbuild/pull/14611
* Bump github/gh-aw-actions/setup from 0.83.3 to 0.84.1 by
@dependabot[bot] in https://github.com/dotnet/msbuild/pull/14610
* Migrate GetAssembliesMetadata to multithreaded execution by
@jankratochvilcz in https://github.com/dotnet/msbuild/pull/13637
* [main] Update dependencies from dotnet/roslyn by @dotnet-maestro[bot]
in https://github.com/dotnet/msbuild/pull/14619
* Fix concurrent BuildCheck callback mutation by @YuliiaKovalova in
https://github.com/dotnet/msbuild/pull/14590
* [main] Update dependencies from nuget/nuget.client by
@dotnet-maestro[bot] in https://github.com/dotnet/msbuild/pull/14612
* Make experimental VS insertion reviewers configurable by
@rainersigwald in https://github.com/dotnet/msbuild/pull/14632
* Fix NullReferenceException reporting file accesses for detoured nodes
by @dfederm in https://github.com/dotnet/msbuild/pull/14602
* Scope .NET TaskHost handshake leniency to architecture by
@JanProvaznik in https://github.com/dotnet/msbuild/pull/14579
* Ensure MSBuild.csproj is included for Release|ARM64 by @KirillOsenkov
in https://github.com/dotnet/msbuild/pull/14622
* Declare the Sdk element in Microsoft.Build.Core.xsd by @ViktorHofer
with @Copilot in https://github.com/dotnet/msbuild/pull/14637
* Call out MSBUILD_LOGGING_ARGS by @rainersigwald in
https://github.com/dotnet/msbuild/pull/14641
* [Spec] Define MSBuild server child-process ownership by @JanProvaznik
in https://github.com/dotnet/msbuild/pull/14508
* Pre-buffer TaskHost packet bodies before deserialization by @AR-May
in https://github.com/dotnet/msbuild/pull/14505
* Expose item glob patterns via MSBuildProvideItemGlobs by @drewnoakes
in https://github.com/dotnet/msbuild/pull/14389
* Avoid republishing coverage artifacts on CI retries by @JanProvaznik
in https://github.com/dotnet/msbuild/pull/14423
* Make the resolved change wave part of the node handshake by
@JanProvaznik with @Copilot in
https://github.com/dotnet/msbuild/pull/14557
* Bump github/gh-aw-actions/setup from 0.84.1 to 0.86.1 by
@dependabot[bot] in https://github.com/dotnet/msbuild/pull/14665
* Bump github/gh-aw-actions/setup-cli from 0.84.1 to 0.86.1 by
@dependabot[bot] in https://github.com/dotnet/msbuild/pull/14664
* [main] Update dependencies from dotnet/arcade by @dotnet-maestro[bot]
in https://github.com/dotnet/msbuild/pull/14672
* [main] Update dependencies from dotnet/roslyn by @dotnet-maestro[bot]
in https://github.com/dotnet/msbuild/pull/14677
* Give each transient MSBuild Server its own identity by @JanProvaznik
in https://github.com/dotnet/msbuild/pull/14647
* Don't discard the XML cache after restore when it reloads from disk by
@ViktorHofer in https://github.com/dotnet/msbuild/pull/14558
* Add TarDirectory and Untar tasks for creating and extracting tar
archives by @ViktorHofer with @Copilot in
https://github.com/dotnet/msbuild/pull/14451
* Add Directory.Parse.config to skip unknown attributes/elements during
parsing by @benwitmanmsft in
https://github.com/dotnet/msbuild/pull/14588
* Revert branch freeze PowerShell automation by @AlesProkop in
https://github.com/dotnet/msbuild/pull/14692
* Fix MT switch by @AR-May in
https://github.com/dotnet/msbuild/pull/14682
* Document multi-request target crosstalk by @rainersigwald in
https://github.com/dotnet/msbuild/pull/14403
* [main] Source code updates from dotnet/dotnet by @dotnet-maestro[bot]
in https://github.com/dotnet/msbuild/pull/14698
* Keep project active through post-build telemetry by @AR-May in
https://github.com/dotnet/msbuild/pull/14679
* Make eng/build.sh portable (don't hardcode /bin/bash) by @ViktorHofer
in https://github.com/dotnet/msbuild/pull/14707
* [main] Update dependencies from dotnet/arcade by @dotnet-maestro[bot]
in https://github.com/dotnet/msbuild/pull/14709
* Drop stale secret group by @rainersigwald in
https://github.com/dotnet/msbuild/pull/14710
* [main] Update dependencies from dotnet/roslyn by @dotnet-maestro[bot]
in https://github.com/dotnet/msbuild/pull/14713
... (truncated)
## 18.10.1
## What's Changed
* [vs16.11] Update dependencies from dotnet/arcade by
@dotnet-maestro[bot] in https://github.com/dotnet/msbuild/pull/13103
* [vs17.12] Update dependencies from dotnet/arcade by
@dotnet-maestro[bot] in https://github.com/dotnet/msbuild/pull/13796
* [vs17.8] Update dependencies from dotnet/arcade by
@dotnet-maestro[bot] in https://github.com/dotnet/msbuild/pull/13902
* [vs17.11] Update dependencies from dotnet/arcade by
@dotnet-maestro[bot] in https://github.com/dotnet/msbuild/pull/13903
* [vs17.12] Update dependencies from dotnet/arcade by
@dotnet-maestro[bot] in https://github.com/dotnet/msbuild/pull/13909
* [vs17.12] Update dependencies from dotnet/arcade by
@dotnet-maestro[bot] in https://github.com/dotnet/msbuild/pull/13986
* Add vs18.9 to merge-flow config; retire vs18.3 by @JanProvaznik in
https://github.com/dotnet/msbuild/pull/14214
* Bump labeler-cache-retention to use issue-labeler v2.1.0 by
@jeffhandley in https://github.com/dotnet/msbuild/pull/14171
* Bump main to 18.10.0 after vs18.9 snap by @JanProvaznik in
https://github.com/dotnet/msbuild/pull/14216
* Improve release skill: Phase 2 DARC rules, VMR backflow, deterministic
baseline by @JanProvaznik in
https://github.com/dotnet/msbuild/pull/14220
* Determinize release: hardcode OptProf baseline + Phase 3.2 baseline
resolver by @JanProvaznik in
https://github.com/dotnet/msbuild/pull/14222
* Serialize BuildRequestConfiguration.RequestedTargets to fix solution
metaproject MSB4057 in parallel builds by @ViktorHofer in
https://github.com/dotnet/msbuild/pull/14223
* [main] Update dependencies from nuget/nuget.client by
@dotnet-maestro[bot] in https://github.com/dotnet/msbuild/pull/14203
* Core support for AbsolutePath/FileInfo/DirectoryInfo and ITaskItem<T>
as task parameters by @baronfel in
https://github.com/dotnet/msbuild/pull/13971
* [main] Update dependencies from dotnet/roslyn by @dotnet-maestro[bot]
in https://github.com/dotnet/msbuild/pull/14206
* Fix existence cache kind poisoning by @AlesProkop in
https://github.com/dotnet/msbuild/pull/14249
* [main] Source code updates from dotnet/dotnet by @dotnet-maestro[bot]
in https://github.com/dotnet/msbuild/pull/14226
* Don't disable the MSBuild server for /mt builds when node reuse is off
by @AR-May in https://github.com/dotnet/msbuild/pull/14248
* Enhance expert reviewer guidelines with additional checks. by @AR-May
in https://github.com/dotnet/msbuild/pull/14255
* [main] Source code updates from dotnet/dotnet by @dotnet-maestro[bot]
in https://github.com/dotnet/msbuild/pull/14253
* [main] Update dependencies from dotnet/roslyn by @dotnet-maestro[bot]
in https://github.com/dotnet/msbuild/pull/14268
* [main] Update dependencies from nuget/nuget.client by
@dotnet-maestro[bot] in https://github.com/dotnet/msbuild/pull/14267
* Bump github/gh-aw-actions/setup from 0.81.6 to 0.82.2 by
@dependabot[bot] in https://github.com/dotnet/msbuild/pull/14266
* Avoid boxing the struct enumerator in
PropertyDictionary<T>.GetEnumerator() by @nareshjo in
https://github.com/dotnet/msbuild/pull/14272
* Refresh copy marker when implementation output changes by @AlesProkop
in https://github.com/dotnet/msbuild/pull/14231
* Send task-host build process environment as delta by @OvesN in
https://github.com/dotnet/msbuild/pull/14126
* Add regression coverage for metadata newline preservation by
@VolPlita in https://github.com/dotnet/msbuild/pull/14261
* Fix EmbedInBinlog items with relative paths from child projects by
@huulinhnguyen-dev in https://github.com/dotnet/msbuild/pull/13990
* Stop requiring VersionPrefix updates in servicing - insert prerelease
versions to VS by @ViktorHofer in
https://github.com/dotnet/msbuild/pull/14277
* Fix WriteLinesToFile rewriting unchanged file when custom encoding is
used by @huulinhnguyen-dev in
https://github.com/dotnet/msbuild/pull/14146
* Enable trim/AOT analyzers for Microsoft.Build and clean up annotations
by @JeremyKuhne in https://github.com/dotnet/msbuild/pull/14064
* [automated] Merge branch 'vs18.9' => 'main' by @github-actions[bot]
in https://github.com/dotnet/msbuild/pull/14291
* Fix MicroBuild plugin feed URL to use allowed pkgs.dev.azure.com
format by @AlesProkop in https://github.com/dotnet/msbuild/pull/14295
* Pass ExcludeRestorePackageImports during restore to avoid redundant
evaluations by @ViktorHofer with @Copilot in
https://github.com/dotnet/msbuild/pull/14274
* [vs18.7] Update dependencies from dotnet/arcade by
@dotnet-maestro[bot] in https://github.com/dotnet/msbuild/pull/13988
* Adopt Clever Test Selection (CTS) as parallel, non-blocking PR
pipeline by @jankratochvilcz in
https://github.com/dotnet/msbuild/pull/14212
* Harden exceptions when connecting to server by @JanProvaznik in
https://github.com/dotnet/msbuild/pull/14292
* Update MicrosoftBuildVersion in analyzer template by
@github-actions[bot] in https://github.com/dotnet/msbuild/pull/13886
* Fix MSBuild Server client dropping build result under WaitAny race
(#14172) by @JanProvaznik in
https://github.com/dotnet/msbuild/pull/14251
* Partially revert #13660: remove NuGet RestoreTask transient TaskHost
workaround by @JanProvaznik in
https://github.com/dotnet/msbuild/pull/14297
* Disable daily AI credits guardrail for Expert Code Review workflow by
@JanProvaznik with @Copilot in
https://github.com/dotnet/msbuild/pull/14314
* Localized file check-in by OneLocBuild Task: Build definition ID 9434:
Build ID 14614733 by @dotnet-bot in
https://github.com/dotnet/msbuild/pull/14246
* Add opt-in partial (stop-after-pass) project evaluation by
@ViktorHofer in https://github.com/dotnet/msbuild/pull/14290
* Use partial evaluation for -getProperty/-getItem without a target by
@ViktorHofer in https://github.com/dotnet/msbuild/pull/14296
* [main] Source code updates from dotnet/dotnet by @dotnet-maestro[bot]
in https://github.com/dotnet/msbuild/pull/14324
* [main] Update dependencies from dotnet/roslyn by @dotnet-maestro[bot]
in https://github.com/dotnet/msbuild/pull/14333
* [main] Update dependencies from nuget/nuget.client by
@dotnet-maestro[bot] in https://github.com/dotnet/msbuild/pull/14330
* Bump github/gh-aw-actions/setup from 0.82.2 to 0.82.8 by
@dependabot[bot] in https://github.com/dotnet/msbuild/pull/14328
* Restrict partial evaluation to ProjectInstance by @ViktorHofer in
https://github.com/dotnet/msbuild/pull/14340
... (truncated)
Commits viewable in [compare
view](https://github.com/dotnet/msbuild/compare/v18.9.6...v18.11.0).
</details>
Updated
[Microsoft.Extensions.TimeProvider.Testing](https://github.com/dotnet/extensions)
from 10.9.0 to 10.11.0.
<details>
<summary>Release notes</summary>
_Sourced from [Microsoft.Extensions.TimeProvider.Testing's
releases](https://github.com/dotnet/extensions/releases)._
## 10.11.0
# .NET Extensions 10.11.0
This release adds optional scope capture for buffered logs and updates
experimental HTTP latency enrichment APIs. It also includes fixes for AI
streaming and function invocation, evaluation reports, HybridCache
invalidation, and logging.
## Experimental API Changes
### New Experimental APIs
* Optional logging-scope capture for global and per-request log
buffering through `GlobalLogBufferingOptions.IncludeScopes` and
`PerRequestLogBufferingOptions.IncludeScopes` (`EXTEXP0003`) #7813
### Breaking Changes to Experimental APIs
* Incoming HTTP latency log enrichment: `AddHttpLatencyTelemetry` is
renamed to `AddHttpServerLatencyTelemetry` and moves from
`HttpLatencyTelemetryServiceCollectionExtensions` to
`HttpLoggingServiceCollectionExtensions`. It remains experimental under
`EXTEXP0013` in this release. #7730
## What's Changed
### AI
* Yield final image when streaming with HostedImageGenerationTool #7774
by @iamAdarshh
* Make the default tool-rejection message state that the decision is
final #7784 by @manjunathshiva
* AI: Remove obsolete OpenAI JsonPatch workaround #7815 by @jozkee
(co-authored by @Copilot)
* Ignore empty model IDs in streaming responses #7816 by @valkiara
* Honor FunctionInvocationContext.Terminate when the function throws
#7801 by @gjz22
* Fix ChatResponseUpdate.Clone dropping ContinuationToken #7699 by
@dfedoryshchev
* Decode non-base64 data URIs in DataContent to the octets they encode
#7798 by @Laurianti
### AI Evaluation
* [M.E.AI.Evaluation.Reporting] Fix context and metric interpretation
visualization #7738 by @grafanaKibana
* Fix tokenizer attaching punctuation to number tokens #7766 by
@tahakocal
* Order iteration results numerically #7769 by @tahakocal
* Score GLEU against the best matching reference #7768 by @tahakocal
### Telemetry and Observability
* Optionally preserve logging scopes in buffered log records #7813 by
@evgenyfedorov2 (co-authored by @Copilot)
* Fix OOM from unbounded enumeration of ExtendedLogger tag joiners
#7819 by @evgenyfedorov2 (co-authored by @Copilot)
* Fix log buffering race by removing the rule selector cache #7803 by
@evgenyfedorov2 (co-authored by @Copilot)
### ASP.NET Core Extensions
* Rename AddHttpLatencyTelemetry to AddHttpServerLatencyTelemetry
(API-approved shape) #7730 by @EasyL0ver (co-authored by @Copilot)
* Fix ArgumentNullException in per-request log buffering at the end of a
request #7811 by @evgenyfedorov2 (co-authored by @Copilot)
### AI Project Templates
* Align aichatweb local vector-store keys with Guid record keys #7804
by @jongalloway (co-authored by @adamsitnik @Copilot)
### Caching
... (truncated)
## 10.10.1
This release fixes two OpenAI integration issues: a TypeLoadException on
tool-carrying Responses API calls and a streaming crash against
third-party OpenAI-compatible endpoints, by upgrading the OpenAI SDK to
2.14.0.
## Packages in this release
| Package | Version |
|---------|---------|
| Microsoft.Extensions.AI.OpenAI | `10.10.1` |
| Microsoft.Extensions.AI.Abstractions | `10.10.1` |
## What's Changed
### AI
* Upgrade OpenAI SDK to 2.14.0 #7761 by @zxyao145
## Acknowledgements
* @zxyao145 made their first contribution in #7761
* @zxyao145 submitted issue #7760 (resolved by #7761)
* @jozkee @wtgodbe reviewed pull requests
**Full Changelog**:
https://github.com/dotnet/extensions/compare/v10.10.0...v10.10.1
## 10.10.0
This month's release focuses on AI package reliability: closing gaps in
evaluation scoring, hardening OpenAI image-option handling, and removing
the deprecated OpenAI Assistants API support.
## Experimental API Changes
### Removed Experimental APIs
* OpenAI Assistants experimental APIs removed (was experimental under
`OPENAI001`) #7724
## What's Changed
### AI
* Remove OpenAI Assistants API support #7724 by @jozkee (co-authored
by @Copilot)
* Update OpenAI package version to 2.13.0 #7726 by @jozkee
* OpenAI: Avoid null implicit conversions for image options #7727 by
@jozkee (co-authored by @Copilot)
### AI Evaluation
* Fail closed when a quality metric has no valid score #7735 by
@thaildhe172591
* Validate path segments in Azure storage result store and response
cache #7718 by @Lroca88
## Repository Infrastructure Updates
* Add TfxInstaller for publishing #7695 by @peterwaltonwork
* Bump PowerShell from 7.6.4 to 7.6.5 #7702
* [Infrastructure] Update vulnerable npm dependencies #7705 by
@wtgodbe
* Add Node installation for TfxInstaller #7703 by @peterwaltonwork
* Publish VSIX using publish task instead of output #7711 by
@peterwaltonwork
* Bump dotnet-coverage from 18.9.0 to 18.10.0 #7708
* Do not validate extension during publish step #7725 by
@peterwaltonwork
* Add skill for upgrading OpenAI #7728 by @jozkee
* Fix source indexer stage #7694 by @jjonescz
## Acknowledgements
* @Lroca88 made their first contribution in #7718
* @thaildhe172591 made their first contribution in #7735
* @ANcpLua submitted issue #7665 (resolved by #7735)
* @jeffhandley @peterwald @shyamnamboodiripad reviewed pull requests
**Full Changelog**:
https://github.com/dotnet/extensions/compare/v10.9.0...v10.10.0
Commits viewable in [compare
view](https://github.com/dotnet/extensions/compare/v10.9.0...v10.11.0).
</details>
Updated [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest)
from 18.9.0 to 18.11.0.
<details>
<summary>Release notes</summary>
_Sourced from [Microsoft.NET.Test.Sdk's
releases](https://github.com/microsoft/vstest/releases)._
## 18.11.0
<!-- Release notes generated using configuration in .github/release.yml
at rel/18.11 -->
## What's Changed
* Fix TRX logger mangling astral-plane (non-BMP) characters by
@azat-msft in https://github.com/microsoft/vstest/pull/16318
* Disable the MTP testhost by default by @nohwnd in
https://github.com/microsoft/vstest/pull/16337
* Fix OS-blind apphost probe in MTP bridge on Unix (regression from
#16201) by @azat-msft in
https://github.com/microsoft/vstest/pull/16336
* Retarget the MTP client onto
Microsoft.Testing.Platform.ServerMode.Client.Sources by @nohwnd in
https://github.com/microsoft/vstest/pull/16300
* Pass arguments to PowerShell with -File instead of -command by
@nohwnd in https://github.com/microsoft/vstest/pull/16363
* Respect console logger verbosity from a settings file by @nohwnd in
https://github.com/microsoft/vstest/pull/16044
* Fix backslash normalization in VSTestCLIRunSettings on Unix by
@nohwnd in https://github.com/microsoft/vstest/pull/15795
* Docs: fix typo explicitely -> explicitly by @vaibhav8a in
https://github.com/microsoft/vstest/pull/16397
* Copy acceptance test diagnostic logs into the test results directory
by @nohwnd in https://github.com/microsoft/vstest/pull/16403
## New Contributors
* @vaibhav8a made their first contribution in
https://github.com/microsoft/vstest/pull/16397
**Full Changelog**:
https://github.com/microsoft/vstest/compare/v18.10.1...v18.11.0
## 18.10.2
## Security fix
This release fixes CVE-2026-105544, an elevation of privilege
vulnerability in the VSTest artifact post-processor. The post-processor
could consume a forged `executionComplete.json` written by another local
user, and then run attacker-controlled output handling.
Affected: `Microsoft.TestPlatform.CLI` 18.10.0 and 18.10.1.
Fixed in: `Microsoft.TestPlatform.CLI` 18.10.2.
`Microsoft.TestPlatform.CLI` is the VSTest build that we ship into the
.NET SDK. The recommended way to get this fix is to update your .NET SDK
to the latest patched version, see the advisory for the SDK versions.
The fix is also released in the `Microsoft.TestPlatform.CLI` package,
for completeness. That package is rarely used directly. It is not a
dependency of `Microsoft.NET.Test.Sdk` or `Microsoft.TestPlatform`, so
those packages do not bring it in.
Details: https://github.com/microsoft/vstest/issues/16654 and
https://github.com/dotnet/announcements/issues/517
Using custom Docker images or Nano Server? See
https://github.com/microsoft/vstest/issues/16652
## What's Changed
* Security fix for CVE-2026-105544, see
https://github.com/microsoft/vstest/issues/16654
**Full Changelog**:
https://github.com/microsoft/vstest/compare/v18.10.1...v18.10.2
## 18.10.1
## What's Changed
* Isolate code coverage files in published output by @azat-msft in
https://github.com/microsoft/vstest/pull/16476
**Full Changelog**:
https://github.com/microsoft/vstest/compare/v18.10.0...v18.10.1
## 18.10.0
## What's Changed
* Drop Mono fallback, run .NET Framework tests on Windows only by
@nohwnd in https://github.com/microsoft/vstest/pull/16158
* Run Microsoft.Testing.Platform test apps under `vstest.console` and
datacollector by @nohwnd in
https://github.com/microsoft/vstest/pull/16201
* Fix test output eaten by MSBuild terminal logger by @nohwnd in
https://github.com/microsoft/vstest/pull/16223
* Remove the experimental test session feature by @nohwnd in
https://github.com/microsoft/vstest/pull/16231
* Skip a single bad executor instead of failing all executor loading by
@nohwnd in https://github.com/microsoft/vstest/pull/16239
* Assert apartment state instead of using Clipboard in UI tests by
@nohwnd in https://github.com/microsoft/vstest/pull/16270
* Surface test host crashes during protocol negotiation by @nohwnd in
https://github.com/microsoft/vstest/pull/16285
* Pass the inferred target platform to the host in run settings by
@nohwnd in https://github.com/microsoft/vstest/pull/16271
* Report raw invalid IsTargetPlatformInferred value, cover host x64
forcing by @nohwnd in https://github.com/microsoft/vstest/pull/16295
* Disable the MTP testhost by default (#16337) by @nohwnd in
https://github.com/microsoft/vstest/pull/16341
**Full Changelog**:
https://github.com/microsoft/vstest/compare/v18.9.0...v18.10.0
Commits viewable in [compare
view](https://github.com/microsoft/vstest/compare/v18.9.0...v18.11.0).
</details>
Updated [NUnit3TestAdapter](https://github.com/nunit/nunit3-vs-adapter)
from 6.3.0 to 6.3.1.
<details>
<summary>Release notes</summary>
_Sourced from [NUnit3TestAdapter's
releases](https://github.com/nunit/nunit3-vs-adapter/releases)._
## 6.3.1
This is a hotfix release for issue
[1504](https://github.com/nunit/nunit3-vs-adapter/issues/1504)
Commits viewable in [compare
view](https://github.com/nunit/nunit3-vs-adapter/compare/V6.3.0...V6.3.1).
</details>
Updated
[OpenTelemetry.Exporter.OpenTelemetryProtocol](https://github.com/open-telemetry/opentelemetry-dotnet)
from 1.15.3 to 1.20.1.
<details>
<summary>Release notes</summary>
_Sourced from [OpenTelemetry.Exporter.OpenTelemetryProtocol's
releases](https://github.com/open-telemetry/opentelemetry-dotnet/releases)._
## 1.20.1
For highlights and announcements pertaining to this release see:
[Release Notes >
1.20.1](https://github.com/open-telemetry/opentelemetry-dotnet/blob/main/RELEASENOTES.md#1201).
The following changes are from the previous release
[1.20.0](https://github.com/open-telemetry/opentelemetry-dotnet/releases/tag/core-1.20.0).
* NuGet: [OpenTelemetry
v1.20.1](https://www.nuget.org/packages/OpenTelemetry/1.20.1)
* Fixed a possible race condition on ARM64 when multiple threads record
the
first measurement with no tags, or the first overflow measurement, that
could
cause the measurement to be recorded incorrectly.
([#7951](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7951))
* Fixed self-diagnostics preamble redaction of quoted or encoded PEM
material
and prefixed JWTs.
([#7955](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7955))
* Fixed default HTTP client log filtering when registering the OTLP log
exporter
through `OpenTelemetryLoggerOptions`.
([#7959](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7959))
* Fixed legacy self-diagnostics logging terminating the process when the
log
file is truncated or the log volume runs out of space.
([#7956](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7956))
* **Experimental (pre-release builds only):** Fixed `Logger.EmitLog`
ignoring
instrumentation suppression, which could cause recursive exports or
deadlocks.
([#7961](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7961))
* Fixed delta double counters losing subsequent measurements after a
non-finite
or large value and idle metric points with a `NaN` value failing to be
reclaimed.
([#7963](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7963))
* Improve the assignment of values to exponential histogram buckets when
the
value is near a bucket boundary by using a pre-computed lookup table.
([#7911](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7911))
* Fixed `LogRecord`s being returned to the shared pool while still
queued for
export when an exporter stops enumerating a single-item or array
`Batch<LogRecord>` early which could cause a
`BatchLogRecordExportProcessor`
on the same provider to export missing or incorrect data.
([#7965](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7965))
* Fixed a `SuppressInstrumentationScope.Enter()` reference count never
being
released when the `Activity` it was entered for is not recorded, which
caused
all subsequent telemetry in that execution context to be suppressed.
([#7966](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7966))
* Self-diagnostics log files, whether configured through
`OTEL_DIAGNOSTICS.json`
or `SelfDiagnosticsOptions`, are now always created as new files.
([#7968](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7968))
... (truncated)
## 1.20.1-rc.1
The following changes are from the previous release
[1.20.0](https://github.com/open-telemetry/opentelemetry-dotnet/releases/tag/core-1.20.0).
* NuGet: [OpenTelemetry
v1.20.1-rc.1](https://www.nuget.org/packages/OpenTelemetry/1.20.1-rc.1)
* Fixed a possible race condition on ARM64 when multiple threads record
the
first measurement with no tags, or the first overflow measurement, that
could
cause the measurement to be recorded incorrectly.
([#7951](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7951))
* Fixed self-diagnostics preamble redaction of quoted or encoded PEM
material
and prefixed JWTs.
([#7955](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7955))
* Fixed default HTTP client log filtering when registering the OTLP log
exporter
through `OpenTelemetryLoggerOptions`.
([#7959](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7959))
* Fixed legacy self-diagnostics logging terminating the process when the
log
file is truncated or the log volume runs out of space.
([#7956](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7956))
* **Experimental (pre-release builds only):** Fixed `Logger.EmitLog`
ignoring
instrumentation suppression, which could cause recursive exports or
deadlocks.
([#7961](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7961))
* Fixed delta double counters losing subsequent measurements after a
non-finite
or large value and idle metric points with a `NaN` value failing to be
reclaimed.
([#7963](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7963))
* Improve the assignment of values to exponential histogram buckets when
the
value is near a bucket boundary by using a pre-computed lookup table.
([#7911](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7911))
* Fixed `LogRecord`s being returned to the shared pool while still
queued for
export when an exporter stops enumerating a single-item or array
`Batch<LogRecord>` early which could cause a
`BatchLogRecordExportProcessor`
on the same provider to export missing or incorrect data.
([#7965](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7965))
* Fixed a `SuppressInstrumentationScope.Enter()` reference count never
being
released when the `Activity` it was entered for is not recorded, which
caused
all subsequent telemetry in that execution context to be suppressed.
([#7966](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7966))
* Self-diagnostics log files, whether configured through
`OTEL_DIAGNOSTICS.json`
or `SelfDiagnosticsOptions`, are now always created as new files.
([#7968](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7968))
* Self-diagnostics messages written to the sinks configured by
`SelfDiagnosticsOptions` are now truncated to 16,384 characters so that
the
... (truncated)
## 1.20.1-beta.1
The following changes are from the previous release
[1.20.0-beta.1](https://github.com/open-telemetry/opentelemetry-dotnet/releases/tag/coreunstable-1.20.0-beta.1).
* NuGet: [OpenTelemetry.Exporter.Prometheus.AspNetCore
v1.20.1-beta.1](https://www.nuget.org/packages/OpenTelemetry.Exporter.Prometheus.AspNetCore/1.20.1-beta.1)
* Fixed scrape responses being handed to the server in a single write,
which
made the server buffer a full copy of the response for each client that
did
not read it until the request completed or timed out. Responses are now
written in bounded slices so the server's back-pressure applies.
([#7957](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7957))
* Fixed startup scrapes permanently omitting `target_info` and
configured
resource constant labels from subsequent scrape responses.
([#7984](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7984))
* Updated OpenTelemetry core component version(s) to `1.20.1`.
([#7990](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7990))
See
[CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/coreunstable-1.20.1-beta.1/src/OpenTelemetry.Exporter.Prometheus.AspNetCore/CHANGELOG.md)
for details.
* NuGet: [OpenTelemetry.Exporter.Prometheus.HttpListener
v1.20.1-beta.1](https://www.nuget.org/packages/OpenTelemetry.Exporter.Prometheus.HttpListener/1.20.1-beta.1)
* Fixed scrape responses being handed to the server in a single write,
which
on Linux and macOS made the listener allocate and hold a full copy of
the
response for each client that did not read it until the request
completed or
timed out. Responses are now written in bounded slices.
([#7957](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7957))
* Fixed scrape requests that announce a request body holding a thread
pool
thread after their response had been sent on Linux and macOS for as long
as
the client kept trickling in the body. The connection is now closed
after
responding to a request with a body instead of being kept alive.
([#7962](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7962))
* Fixed startup scrapes permanently omitting `target_info` and
configured
resource constant labels from subsequent scrape responses.
([#7984](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7984))
* Updated OpenTelemetry core component version(s) to `1.20.1`.
([#7990](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7990))
See
[CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/coreunstable-1.20.1-beta.1/src/OpenTelemetry.Exporter.Prometheus.HttpListener/CHANGELOG.md)
for details.
* NuGet: [OpenTelemetry.Shims.OpenTracing
v1.20.1-beta.1](https://www.nuget.org/packages/OpenTelemetry.Shims.OpenTracing/1.20.1-beta.1)
* Updated OpenTelemetry core component version(s) to `1.20.1`.
([#7990](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7990))
See
[CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/coreunstable-1.20.1-beta.1/src/OpenTelemetry.Shims.OpenTracing/CHANGELOG.md)
for details.
## 1.20.0
For highlights and announcements pertaining to this release see:
[Release Notes >
1.20.0](https://github.com/open-telemetry/opentelemetry-dotnet/blob/main/RELEASENOTES.md#1200).
The following changes are from the previous release
[1.19.1](https://github.com/open-telemetry/opentelemetry-dotnet/releases/tag/core-1.19.1).
* NuGet: [OpenTelemetry
v1.20.0](https://www.nuget.org/packages/OpenTelemetry/1.20.0)
* Fixed `SuppressInstrumentationScope` reference counts leaking between
inherited asynchronous execution contexts.
([#7803](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7803))
* Self-diagnostic features are explicitly disabled on browser-based
platforms (e.g. Blazor) and are now non-functional. Previously,
attempting to enable self-diagnostics on such platforms would result in
an exception at runtime.
([#7799](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7799))
* Added `TracerProviderBuilder.ConfigureSampler` which receives the
resolved `Sampler` whether set programmatically, via
`OTEL_TRACES_SAMPLER`, or by default, and returns a replacement.
Intended for library authors who need to influence sampling without
overriding a sampler the application has configured.
([#7780](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7780))
* Fixed `ResourceBuilder.CreateDefault` ignoring
`OTEL_RESOURCE_ATTRIBUTES` and `OTEL_SERVICE_NAME` environment variables
when the host `IConfiguration` does not contain those settings.
([#7855](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7855))
* Added improved self-diagnostics logging to improve the support
experience. The new `SelfDiagnosticsOptions` class configures a rolling
file sink and a console sink through the standard options pipeline.
Sinks are off by default.
([#7588](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7588))
* Fixed a race that could incorrectly route a concurrent metric
measurement to the overflow point when its tag set was published as the
cardinality limit was reached.
([#7804](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7804))
* Added `OpenTelemetryLoggerOptions.Version` and
`OpenTelemetryLoggerOptions.SchemaUrl` options to set an instrumentation
library version and schema URL applied to logs emitted via the
`Microsoft.Extensions.Logging` `ILogger` integration.
([#7727](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7727))
* Fixed `LogRecord.CategoryName` resetting the current `Logger`'s
`Version` to `null` when set to a new value.
([#7727](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7727))
* Bounded the internal cache of `Logger` scopes keyed by instrumentation
to avoid unbounded growth.
([#7727](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7727))
* Fixed the `MeterProvider` and its `IServiceProvider` being kept alive
after the host is disposed when using `Microsoft.Extensions.Diagnostics`
versions prior to 9.0, which never dispose their
`MetricsSubscriptionManager` (and its underlying `MeterListener`).
([#7924](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7924))
* Fixed a race condition between recording a measurement and collecting
a histogram with delta temporality that could cause an empty data point
(with a count of zero) to be exported in the next collection cycle.
([#7923](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7923))
* Improved metric collection performance after metric streams are
removed by compacting metric storage during collection.
([#7945](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7945))
See
[CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/core-1.20.0/src/OpenTelemetry/CHANGELOG.md)
for details.
* NuGet: [OpenTelemetry.Api
v1.20.0](https://www.nuget.org/packages/OpenTelemetry.Api/1.20.0)
* Added `Logger.SchemaUrl` and a `LoggerProvider.GetLogger` overload
accepting a schema URL parameter using the new `LoggerOptions` type.
([#7727](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7727))
* **Breaking change** (pre-release only versions): `LoggerProvider`'s
protected `TryCreateLogger(string? name, out Logger? logger)`
extensibility method has been replaced by `TryCreateLogger(LoggerOptions
options, out Logger? logger)`. Custom `LoggerProvider` subclasses that
override the previous overload must update to override the new one; the
old overload is no longer called.
... (truncated)
## 1.20.0-rc.1
The following changes are from the previous release
[1.19.1](https://github.com/open-telemetry/opentelemetry-dotnet/releases/tag/core-1.19.1).
* NuGet: [OpenTelemetry
v1.20.0-rc.1](https://www.nuget.org/packages/OpenTelemetry/1.20.0-rc.1)
* Fixed `SuppressInstrumentationScope` reference counts leaking between
inherited asynchronous execution contexts.
([#7803](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7803))
* Self-diagnostic features are explicitly disabled on browser-based
platforms (e.g. Blazor) and are now non-functional. Previously,
attempting to enable self-diagnostics on such platforms would result in
an exception at runtime.
([#7799](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7799))
* Added `TracerProviderBuilder.ConfigureSampler` which receives the
resolved `Sampler` whether set programmatically, via
`OTEL_TRACES_SAMPLER`, or by default, and returns a replacement.
Intended for library authors who need to influence sampling without
overriding a sampler the application has configured.
([#7780](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7780))
* Fixed `ResourceBuilder.CreateDefault` ignoring
`OTEL_RESOURCE_ATTRIBUTES` and `OTEL_SERVICE_NAME` environment variables
when the host `IConfiguration` does not contain those settings.
([#7855](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7855))
* Added improved self-diagnostics logging to improve the support
experience. The new `SelfDiagnosticsOptions` class configures a rolling
file sink and a console sink through the standard options pipeline.
Sinks are off by default.
([#7588](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7588))
* Fixed a race that could incorrectly route a concurrent metric
measurement to the overflow point when its tag set was published as the
cardinality limit was reached.
([#7804](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7804))
* Added `OpenTelemetryLoggerOptions.Version` and
`OpenTelemetryLoggerOptions.SchemaUrl` options to set an instrumentation
library version and schema URL applied to logs emitted via the
`Microsoft.Extensions.Logging` `ILogger` integration.
([#7727](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7727))
* Fixed `LogRecord.CategoryName` resetting the current `Logger`'s
`Version` to `null` when set to a new value.
([#7727](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7727))
* Bounded the internal cache of `Logger` scopes keyed by instrumentation
to avoid unbounded growth.
([#7727](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7727))
* Fixed the `MeterProvider` and its `IServiceProvider` being kept alive
after the host is disposed when using `Microsoft.Extensions.Diagnostics`
versions prior to 9.0, which never dispose their
`MetricsSubscriptionManager` (and its underlying `MeterListener`).
([#7924](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7924))
* Fixed a race condition between recording a measurement and collecting
a histogram with delta temporality that could cause an empty data point
(with a count of zero) to be exported in the next collection cycle.
([#7923](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7923))
* Improved metric collection performance after metric streams are
removed by compacting metric storage during collection.
([#7945](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7945))
See
[CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/core-1.20.0-rc.1/src/OpenTelemetry/CHANGELOG.md)
for details.
* NuGet: [OpenTelemetry.Api
v1.20.0-rc.1](https://www.nuget.org/packages/OpenTelemetry.Api/1.20.0-rc.1)
* Added `Logger.SchemaUrl` and a `LoggerProvider.GetLogger` overload
accepting a schema URL parameter using the new `LoggerOptions` type.
([#7727](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7727))
* **Breaking change** (pre-release only versions): `LoggerProvider`'s
protected `TryCreateLogger(string? name, out Logger? logger)`
extensibility method has been replaced by `TryCreateLogger(LoggerOptions
options, out Logger? logger)`. Custom `LoggerProvider` subclasses that
override the previous overload must update to override the new one; the
old overload is no longer called.
([#7727](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7727))
... (truncated)
## 1.20.0-beta.1
The following changes are from the previous release
[1.19.1-beta.1](https://github.com/open-telemetry/opentelemetry-dotnet/releases/tag/coreunstable-1.19.1-beta.1).
* NuGet: [OpenTelemetry.Exporter.Prometheus.AspNetCore
v1.20.0-beta.1](https://www.nuget.org/packages/OpenTelemetry.Exporter.Prometheus.AspNetCore/1.20.0-beta.1)
* A scrape request whose connection is aborted, or whose
`X-Prometheus-Scrape-Timeout-Seconds` deadline elapses, now stops
waiting for an in-progress metrics collection instead of continuing to
wait for it to finish. The collection itself is not cancelled and
continues running in the background.
([#7856](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7856))
* Updated OpenTelemetry core component version(s) to `1.20.0`.
([#7950](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7950))
See
[CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/coreunstable-1.20.0-beta.1/src/OpenTelemetry.Exporter.Prometheus.AspNetCore/CHANGELOG.md)
for details.
* NuGet: [OpenTelemetry.Exporter.Prometheus.HttpListener
v1.20.0-beta.1](https://www.nuget.org/packages/OpenTelemetry.Exporter.Prometheus.HttpListener/1.20.0-beta.1)
* Updated OpenTelemetry core component version(s) to `1.20.0`.
([#7950](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7950))
See
[CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/coreunstable-1.20.0-beta.1/src/OpenTelemetry.Exporter.Prometheus.HttpListener/CHANGELOG.md)
for details.
* NuGet: [OpenTelemetry.Shims.OpenTracing
v1.20.0-beta.1](https://www.nuget.org/packages/OpenTelemetry.Shims.OpenTracing/1.20.0-beta.1)
* Updated OpenTelemetry core component version(s) to `1.20.0`.
([#7950](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7950))
See
[CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/coreunstable-1.20.0-beta.1/src/OpenTelemetry.Shims.OpenTracing/CHANGELOG.md)
for details.
## 1.19.1
For highlights and announcements pertaining to this release see:
[Release Notes >
1.19.1](https://github.com/open-telemetry/opentelemetry-dotnet/blob/main/RELEASENOTES.md#1191).
The following changes are from the previous release
[1.19.0](https://github.com/open-telemetry/opentelemetry-dotnet/releases/tag/core-1.19.0).
* NuGet: [OpenTelemetry
v1.19.1](https://www.nuget.org/packages/OpenTelemetry/1.19.1)
* Fixed `NotSupportedException` thrown when building a `TracerProvider`
or `MeterProvider` with a large number of wildcard source/meter patterns
on `net8.0`, and a related `OutOfMemoryException` that could occur when
many such providers were built over the lifetime of a process.
([#7788](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7788))
See
[CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/core-1.19.1/src/OpenTelemetry/CHANGELOG.md)
for details.
* NuGet: [OpenTelemetry.Api
v1.19.1](https://www.nuget.org/packages/OpenTelemetry.Api/1.19.1)
No notable changes.
See
[CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/core-1.19.1/src/OpenTelemetry.Api/CHANGELOG.md)
for details.
* NuGet: [OpenTelemetry.Api.ProviderBuilderExtensions
v1.19.1](https://www.nuget.org/packages/OpenTelemetry.Api.ProviderBuilderExtensions/1.19.1)
No notable changes.
See
[CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/core-1.19.1/src/OpenTelemetry.Api.ProviderBuilderExtensions/CHANGELOG.md)
for details.
* NuGet: [OpenTelemetry.Exporter.Console
v1.19.1](https://www.nuget.org/packages/OpenTelemetry.Exporter.Console/1.19.1)
No notable changes.
See
[CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/core-1.19.1/src/OpenTelemetry.Exporter.Console/CHANGELOG.md)
for details.
* NuGet: [OpenTelemetry.Exporter.InMemory
v1.19.1](https://www.nuget.org/packages/OpenTelemetry.Exporter.InMemory/1.19.1)
No notable changes.
See
[CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/core-1.19.1/src/OpenTelemetry.Exporter.InMemory/CHANGELOG.md)
for details.
* NuGet: [OpenTelemetry.Exporter.OpenTelemetryProtocol
v1.19.1](https://www.nuget.org/packages/OpenTelemetry.Exporter.OpenTelemetryProtocol/1.19.1)
No notable changes.
See
[CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/core-1.19.1/src/OpenTelemetry.Exporter.OpenTelemetryProtocol/CHANGELOG.md)
for details.
* NuGet: [OpenTelemetry.Exporter.Zipkin
v1.19.1](https://www.nuget.org/packages/OpenTelemetry.Exporter.Zipkin/1.19.1)
No notable changes.
See
[CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/core-1.19.1/src/OpenTelemetry.Exporter.Zipkin/CHANGELOG.md)
for details.
* NuGet: [OpenTelemetry.Extensions.Hosting
v1.19.1](https://www.nuget.org/packages/OpenTelemetry.Extensions.Hosting/1.19.1)
No notable changes.
... (truncated)
## 1.19.1-rc.1
The following changes are from the previous release
[1.19.0](https://github.com/open-telemetry/opentelemetry-dotnet/releases/tag/core-1.19.0).
* NuGet: [OpenTelemetry
v1.19.1-rc.1](https://www.nuget.org/packages/OpenTelemetry/1.19.1-rc.1)
* Fixed `NotSupportedException` thrown when building a `TracerProvider`
or `MeterProvider` with a large number of wildcard source/meter patterns
on `net8.0`, and a related `OutOfMemoryException` that could occur when
many such providers were built over the lifetime of a process.
([#7788](https://github.com/open-telemetry/opentelemetry-dotnet/pull/7788))
See
[CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/core-1.19.1-rc.1/src/OpenTelemetry/CHANGELOG.md)
for details.
* NuGet: [OpenTelemetry.Api
v1.19.1-rc.1](https://www.nuget.org/packages/OpenTelemetry.Api/1.19.1-rc.1)
No notable changes.
See
[CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/core-1.19.1-rc.1/src/OpenTelemetry.Api/CHANGELOG.md)
for details.
* NuGet: [OpenTelemetry.Api.ProviderBuilderExtensions
v1.19.1-rc.1](https://www.nuget.org/packages/OpenTelemetry.Api.ProviderBuilderExtensions/1.19.1-rc.1)
No notable changes.
See
[CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/core-1.19.1-rc.1/src/OpenTelemetry.Api.ProviderBuilderExtensions/CHANGELOG.md)
for details.
* NuGet: [OpenTelemetry.Exporter.Console
v1.19.1-rc.1](https://www.nuget.org/packages/OpenTelemetry.Exporter.Console/1.19.1-rc.1)
No notable changes.
See
[CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/core-1.19.1-rc.1/src/OpenTelemetry.Exporter.Console/CHANGELOG.md)
for details.
* NuGet: [OpenTelemetry.Exporter.InMemory
v1.19.1-rc.1](https://www.nuget.org/packages/OpenTelemetry.Exporter.InMemory/1.19.1-rc.1)
No notable changes.
See
[CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/core-1.19.1-rc.1/src/OpenTelemetry.Exporter.InMemory/CHANGELOG.md)
for …

Implements #14288.
Summary
Adds an opt-in partial (stop-after-pass) evaluation model. Callers that only need data produced by an early evaluation pass (most commonly a single property, e.g. the SDK's
ReleasePropertyProjectLocatorreadingPublishRelease/PackRelease) can now stop evaluation after any pass instead of forcing a full evaluation.A new
ProjectEvaluationStageenum andProjectOptions.EvaluationStageknob select how far evaluation proceeds:PropertiesItemDefinitionsItemsUsingTasksFull(default)Property values are final after pass 1, so a stop-at-
Propertiesevaluation yields property values identical to a full evaluation.Changes
Evaluator.cs): early-return after the requested pass, inside the profiler scopes;FinishEvaluation()is still called.Project/ProjectImplandProjectInstanceconstruction,Initialize, andFromFile/FromProjectRootElement/FromXmlReader. Both types exposeEvaluationStage.Items,GetItems,ItemsIgnoringCondition,AllEvaluatedItems,Targets,DefaultTargets) throwsInvalidOperationExceptionnaming the member and stage. Properties andInitialTargetsremain valid fromPropertiesonward.ProjectCollectionreuses a cached project only ifcachedStage >= requestedStageand upgrades a partial cached project in place; publicReevaluateIfNecessary()andCreateProjectInstance()upgrade a partial project toFull; constructingBuildRequestDatafrom a partialProjectInstancethrows.Full) is unchanged — the feature is purely additive/opt-in.PartialEvaluation_Tests.cs(10 tests) and a spec doc.Perf
File-heavy project (500 source files, ~200 properties, 50 targets), Debug engine:
Stop-at-Properties saves ~46% of evaluation wall-clock. Complements a shared
EvaluationContext(see dotnet/sdk#55193) — the two levers stack.Testing
PartialEvaluation_Tests— 10 tests, all pass.Evaluator_Tests(153),ProjectInstance*(55),EvaluationContext(53).Microsoft.Build(net10.0 + net472), 0 warnings / 0 errors.