What are the challenges you face when working across database platforms? Take the survey

Why is my build failing with System.IO.EndOfStreamException?

Why is my build failing with System.IO.EndOfStreamException? And what can I do to fix it?

If I embed my DLLs, it builds fine; but if I merge the exact same DLLs, I get the message:

Build Failed
The build process failed during the preparation of the resulting assembly.
System.IO.EndOfStreamException: Unable to read beyond the end of the stream.

There is no further explanation. There is no indication what's causing the problem. And System.IO.EndOfStreamException does not appear anywhere on the Redgate site.


  • Options
    serkanpserkanp Posts: 1 New member
    i have the same problem.. is there any solution?
  • Options
    RichardLRichardL Posts: 417 Gold 4
    Hi @serkanp

    Thanks for your post. 

    This looks like a question that one of Support engineers will need to investigate for you.


    If you have a support contract, please send us a ticket. Provide as much information as you can - screenshots of any errors, log files etc – so we can help you as fast as possible.

    If you're not covered by a Support contract at the moment, email our Sales team at sales@red-gate.com, and they'll be able to help. 

    Customer Support
    Redgate Software
Sign In or Register to comment.