ImGuiNET / ImGui.NET

An ImGui wrapper for .NET.
MIT License
1.85k stars 300 forks source link

PDB files for cimgui #103

Open smilediver opened 5 years ago

smilediver commented 5 years ago

I'm trying to integrate ImGui.NET in my Unity project, but I can't get it running. I'm trying to set it up, but it just crashes inside cimgui and there's no useful stack trace to figure out why. It would really help if there were PDB files for cimgui.dll.

mellinoe commented 5 years ago

Unfortunately, there's not a very good story for shipping native PDB's inside NuGet packages, like there is for managed PDB's. At the moment, your best bet is to build cimgui yourself and deploy the DLL+PDB.

smilediver commented 5 years ago

That's what I've ended up doing. Anyway, maybe the next best thing would be including PDB files in the repo, next with cimgui.dlls?

danielcrenna commented 5 years ago

@mellinoe just to echo @Smilediver it would be great if we could get a standalone dependency repository as a separate repo that we can submodule into our projects. I'm doing the same thing for FNA here: https://github.com/conatuscreative/fnalibs. Willing to do the same, of course, but you may want an official source for it. For now we're submoduling in the full source repo.

mellinoe commented 5 years ago

I'm not sure exactly what I can do here to make things easier, but I do want to point out that I have a separate repository set up which is responsible for producing all of the native binaries for each release: https://github.com/mellinoe/ImGui.NET-nativebuild/releases. I can configure the build process to archive the PDBs as well as the DLL's. It doesn't get them bundled into the NuGet package, but at least they'd be available somewhere.