I am running NuGet Package Explorer version 22.214.171.124 and seem to have found an issue with using the Save As dialog to save a text file out of a NuGet package.
When using the Save As dialog to export and overwrite a text file, the resulting exported file is incorrect and is a "blending" of the two files.
- Extract the attached Scenario.zip
- Open the 5LinesOfText.txt file and verify the contents
- Open the MyPackage.1.0.0.nupkg and verify the contents of the 3LinesOfText.txt
- From within NuGet Package Explorer, right click on the 3LinesOfText.txt file and choose Save As
- In the Save As dialog, choose to the 5LinesOfText.txt file, click Save, and choose Yes to overwrite the file
The 5LinesOfText.txt should match the contents of the 3LinesOfText.txt file.
The two files appear to be "blended" together.
I've attached to this bug the files I used to recreate the issue.