LINQPad - can you run a linqpad script from the command-line?

风格不统一 提交于 2019-12-01 17:24:11

lprun from LinqPad has already arrived:

http://www.linqpad.net/lprun.aspx

Yes, as of LINQPad v4.45.05:

LINQPad.exe "c:\path\to\my\script.linq" -run

To close the LINQPad window, be sure to call this at the end of your script:

Process.GetCurrentProcess().CloseMainWindow();

The ability to run LINQPad scripts from the command lines was just added in beta version 4.47

Full documentation on the new lprun.exe utility is available on: http://www.linqpad.net/lprun.aspx

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!