Linqpad6 no longer has "Do not shadow assembly references" option


In Linqpad 5, under Edit>Preferences>Advanced there was an option to disable the default shadow/temp folder behavior and use the assemblies directly, though it seems this is no longer available in Linqpad 6. So my AppDomain.CurrentDomain.BaseDirectory is a temporary folder like C:\Users\\AppData\Local\Temp\LINQPad6_kbxkhhme\shadow-2.

I tried to get around this by customizing environment variables within my script, like
Environment.SetEnvironmentVariable("LINQPAD_LOCALAPPDATA", [path to my assemblies]);
Environment.SetEnvironmentVariable("LINQPAD_TEMP", [path to my assemblies]);

within the script, but it did not seem to change the behavior at all. Maybe there is a different way I should be setting environment variables?

Is there a reason that it's no longer possible to disable "shadow assembly references"?

Thank you for your time.


Sign In or Register to comment.