Skip to content

External references/packages are incorrectly included in to the compiled DLL #154

@Jesse-Schokker

Description

@Jesse-Schokker

Hey,

I am using DllExport for this project and I need a library (Newtonsoft.Json) that serialized JSON for me. As usual, I install it using NuGet. However, when using it inside my Java projects it crashes due to it not being able to find the dependency. As a double check I created another .NET project and simply just referenced the built DLL from there and got the same result. Whenever I use the DLL that is not generated by DllExport it works fine. Only the DLL built using DllExport has this issue.

I've checked the DLL that was generated using a dependency inspector tool ( https://github.com/lucasg/Dependencies ) and it seems like the dependency is registered however it is not found as you can see here:

I have attached the build log and full project.

Steps to reproduce:

  • DllExport -version: 1.7.1
  • Used Visual Studio / MSBuild / : Visual Studio 2019 / Jetbrains Rider 2020.1

Information from Data tab or log data:

build_new.txt

Demo Project files / Samples / etc.:

GDBridgeProject.zip

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions