Developer forum

Forum » Dynamicweb 10 » Dependency issue when installing app

Dependency issue when installing app

Vincent Gercke
Reply

Hi!
I'm trying to install an app via a .nupkg file that I have created. The install process via the DW administration is succesful, but when I try to use the functionality my referenced dependency is missing even though it is present in the app folder:

Do you have any idea what I am missing? Should the dependency be placed in the bin folder and if so how do I accomplish this when installing as an app?

BR Vincent


Replies

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply
This post has been marked as an answer

You dependency should not be in bin folder if Dynamicweb already contains the library and it is loaded. 

The exception says you are missing System.Text.Json - your folder contains System.Net.Http.Json and not System.Text.Json.dll. Nor should it.

From the exception it seems your custom solution has a reference to .NET 9, Dynamicweb 10 is currently .NET 8. So check your dependency versions.

Votes for this answer: 1
 
Vincent Gercke
Reply

Thank you for the response! I mixed up the dependencies, thanks for sending me in the right direction.

 

You must be logged in to post in the forum