Open
Description
Context
related #10398
MSBuild evaluator has so called 'fast path' for the property functions evaluation:
msbuild/src/Build/Evaluation/Expander.cs
Line 3684 in 9045cf7
Not being on the fast path means a fallback to a reflection need which makes the call more expensive. We should make sure that for common usage patterns (creating/building/publishing new console/web app) do not need any property functions that are not on the 'fast path'
Goal
Integration test(s) in dotnet/sdk repo (we need it there to catch the regressions early on) that turns on MSBuildLogPropertyFunctionsRequiringReflection=true
and verifies that no functions are being required.
We should be able to use DotnetNewCommand
and DotnetBuildCommand
to auther the test(s). Inspiration: