You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
davkean
changed the title
Calculating FrameworkPathOverride takes up to 1.2% of a solution-wide design-time build
Calculating FrameworkPathOverride takes up to 1.2% of evaluation of a solution-wide design-time build
Sep 14, 2017
davkean
changed the title
Calculating FrameworkPathOverride takes up to 1.2% of evaluation of a solution-wide design-time build
Calculating $(FrameworkPathOverride) takes up to 1.2% of evaluation of a solution-wide design-time build
Sep 14, 2017
davkean
changed the title
Calculating $(FrameworkPathOverride) takes up to 1.2% of evaluation of a solution-wide design-time build
Calculating $(FrameworkPathOverride) takes up to 1.4% of evaluation of a solution-wide design-time build
Sep 14, 2017
* Introduce EnableFrameworkPathOverride property
Setting this property to `true` will skip evaluation of `FrameworkPathOverride` which can be expensive.
New SDK projects set FrameworkPathOverride to an empty string because all references from from NuGet packages. So calculating the value is unnecessary overhead
Fixes#2518 once the SDK sets this property in Sdk.props
* Introduce EnableFrameworkPathOverride property
Setting this property to `true` will skip evaluation of `FrameworkPathOverride` which can be expensive.
New SDK projects set FrameworkPathOverride to an empty string because all references from from NuGet packages. So calculating the value is unnecessary overhead
Fixesdotnet#2518 once the SDK sets this property in Sdk.props
See: dotnet/sdk#1586
<FrameworkPathOverride Condition="'$(FrameworkPathOverride)' == ''" >$([Microsoft.Build.Utilities.To...
<FrameworkPathOverride Condition="!Exists('$(FrameworkPathOverride)\mscorlib.dll')" >$(MSBuildFramew...
<FrameworkPathOverride Condition="'$(FrameworkPathOverride)' == '' And Exists('$(TargetFrameworkRoot...
Make note, that for 43 of those evaluations in the linked issue, FrameworkPathOverride is reset to nothing:
<FrameworkPathOverride />
The text was updated successfully, but these errors were encountered: