Home

Issue with LINQPad.Util.OpenQuery

I use LINQPad.Util.OpenQuery quite a lot with args.

I have an isse with Linqpad not being able to open the same script mutliple times.

LINQPad.Util.OpenQuery(Path.Combine(LINQPad.Util.CurrentQuery.Location, "Script.linq"), true, true, new[] { "Foo" });
LINQPad.Util.OpenQuery(Path.Combine(LINQPad.Util.CurrentQuery.Location, "Script.linq"), true, true, new[] { "Bar" });

Will only open Script.linq once and only run with the arg "Foo".

Would be great with a parameter bool openNew or something.

Sign In or Register to comment.