Skip to content

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

Open
@CodeSmile-0000011110110111

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

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