Problems with reference FemDesign.Core [SOLVED]

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:


(No methods from FemDesign.Core can be accessed.)

When I try using NuGet I get the following error:


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?

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

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

Hi @KPN :wave:
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 :slight_smile:

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 :link: GitHub

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

Reference dll in Visual Studio

1 Like

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

:muscle::muscle::muscle:

Keep pushing! Coding will become easier and easier during the time :slight_smile:

1 Like