You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Run the following code on .net48 and .net8.0, and then extract the generated docx file with 7zip, the .net48 output file has an error:
@JerryJian is this a regression? i.e. did it work before?
It's generally expected to not use the stream for anything else until the package has been disposed. I'm honestly surprised it worked on .NET 8 - I'd expect it to not have finalized some things before dispose.
Describe the bug
Run the following code on .net48 and .net8.0, and then extract the generated docx file with 7zip, the .net48 output file has an error:
The code:
Screenshots
To Reproduce
The code in the Describe the bug section.
Steps to reproduce the behavior:
Observed behavior
The output file of net48 is corrupted
Expected behavior
The files produced by net48 are the same as those produced by net8.0
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
Edit
The OpenSettings is not relevant to the current problem, so it has been removed.
The text was updated successfully, but these errors were encountered: