New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Output file empty #1412

Closed
tonysneed opened this Issue Feb 7, 2019 · 1 comment

Comments

Projects
None yet
1 participant
@tonysneed
Copy link

tonysneed commented Feb 7, 2019

When I omit the -o flag decompiled code is shown in the console. But if I add -o and specify a directory, the *.decompiled.cs file is empty.

@tonysneed

This comment has been minimized.

Copy link
Author

tonysneed commented Feb 7, 2019

I found the problem. It looks like the TextWriter is not being flushed: output.Flush() needs to be added here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment