Skip to content

NuGet+Unity: include both Debug & Release DLLs and PDBs #157

Open

Description

It would be helpful to have both Debug and Release DLLs available in NuGet package.

For Unity, it suffices to add a define constraint DEBUG to the debug Dll. This ensures that builds use/copy the Debug DLL only when the "Development Build" checkbox is enabled. In all other cases the Release Dll will be copied.

Image

I just tested this to confirm it still works this way, and that the editor doesn't list "Lua.dll" twice in the Assembly Definition under Assembly References.

It would also help in debugging to have the PDB files included as well. Unity will only copy them to builds if the user has "Copy PDB files" enabled:

Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions