AvaloniaILSpy icon indicating copy to clipboard operation
AvaloniaILSpy copied to clipboard

Fix saving C# project into a single file | #66

Open TSRBerry opened this issue 3 years ago • 1 comments
trafficstars

Just saw #66 and how nemec commented the responsible line for that behavior. I haven't really spent enough time with the code to confidently say that this works for every invocation of the Save() method. But since there are filters for single and project files, I'm not really sure if my solution is good enough.

While debugging I couldn't figure out how to get the save dialog of this method to open for anything else than for saving a project, so I decided to leave it that way and PR it.

TSRBerry avatar Sep 21 '22 16:09 TSRBerry

image Are you referring to clicking on "Save Code" for a single class? This results in saving a single C# file.

TSRBerry avatar Jan 30 '23 13:01 TSRBerry