When compiling with VS2019 I got a lot of reference errors. This is the cause:
Something has changed in VS2019 with the NuGet package system.
I made the mentioned changes and now this project compiles.
I also tried in VS2017 and luckily in VS2017 is still compiles as well.
Changes are in