Search code examples
c#.net-corehl7-fhirdstu2-fhir

Vonk FHIR Facade - Vonk Server could not load file or assembly System.Runtime


As I implement Vonk FHIR Facade using the link, I've performed all steps successfully uptil this point and placed the resulting dlls in plugins directory.

Now when I start the Vonk server, it fails with following error:

Startup Failed: Could not load file or assembly 'System.Runtime, Version=4.2.1.0, Culture=neutral, PublishToken=xxxxxxxxxx' The system cannot find the file specified.

I've build my Vonk Facade project in .NET Core 2.1.

Any solution or workaround would be highly appreciated.


Solution

  • With the help of @Alexander Zuatke and Firely team, we found that Vonk server v2.0.0.0 still targets netcoreapp 2.0 internally.

    So we have to target our development project i.e. Vonk Facade to .NET Core 2.0