FHIR Chat · Unable to build .NET FHIR API solution · dotnet

Stream: dotnet

Topic: Unable to build .NET FHIR API solution


view this post on Zulip raj (Mar 03 2020 at 13:50):

Have downloaded the Github code from below links and unable to restore packages through Visual Studio . When I try to install Hl7.Fhir nuget package from Manager console, it fails since there no files in Common project. For Eg:
The referenced project '..\..\common\src\Hl7.Fhir.Support.Tests\Hl7.Fhir.Support.Tests.csproj' does not exist.
This doesn't allow me to proceed further.
Can anyone confirm if I missing any other project or solution to build before I access the API and client. I tried with both of these projects
https://github.com/FirelyTeam/fhir-net-api/tree/release/1.5.0-stu3
https://github.com/FirelyTeam/fhir-net-api/tree/release/1.5.0-r4

Running the solution in Visual Studio 2019

Any help is appreciated

view this post on Zulip Michele Mottini (Mar 03 2020 at 14:09):

The common stuff is in a sub-repo, you have to get that as well (check git documentation on how to work with sub-repos)

view this post on Zulip Marco Visser (Mar 03 2020 at 15:50):

Indeed, we introduced a submodule, called fhir-net-common, containing this 'missing' projects. See here https://github.com/FirelyTeam/fhir-net-api/wiki/Clone-this-repository-with-submodule-common howto clone the fhir-net-api repository properly, including the submodules.

view this post on Zulip Josh Mandel (Mar 03 2020 at 16:25):

I'd suggest documenting how to clone in README (PR).


Last updated: Apr 12 2022 at 19:14 UTC