FHIR Chat · Troubles with FhirPath · dotnet

Stream: dotnet

Topic: Troubles with FhirPath


view this post on Zulip Richard Kavanagh (May 31 2017 at 08:11):

I have a few .NETapps that all use the same version of the .NET libraries, installed via NuGet

pasted image

When reading in an FHIR XML Bundle I now get an error as per the image below. I know the test data is fine as it is used in other applications. What I cannot understand is why if is expecting 0.4.2.0 version of FhirPath as this is not a dependency and other apps that use the same versions of the library work OK
pasted image

Any ideas?

view this post on Zulip Michel Rutten (May 31 2017 at 09:57):

@Richard Kavanagh Sometimes Visual Studio/NuGet will add some assembly redirects to your applications app.config file that may cause runtime binding issues. So whenever I get such errors, I manually remove all redirects. This usually fixes the problem. If not, then your application may be (indirectly) referencing multiple different versions of the FHIR .NET API simultaneously.


Last updated: Apr 12 2022 at 19:14 UTC