# Problems with reference FemDesign.Core \[SOLVED\]

**URL:** https://femdesign.discourse.group/t/problems-with-reference-femdesign-core-solved/370
**Category:** C#
**Tags:** solved
**Created:** [12 October 2024 10:05 UTC](https://femdesign.discourse.group/t/problems-with-reference-femdesign-core-solved/370 "2024-10-12T10:05:08Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![KPN](https://dub1.discourse-cdn.com/flex017/user_avatar/femdesign.discourse.group/kpn/32/379_2.png) [@KPN](https://femdesign.discourse.group/u/KPN)
#### Post date: [12 October 2024 10:05 UTC](https://femdesign.discourse.group/t/problems-with-reference-femdesign-core-solved/370/1 "2024-10-12T10:05:08Z")

</div>

My understanding is that adding FemDesign.Core in solution node and Dependencies in project node and calling correct “using” namespace is a correct way to reference.

Here is a screenshot when I try to reference it:

 ![Referens_error](https://europe1.discourse-cdn.com/flex017/uploads/femdesign_api/original/1X/45af30a739baabe280d6419df5a83037e376af00.png)  
(No methods from FemDesign.Core can be accessed.)

When I try using NuGet I get the following error:

 ![Referens_error](https://europe1.discourse-cdn.com/flex017/uploads/femdesign_api/original/1X/45af30a739baabe280d6419df5a83037e376af00.png)  
I have instances when I get stuck with v 23.6.0 (unable to update) and namespaces with errors seen in the picture above can’t be accessed.

When using Nuget and installing v 23.6.1 I seem to be able to run “Example 2 - Simple slab”  
but I was interested if anyone else have experience this problem and maybe have some fix for it?

---

<div class="post-metadata">

### Author: ![MarcoPelle](https://dub1.discourse-cdn.com/flex017/user_avatar/femdesign.discourse.group/marcopelle/32/6_2.png) [@MarcoPelle](https://femdesign.discourse.group/u/MarcoPelle)
#### Post date: [12 October 2024 10:36 UTC](https://femdesign.discourse.group/t/problems-with-reference-femdesign-core-solved/370/2 "2024-10-12T10:36:04Z")

</div>

Ehy @KPN

There has been an issue with 23.6.0 release as it does not installed automatically all the packages required by our ~~API. 23.6.1~~ API. 23.7.5 has solved that issue.

FYI, You should always be able to update to a newer version. If it is not possible, fell free to let me know the issue that you are facing.  
However, you can still install the missing packages from nuget on your own

---

<div class="post-metadata">

### Author: ![KPN](https://dub1.discourse-cdn.com/flex017/user_avatar/femdesign.discourse.group/kpn/32/379_2.png) [@KPN](https://femdesign.discourse.group/u/KPN)
#### Post date: [24 October 2024 17:05 UTC](https://femdesign.discourse.group/t/problems-with-reference-femdesign-core-solved/370/3 "2024-10-24T17:05:18Z")

</div>

Is there any guide on how to reference FemDesign.Core without using NuGet?  
Or is this a requirement?

---

<div class="post-metadata">

### Author: ![MarcoPelle](https://dub1.discourse-cdn.com/flex017/user_avatar/femdesign.discourse.group/marcopelle/32/6_2.png) [@MarcoPelle](https://femdesign.discourse.group/u/MarcoPelle)
#### Post date: [25 October 2024 07:47 UTC](https://femdesign.discourse.group/t/problems-with-reference-femdesign-core-solved/370/4 "2024-10-25T07:47:14Z")

</div>

Hi @KPN 👋  
23.7.5 version of nuget has been released and it finally download all the references automatically!  
I had some hard time in finding what was the error. Please, feel free to try again 🙂

However, if you do not have access to Nuget, you can add reference manually following the instruction below.

# Download FEM-Design API dll

The best place to download the `.dll` is from 🔗 [GitHub](https://github.com/strusoft/femdesign-api/releases/tag/23.7.0)

The contents of `femdesign_csharp` is what you will need to reference.

Later, you will need to reference the .dll in your project. A quick google research should help you. I have selected few posts for you.

## Reference dll in Visual Studio Code

> <https://stackoverflow.com/questions/41381064/vscode-c-add-reference-to-custom-assembly>

## Reference dll in Visual Studio

> <https://stackoverflow.com/questions/12992286/how-to-add-a-dll-reference-to-a-project-in-visual-studio>

---

<div class="post-metadata">

### Author: ![KPN](https://dub1.discourse-cdn.com/flex017/user_avatar/femdesign.discourse.group/kpn/32/379_2.png) [@KPN](https://femdesign.discourse.group/u/KPN)
#### Post date: [26 October 2024 11:29 UTC](https://femdesign.discourse.group/t/problems-with-reference-femdesign-core-solved/370/5 "2024-10-26T11:29:21Z")

</div>

Thank you 🙂 I was referencing FemDesign.Core.csproj.  
When I reference FemDesign.Core.dll according to the links it works!

---

<div class="post-metadata">

### Author: ![MarcoPelle](https://dub1.discourse-cdn.com/flex017/user_avatar/femdesign.discourse.group/marcopelle/32/6_2.png) [@MarcoPelle](https://femdesign.discourse.group/u/MarcoPelle)
#### Post date: [26 October 2024 16:57 UTC](https://femdesign.discourse.group/t/problems-with-reference-femdesign-core-solved/370/6 "2024-10-26T16:57:25Z")

</div>

💪💪💪

Keep pushing! Coding will become easier and easier during the time 🙂
