.NET Core: Could not load file or assembly 'System.Runtime, Version=4.2.0.0" · Issue #160 · Azure/azure-functions-vs-build-sdk

This seems very similar to Issue 150 and Issue 139 but I could not solve the problem by removing dependencies to my shared library. So now, I just have .NET Core class library the nugets as listed ...