Typo in ArchiveReader.cs will cause build to fail in all configurations except Debug #52

Closed
opened 2026-01-29 22:05:47 +00:00 by claunia · 1 comment
Owner

Originally created by @haykpetros on GitHub (Aug 3, 2015).

If you look at Line 246 in "SharpCompress\Common\SevenZip\ArchiveReader.cs" you will notice extra line that is causing build to fail in any build configuration other than Debug:

#if DEBUG
                            Log.WriteLine("Complex Stream (In: " + coder.NumInStreams + " - Out: " + coder.NumOutStreams +
#endif
 ")");
                        }

So it is necessary to remove Line 246 completely in order to fix this issue.

Originally created by @haykpetros on GitHub (Aug 3, 2015). If you look at Line 246 in "SharpCompress\Common\SevenZip\ArchiveReader.cs" you will notice extra line that is causing build to fail in any build configuration other than Debug: ``` cs #if DEBUG Log.WriteLine("Complex Stream (In: " + coder.NumInStreams + " - Out: " + coder.NumOutStreams + #endif ")"); } ``` So it is necessary to remove Line 246 completely in order to fix this issue.
Author
Owner

@adamhathcock commented on GitHub (Aug 3, 2015):

Thanks for this, could you make this a Pull Request by chance?

@adamhathcock commented on GitHub (Aug 3, 2015): Thanks for this, could you make this a Pull Request by chance?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/sharpcompress#52