Support export LINQPad script into "dotnet run app.cs" file
Microsoft has recently released .NET 10 Preview 4, which includes a dotnet run app.cs feature. I think it's very similar to the execution environment of LINQPad. I wonder if LINQPad can provide an "Export to .NET Script" feature?
Links:
Comments
-
Or even be an editor for these files, similar to the existing csx support.
-
I plan to look at this later in the cycle, maybe October/November. The documentation is a bit thin right now.
-
The following support for file-based apps has just been introduced into 9.3.5:
- creating new .cs files, saving .linq files as .cs files
- locking .cs files to C# Statements mode
- resolving #:project directives
- resolving #:package directives, including floating versions
- alternate set of implicit namespace imports for .cs files
- updates to code fixes, so that using directives are added to the script source instead of script properties
Go to What's New for info. Let me know how you get on.
