LINQPad 6 fails to start after VS upgrade to 16.5.5 upgraded .net core from 3.1.3 to 3.1.4
The "Download .NET Core 3.exe" appears to say the 3.1.4 install is fine
However, after that upgrade, linqpad 6 fails on startup
I had coworkers hit this as well so I don't think it's just me.
I copied that file (Microsoft.WindowsDesktop.App.runtimeconfig.json) from the 3.1.4 path to the 3.1.3 path and linqpad 6 started, but the file contents says version 3.1.4 and linqpad help -> about says it's running under 3.1.4
The *runtimeconfig.json files for linqpad both seem to be version 3.0.0 and rollForward of LatestMajor so not sure how/why it's looking at 3.1.3 path directly.
Comments
found the issue - the upgrade had left the C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App\3.1.3 directory around, just empty - removing the empty folder was sufficient to get linqpad6 to start fine, so if it's somehow searching under there to figure out the version to use, I guess it needs to filter out any leftover empty dirs like that.
Thanks for reporting. This was fixed in a recent beta (which is RTM as of today). The automatic update should roll out within a few days.