예! 베타 버전 http://www.linqpad.net/Beta.aspx의 최신 비트로 lprun.exe라는 유틸리티를 얻을 수 있습니다.
Usage: lprun [<options>] <scriptfile> [<script-args>]
options: (all case-insensitive)
-format={text|html|htmlfrag|csv|csvi} Output format. csvi=invariant CSV.
-cxname=<connection-name> Sets/overrides a script's connection.
-lang=<language> Sets/overrides a script's language.
-warn Writes compiler warnings (to stderr).
-optimize Enables compiler optimizations.
-nunuget Freshens NuGet references to latest.
scriptfile: Path to script. If it's a .linq file, -lang & -cxname are optional.
script-args: Args following <script-filepath> are passed to the script itself.
Examples:
lprun TestScript.linq
lprun TestScript.linq > results.txt
lprun script1.linq | lprun script2.linq
lprun -format=csv script.linq HelloWorld
분명히 당신이 당신의 선택의 언어에서 적절한 LINQPad 스크립트를 작성해야하고, 예, Util.Cmd는()
고마워, 나는 당신이 콘솔을 통해 linqpad 스크립트를 실행할 수 있다고 생각합니다. 하지만 linqpad를 통해 콘솔 스크립트를 실행하고 싶습니다. 먼저, 경로를 설정 한 다음 명령을 확인해야합니다. – 4imble