AvaloniaILSpy
AvaloniaILSpy copied to clipboard
Save Code not working for "C# Project"
When trying to save an assembly code with the option selected as "C# Project", ILSpy only exports a single file, insead of the supposed multiple individual C# files.
It seems, for some reason, AvaloniaILSpy mixes all the code together in a single file, probably, it's ignoring the "C# Project" option.
Anyone know if this is just a temporary bug or a future feature that doesn't exist in this version yet?
I can't reproduce this. Could you give us more information? like version, OS, files, and steps?
Not sure if this is the same issue you're seeing, but it works for me if I manually add a .csproj
extension to the default chosen file name in the save dialog. I would have expected it to create a project layout regardless if the "C# project" option is selected, but it only does so if the save file has the right extension, which it doesn't by default.
Running on Ubuntu 21.10 / latest CI build of AvaloniaILSpy
Line of code responsible: https://github.com/icsharpcode/AvaloniaILSpy/blob/master/ILSpy.Core/TreeNodes/AssemblyTreeNode.cs#L333