FHIR Chat · Obstacles compiling the latest fhir-net-api · dotnet

Stream: dotnet

Topic: Obstacles compiling the latest fhir-net-api


view this post on Zulip Kirt Noel (Oct 29 2019 at 16:28):

Using git downloaded the .NET FHIR API in hopes of improving my understanding. However, I'm encountering obstacles compiling it.

The errors indicate that it cannot resolve referenced projects. Here are 2 examples:

\fhir-net-api\common\src\Hl7.Fhir.ElementModel\Hl7.Fhir.ElementModel.csproj : error : The project file cannot be found.
\fhir-net-api\common\src\Hl7.Fhir.Serialization\Hl7.Fhir.Serialization.csproj : error : The project file cannot be found.

When I navigate through the directory tree of GitHub these projects do not seem to be present.

Am I doing something incorrectly? Any advice or guidance is appreciated.

Thanks,
Kirt

view this post on Zulip Marco Visser (Oct 29 2019 at 17:00):

Hi Kirt, we are using git submodules, so you should also init those submodules. See our Wiki page how to clone our repository.

When you already cloned the repository then you can use the following commands to initialize and update the submodule Common:

  • git submodule init
  • git submodule update

view this post on Zulip Kirt Noel (Oct 29 2019 at 17:38):

That worked perfectly. Thank-you!


Last updated: Apr 12 2022 at 19:14 UTC