"Referenced queries must have the same connection as the main query." in LINQPad 6
Options
I'm using LINQPad 6.0.28, when both main query and child query using exact *SAME* database, I'm pretty sure these 2 query *IS* using the same database, and everything working fine in LINQPad 5. but I still get this error:

I managed to find this message this from here:

After same investigation, I changed Util.Run into these code, that's my work around:

I managed to find this message this from here:

After same investigation, I changed Util.Run into these code, that's my work around:
public static void Execute(string queryName)
{
queryName.Dump("Executing...");
var currentDir = Path.GetDirectoryName(Util.CurrentQueryPath);
Util.Cmd($@E:\_\LINQPad6\LPRun6.exe "{currentDir}\{queryName}.linq""");
}
Comments
-
Does it help if you go to the referenced query and re-save it?
Note that the referenced query have the identical connection - i.e., refer to the same node on the schema explorer. -
No help, I tried modify the database to none and set back to the original one again(and save), issue still occurs.
-
I've changed the error to a warning, and relaxed the rules on compatibility. Let me know if it's still a problem.