rasheemo
Posts: 1
Joined: Fri Mar 11, 2022 1:25 pm

Missing dependencies when trying to install?

Fri Mar 11, 2022 2:32 pm

So, the issue is that the installer is missing dependencies when attempting to install on our dev server. The installer, after building fine for one deployment, now won't build without making changes to it... Which includes deleting files from the installer that it's looking for. I believe the installer wants a SqlClient DLL, and after removing it the installer works, but the exe won't run. Complains it's missing EntityFramework, which we don't use unless it's a dependency of a dependency.

So it builds, but the resulting installer is missing dlls.

Or... It doesn't build, if we don't make any changes, because it's looking for netstandard2.0 folder but the dependency is in a different folder.

Screenshot 1: https://i.imgur.com/XN1CEEv.png
Actual location of dependency: https://i.imgur.com/PaTxk9i.png

Liviu
Posts: 1035
Joined: Tue Jul 13, 2021 11:29 am
Contact:  Website

Re: Missing dependencies when trying to install?

Tue Mar 15, 2022 11:31 am

Hello and welcome to our forums,

Most likely, that happens because your files are not in that location anymore: "...\nestandard2.0\System.Data.SqlClient.dll"

As I can see, your dll is now in: "...\netcoreapp2.1\System.Data.SqlClient.dll"

You need to update the source path of these two files from the "Files and Folders" page since these files refer to the path when you first added them in the project.

Just right click on your missing files --> "Properties"--> "Source path" field and pick the file from the new location.
source file.png
source file.png (38.58KiB)Viewed 1433 times

Hope this helps!

Best regards,
Liviu
________________________________________
Liviu Sandu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”