Hey folks, while I'm ingesting the new SDK and updating our TFM to net5.0, I ran into the following error:
.dotnet/sdk/5.0.100-preview.5.20258.4/Microsoft.Common.CurrentVersion.targets(84,5): error MSB4184: (NETCORE_ENGINEERING_TELEMETRY=Restore) The expression "[Microsoft.Build.Utilities.ToolLocationHelper]::GetPathToStandardLibraries(_, v.0, '', '', '', '')" cannot be evaluated. Input string was not in a correct format.
Tracking this part down a little it seems like the property EnableFrameworkPathOverride used to be set to false for apps targeting netcoreapp5.0 but now due to the change in tfm, the logic there is skipped and therefore the the line in Microsoft.Common.CurrentVersion.targets fails:
<FrameworkPathOverride Condition="'$(EnableFrameworkPathOverride)' != 'false' And '$(FrameworkPathOverride)' == ''">$([Microsoft.Build.Utilities.ToolLocationHelper]::GetPathToStandardLibraries($(TargetFrameworkIdentifier), $(TargetFrameworkVersion), $(TargetFrameworkProfile), $(PlatformTarget), $(TargetFrameworkRootPath), $(TargetFrameworkFallbackSearchPaths)))</FrameworkPathOverride>
What is the expected behaviour and what should we be doing to resolve this? Who would be the best person to answer this question? @dsplaisted @wli3 @peterhuene
Hey folks, while I'm ingesting the new SDK and updating our TFM to net5.0, I ran into the following error:
Tracking this part down a little it seems like the property
EnableFrameworkPathOverrideused to be set to false for apps targeting netcoreapp5.0 but now due to the change in tfm, the logic there is skipped and therefore the the line in Microsoft.Common.CurrentVersion.targets fails:What is the expected behaviour and what should we be doing to resolve this? Who would be the best person to answer this question? @dsplaisted @wli3 @peterhuene