Proposal to Add Export Feature for LINQPad Scripts as File-based Apps

Options

I would like to make a suggestion regarding the enhanced File-based App feature in .NET 10 preview 6. Strictly speaking, LINQPad scripts and File-based Apps do not have a one-to-one correspondence, but I personally believe that if there were a feature to export LINQPad scripts as single C# files in the File-based App style, it could enable a wide range of use cases by allowing developers to directly create and distribute CLI tools or native libraries without relying on Visual Studio. I would like to hear your thoughts on this.

ref - https://github.com/dotnet/core/blob/main/release-notes/10.0/preview/preview6/sdk.md#file-based-apps