Home

LINQPad 6.10.13 (x64) loading netcore 3.0 for Linq2db driver

I updated to v6.10.13 today and started getting errors on all of my connections to the effect that linq2db 3.0.1 requires System.Runtime version 4.2.2.0 and LINQPad was running 4.2.1.0 instead. Thos only happened on one of my computers and turned out to be quite fun to track down.

This affected both queries and schema generation in the connection list.

The issue seems to be that I had recently opened a .NET Core 3.0 project in VS2019 on that computer, causing VS to install the .NET Core 3.0 targeting pack. Even though I had the query options set to "Latest installed RTM (.NET Core 3.1.8)" the drivers appeared to be running under 3.0 instead.

After uninstalling and deleting all trace of .NET Core 3.0 from my system LINQPad is fully functional again. However I fairly frequently work on older projects with a variety of targets and it seems likely that I may encounter this problem again. Since the issue only started after the update to v6.10.13 is it safe to assume that something has changed about the framework version logic? Is there anything I can do to forbid LINQPad from attempting to use .NET Core 3.0 in future?

Comments

Sign In or Register to comment.