CLAP icon indicating copy to clipboard operation
CLAP copied to clipboard

.pdb file is included in nuget package

Open The1nternet opened this issue 10 years ago • 4 comments

Hi, it appears maybe you published the debug version of the code, because the .pdb debug database is included in the referenced files when I add this package from nuget. This quadruples the file size and while I can manually remove the file, it creates additional maintenance I don't want.

The1nternet avatar Apr 27 '15 23:04 The1nternet

It's fine. Most people prefer to have the pdb. As long as you can manually delete it - it's OK.

adrianaisemberg avatar Apr 27 '15 23:04 adrianaisemberg

well, this is a deal breaker for me. while I can delete the file every time I build my project, I'm gonna have to use a different library that doesn't force me to do so, since I can't risk the added file size.

The1nternet avatar Apr 27 '15 23:04 The1nternet

OK

On Mon, Apr 27, 2015, 4:08 PM The1nternet [email protected] wrote:

well, this is a deal breaker for me. while I can delete the file every time I build my project, I'm gonna have to use a different library that doesn't force me to do so, since I can't risk the added file size.

— Reply to this email directly or view it on GitHub https://github.com/adrianaisemberg/CLAP/issues/35#issuecomment-96845940.

adrianaisemberg avatar Apr 27 '15 23:04 adrianaisemberg

What kind of system are you working on where a megabyte or two of hard disk space is a deal breaking risk? Keep in mind that the destination machine must be running .NET, which means it's some form of Windows and has enough space for .NET (which is much, much larger than the pdb in question). It also has to have a command line interface as a typical execution mechanism for your program, which rules out mobile.

What's more, you should be filing a bug with MSBuild that it copies existing pdb files for dependent DLLs even when you disable pdb building on the project.

bladeoflight16 avatar Nov 19 '15 00:11 bladeoflight16