<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:content="http://purl.org/rss/1.0/modules/content/"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>General — LINQPad</title>
        <link>https://forum.linqpad.net/</link>
        <pubDate>Mon, 20 Apr 2026 16:46:19 +0000</pubDate>
        <language>en</language>
            <description>General — LINQPad</description>
    <atom:link href="https://forum.linqpad.net/categories/general/feed.rss" rel="self" type="application/rss+xml"/>
    <item>
        <title>Any plans to use Github Copilot (NOW AVAILABLE)</title>
        <link>https://forum.linqpad.net/discussion/3256/any-plans-to-use-github-copilot-now-available</link>
        <pubDate>Sun, 01 Sep 2024 14:24:28 +0000</pubDate>
        <category>General</category>
        <dc:creator>RazerWolf</dc:creator>
        <guid isPermaLink="false">3256@/discussions</guid>
        <description><![CDATA[<p>I know you support GPT Turbo 3.5, but many times (surprisingly I know) I get better results using Github Copilot. Any reason you've decided not to support it?</p>
]]>
        </description>
    </item>
    <item>
        <title>Is there a relatively easy way to include a custom &#39;OnStart()&#39; in every script I create?</title>
        <link>https://forum.linqpad.net/discussion/3570/is-there-a-relatively-easy-way-to-include-a-custom-onstart-in-every-script-i-create</link>
        <pubDate>Sun, 19 Apr 2026 17:52:53 +0000</pubDate>
        <category>General</category>
        <dc:creator>CraigVenz</dc:creator>
        <guid isPermaLink="false">3570@/discussions</guid>
        <description><![CDATA[<p>My use case:</p>

<p>I am often using Html controls to build UIs in Linqpad. I understand that when I don't use <code spellcheck="false" tabindex="0">Util.KeepRunning()</code>, breakpoints in the debugger won't be hit in things triggered by events, because the main thread has already ended at this point, and all subsequent event handlers are running in separate threads.</p>

<p>I did a quick experiment where I added:</p>

<pre spellcheck="false" tabindex="0">void OnStart()
{
    if (Debugger.IsAttached)
        Util.KeepRunning();
}
</pre>

<p>and as long as I have the 'Break when exception is unhandled' box checked on my query, this does what I need.</p>

<p>I was thinking I'd just like that piece of code to be automatically included in all new scripts I create. I was talking to Claude Sonnet about this and it appears to have hallucinated that such a 'template script' feature exists in Advanced, but I don't see it... so, thanks Claude. <img src="https://forum.linqpad.net/resources/emoji/disappointed.png" title=":disappointed:" alt=":disappointed:" height="20" /></p>

<p>Curious if anyone else has these kinds of slight annoyances and if they have any suggestions for what I'm sort of trying to accomplish. Likely the best thing is to just add a snippet and remember to use it for UI scripts.</p>
]]>
        </description>
    </item>
    <item>
        <title>LINQPad hosted wiki</title>
        <link>https://forum.linqpad.net/discussion/3560/linqpad-hosted-wiki</link>
        <pubDate>Fri, 27 Mar 2026 17:27:11 +0000</pubDate>
        <category>General</category>
        <dc:creator>JeffMercado</dc:creator>
        <guid isPermaLink="false">3560@/discussions</guid>
        <description><![CDATA[<p>I was just looking back at the old Stack Overflow post listing out a lot of the extension methods:</p>

<p><a href="https://stackoverflow.com/questions/3555317/linqpad-extension-methods" rel="nofollow">https://stackoverflow.com/questions/3555317/linqpad-extension-methods</a></p>

<p>Considering the leadership's direction with the site, I'm not confident the post (and site 😖) will be around for much longer.</p>

<p>Have you considered adding a wiki to have a more official "guide" and documentation?</p>

<p>I'm not volunteering myself to manage it, but I would definitely make some contributions. Info in posts like that wouldn't be lost and if there's enough interest, we can help keep it up to date.</p>
]]>
        </description>
    </item>
    <item>
        <title>Roadmap for cross platform (ubuntu/linux)?</title>
        <link>https://forum.linqpad.net/discussion/1983/roadmap-for-cross-platform-ubuntu-linux</link>
        <pubDate>Mon, 11 Nov 2019 14:42:53 +0000</pubDate>
        <category>General</category>
        <dc:creator>davidroth</dc:creator>
        <guid isPermaLink="false">1983@/discussions</guid>
        <description><![CDATA[We are seeing more and more developers using ubuntu + rider instead of windows/vs for .net core development.
The one tool that they are all missing with this stack is linqpad.

I am curious on what the current status for a x-plat linqpad is?

I guess you are still evaluating options for the ui-layer? 	
Can you provide a rough estimate when we might see an x-plat linqpad? (months, years, decades :-D)

Thanks for a quick feedback.]]>
        </description>
    </item>
    <item>
        <title>How can I coax LPRun (any version) to run within Azure App Services&#39; Kudu/SCM?</title>
        <link>https://forum.linqpad.net/discussion/3569/how-can-i-coax-lprun-any-version-to-run-within-azure-app-services-kudu-scm</link>
        <pubDate>Wed, 15 Apr 2026 09:52:24 +0000</pubDate>
        <category>General</category>
        <dc:creator>DaiPlusPlus</dc:creator>
        <guid isPermaLink="false">3569@/discussions</guid>
        <description><![CDATA[<p>I'd like to use LPRun to run some LinqPad scripts for more complex housekeeping tasks in Azure App Services that would be far too painful to write in .cmd or PowerShell.</p>

<p>However, LPRun doesn't seem to want to run:</p>

<p>(Yes, I've read the bundled <code spellcheck="false" tabindex="0">Help! LINQPad won't start!.txt</code> readme files; but despite the restrictions in the Azure App Service sandbox (<code spellcheck="false" tabindex="0">rsfilter.sys</code>, fyi), the full <code spellcheck="false" tabindex="0">dotnet</code> environment is ostensibly available, hence why I'm unsure of the exact cause of all these errors (below) about LPRunN.exe not finding any installed versions of dotnet.</p>

<hr /><p><strong>LinqPad 5 LPRun.exe</strong>:</p>

<pre spellcheck="false" tabindex="0">C:\home\site\Utility\LPRun\LPRun5&gt;LPRun.exe
IOException: The handle is invalid.

   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.__Error.WinIOError()
   at System.Console.set_InputEncoding(Encoding value)
   at LINQPad.Cmd.LPCmd.Run(String[] args)

C:\home\site\Utility\LPRun\LPRun5&gt; 
</pre>

<p><strong>LinqPad 6 LPRun6.exe</strong>:</p>

<pre spellcheck="false" tabindex="0">C:\home\site\Utility\LPRun\LPRun6&gt;lprun6.exe
You must install or update .NET to run this application.

App: C:\home\site\Utility\LPRun\LPRun6\LPRun6.exe
Architecture: x64

Framework: 'Microsoft.WindowsDesktop.App', version '3.1.0' (x64)
.NET location: C:\Program Files\dotnet

No frameworks were found.

Learn more:
https://aka.ms/dotnet/app-launch-failed

To install missing framework, download:
https://aka.ms/dotnet-core-applaunch?framework=Microsoft.WindowsDesktop.App&amp;framework_version=3.1.0&amp;arch=x64&amp;rid=win-x64&amp;os=win10
C:\home\site\Utility\LPRun\LPRun6&gt; 
</pre>

<p><strong>LinqPad 6 LPRun6-net5.exe</strong>:</p>

<pre spellcheck="false" tabindex="0">C:\home\site\Utility\LPRun\LPRun6&gt;LPRun6-net5.exe
You must install or update .NET to run this application.

App: C:\home\site\Utility\LPRun\LPRun6\LPRun6-net5.exe
Architecture: x64

Framework: 'Microsoft.WindowsDesktop.App', version '5.0.0' (x64)
.NET location: C:\Program Files\dotnet

No frameworks were found.

Learn more:
https://aka.ms/dotnet/app-launch-failed

To install missing framework, download:
https://aka.ms/dotnet-core-applaunch?framework=Microsoft.WindowsDesktop.App&amp;framework_version=5.0.0&amp;arch=x64&amp;rid=win-x64&amp;os=win10
</pre>

<p><strong>LinqPad 8 LPRun8.exe</strong> and <strong>LinqPad 8 LPRun8-x86.exe</strong>:</p>

<p>(Same output for both)</p>

<pre spellcheck="false" tabindex="0">C:\home\site\Utility\LPRun\LPRun8&gt;LPRun8-x86.exe

Directory 'C:\Program Files (x86)\dotnet\shared\Microsoft.WindowsDesktop.App' does not exist.
LINQPad 8 requires .NET 9, .NET 8, .NET 7 or .NET 6 (Desktop) to run.
Run 'Download .NET.exe' to install.
</pre>

<p><strong>LinqPad 9 LPRun9.exe</strong> and <strong>LinqPad 9 LPRun9-x86.exe</strong>:</p>

<p>(Same output for both)</p>

<pre spellcheck="false" tabindex="0">C:\home\site\Utility\LPRun\LPRun9&gt;lprun9
Directory 'C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App' does not exist.
LINQPad 9 requires .NET 10, .NET 9 or .NET 8 (Desktop) to start up.
Run 'Download .NET.exe' to install.
</pre>

<hr />]]>
        </description>
    </item>
    <item>
        <title>.NET 11 Preview support?</title>
        <link>https://forum.linqpad.net/discussion/3563/net-11-preview-support</link>
        <pubDate>Thu, 02 Apr 2026 03:21:11 +0000</pubDate>
        <category>General</category>
        <dc:creator>sdflysha</dc:creator>
        <guid isPermaLink="false">3563@/discussions</guid>
        <description><![CDATA[<p>.NET 11 Preview already released: <br /><a href="https://dotnet.microsoft.com/en-us/download/dotnet/11.0" rel="nofollow">https://dotnet.microsoft.com/en-us/download/dotnet/11.0</a><br /><a href="https://devblogs.microsoft.com/dotnet/dotnet-11-preview-1/" rel="nofollow">https://devblogs.microsoft.com/dotnet/dotnet-11-preview-1/</a><br /><a href="https://devblogs.microsoft.com/dotnet/dotnet-11-preview-2/" rel="nofollow">https://devblogs.microsoft.com/dotnet/dotnet-11-preview-2/</a></p>

<p>Wondering when LINQPad 9 will supports it?</p>
]]>
        </description>
    </item>
    <item>
        <title>the web proxy I set was not working</title>
        <link>https://forum.linqpad.net/discussion/3566/the-web-proxy-i-set-was-not-working</link>
        <pubDate>Thu, 09 Apr 2026 02:41:13 +0000</pubDate>
        <category>General</category>
        <dc:creator>webfans</dc:creator>
        <guid isPermaLink="false">3566@/discussions</guid>
        <description><![CDATA[<p>My Linqpad configuration is as follows:</p>

<p>LINQPad9 (Preminum Edition) v9.7.13(X64)<br />
Tools | Settings | Web Proxy | Specify Manually<br />
Address <a href="http://127.0.0.1" rel="nofollow">http://127.0.0.1</a><br />
Port 7897</p>

<p>When using it, I found that all network requests were not going through the proxy; in other words, the web proxy I set was not working.</p>

<p><img src="https://us.v-cdn.net/5019392/uploads/editor/3d/s60mw81q6tt7.png" alt="" title="" srcset="https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=300, width=300/5019392/uploads/editor/3d/s60mw81q6tt7.png 300w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=600, width=600/5019392/uploads/editor/3d/s60mw81q6tt7.png 600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=800, width=800/5019392/uploads/editor/3d/s60mw81q6tt7.png 800w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1200, width=1200/5019392/uploads/editor/3d/s60mw81q6tt7.png 1200w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1600, width=1600/5019392/uploads/editor/3d/s60mw81q6tt7.png 1600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=2000, width=2000/5019392/uploads/editor/3d/s60mw81q6tt7.png 2000w, https://us.v-cdn.net/5019392/uploads/editor/3d/s60mw81q6tt7.png" sizes="100vw" /></p>
]]>
        </description>
    </item>
    <item>
        <title>LINQPad 8 will not run, LINQPad 9 will not open mt dbContext</title>
        <link>https://forum.linqpad.net/discussion/3568/linqpad-8-will-not-run-linqpad-9-will-not-open-mt-dbcontext</link>
        <pubDate>Wed, 15 Apr 2026 01:44:05 +0000</pubDate>
        <category>General</category>
        <dc:creator>JoeGyro</dc:creator>
        <guid isPermaLink="false">3568@/discussions</guid>
        <description><![CDATA[<p>Error Testing Custom EF Core Connection: Could not load file or assembly 'Microsoft.Extensions.Logging.Abstractions, Version=10.0.0.0</p>

<p>As you don't have LINQPad Premium Edition you can only search for NuGet packages that include LINQPad samples.</p>
]]>
        </description>
    </item>
    <item>
        <title>Formatter adding unwanted spaces and inconsistently when using multiple cursors</title>
        <link>https://forum.linqpad.net/discussion/3567/formatter-adding-unwanted-spaces-and-inconsistently-when-using-multiple-cursors</link>
        <pubDate>Thu, 09 Apr 2026 18:18:37 +0000</pubDate>
        <category>General</category>
        <dc:creator>JeffMercado</dc:creator>
        <guid isPermaLink="false">3567@/discussions</guid>
        <description><![CDATA[<p>If I wanted to create a lambda that does nothing, I would write:</p>

<pre spellcheck="false" tabindex="0">Action noop = () =&gt; {};
</pre>

<p>However, the formatter seems to want to add a space between the braces, making it:</p>

<pre spellcheck="false" tabindex="0">Action noop = () =&gt; { };
</pre>

<p>I don't want the space there. I only allow spaces for control flow statements.</p>

<p>What makes it worse is that if I'm working elsewhere in the script and enter the empty braces, the entire document is formatted and adds the space to every other existing "NOOP" braces. Fortunately for me, I could undo that last format and keep my intended changes. But I might not even be aware of the change since it can occur anywhere in the document!</p>

<pre spellcheck="false" tabindex="0">    public static Action Noop() =&gt; () =&gt; {};
    public static Action&lt;T&gt; Noop&lt;T&gt;() =&gt; (_) =&gt; {};
    public static Action&lt;T1, T2&gt; Noop&lt;T1, T2&gt;() =&gt; (_, _) =&gt; {};
    public static Action&lt;T1, T2, T3&gt; Noop&lt;T1, T2, T3&gt;() =&gt; (_, _, _) =&gt; {};
    public static Action&lt;T1, T2, T3, T4&gt; Noop&lt;T1, T2, T3, T4&gt;() =&gt; (_, _, _, _) =&gt; {};
    // ... up to T16

    public static void Noop() =&gt; { // add closing brace here and watch the above lines
</pre>

<p>Speaking of which, things get a little wonky when using multiple cursors. When I initially made this family of these NOOP actions above, I'd start with creating N lines and start typing out base case. Then manually modify each to do what I need. Entering the closing brace can do one of many things, I think depending on the number of cursors and the last action you did.</p>

<pre spellcheck="false" tabindex="0">    public static Action Noop() =&gt; () =&gt; {
    public static Action Noop() =&gt; () =&gt; {
    // ...
    public static Action Noop() =&gt; () =&gt; {
    public static Action Noop() =&gt; () =&gt; {
    public static Action Noop() =&gt; () =&gt; {

    // multiple cursors above, adding the closing brace to all can either:
    // - format the second to last line
    // - format the last line
    // - remove the indentation of the last two lines, then formats the lines
    // - enters the brace as intended and doesn't format the lines... but formats the rest of the document...
    // - any combination of the above
    // - etc.
</pre>

<p>Note: this doesn't apply just to lambdas, but any empty block that has no whitespace.</p>

<p>Could this unwanted formatting behavior be removed?</p>
]]>
        </description>
    </item>
    <item>
        <title>Editor layout shifts/jumps when Roslyn lightbulb toggles (v9.7.13)</title>
        <link>https://forum.linqpad.net/discussion/3565/editor-layout-shifts-jumps-when-roslyn-lightbulb-toggles-v9-7-13</link>
        <pubDate>Wed, 08 Apr 2026 09:06:22 +0000</pubDate>
        <category>General</category>
        <dc:creator>enormt</dc:creator>
        <guid isPermaLink="false">3565@/discussions</guid>
        <description><![CDATA[<p>Hi,</p>

<p>I’m experiencing a frustrating issue in LINQPad 9.7.13 (ARM64) where the editor layout "shifts" or "jumps" horizontally while typing.</p>

<p>This happens because the Roslyn lightbulb icon (Quick Actions) toggles on and off in the left margin based on the current compilation state (specifically triggering on CS0246 - The type or namespace name could not be found). Every time the lightbulb appears or disappears, the margin width changes, causing the code text to jump back and forth.</p>

<p>Is there a way to:</p>

<ol><li><p>Make the glyph margin/gutter a permanent width so it doesn't shift the text?</p></li>
<li><p>Or, a setting to disable the lightbulb icons entirely?</p></li>
</ol><p>Thanks!</p>
]]>
        </description>
    </item>
    <item>
        <title>IntelliSense Fails After return Keyword</title>
        <link>https://forum.linqpad.net/discussion/3561/intellisense-fails-after-return-keyword</link>
        <pubDate>Mon, 30 Mar 2026 03:18:45 +0000</pubDate>
        <category>General</category>
        <dc:creator>sumswuhao</dc:creator>
        <guid isPermaLink="false">3561@/discussions</guid>
        <description><![CDATA[<p>Hi Joe,<br />
I'm using LINQPad v9.7.13 beta (X64), and I've encountered an issue where IntelliSense stops providing identifier suggestions (such as class or variable names) after the return keyword.<br /><img src="https://us.v-cdn.net/5019392/uploads/editor/92/xsglpe5dpjdy.png" alt="" title="" srcset="https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=300, width=300/5019392/uploads/editor/92/xsglpe5dpjdy.png 300w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=600, width=600/5019392/uploads/editor/92/xsglpe5dpjdy.png 600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=800, width=800/5019392/uploads/editor/92/xsglpe5dpjdy.png 800w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1200, width=1200/5019392/uploads/editor/92/xsglpe5dpjdy.png 1200w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1600, width=1600/5019392/uploads/editor/92/xsglpe5dpjdy.png 1600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=2000, width=2000/5019392/uploads/editor/92/xsglpe5dpjdy.png 2000w, https://us.v-cdn.net/5019392/uploads/editor/92/xsglpe5dpjdy.png" sizes="100vw" /></p>

<p>As shown in the screenshot above, class name suggestions do not appear. In fact, the same issue occurs in local variable names.</p>

<p>For comparison, IntelliSense works correctly in assignment statements.<br /><img src="https://us.v-cdn.net/5019392/uploads/editor/pw/ifnhoiap1j45.png" alt="" title="" srcset="https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=300, width=300/5019392/uploads/editor/pw/ifnhoiap1j45.png 300w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=600, width=600/5019392/uploads/editor/pw/ifnhoiap1j45.png 600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=800, width=800/5019392/uploads/editor/pw/ifnhoiap1j45.png 800w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1200, width=1200/5019392/uploads/editor/pw/ifnhoiap1j45.png 1200w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1600, width=1600/5019392/uploads/editor/pw/ifnhoiap1j45.png 1600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=2000, width=2000/5019392/uploads/editor/pw/ifnhoiap1j45.png 2000w, https://us.v-cdn.net/5019392/uploads/editor/pw/ifnhoiap1j45.png" sizes="100vw" /></p>

<p>Interestingly, within a return statement, IntelliSense still functions properly after a dot operator.<br /><img src="https://us.v-cdn.net/5019392/uploads/editor/m4/ou3tmcbvvlc1.png" alt="" title="" srcset="https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=300, width=300/5019392/uploads/editor/m4/ou3tmcbvvlc1.png 300w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=600, width=600/5019392/uploads/editor/m4/ou3tmcbvvlc1.png 600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=800, width=800/5019392/uploads/editor/m4/ou3tmcbvvlc1.png 800w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1200, width=1200/5019392/uploads/editor/m4/ou3tmcbvvlc1.png 1200w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1600, width=1600/5019392/uploads/editor/m4/ou3tmcbvvlc1.png 1600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=2000, width=2000/5019392/uploads/editor/m4/ou3tmcbvvlc1.png 2000w, https://us.v-cdn.net/5019392/uploads/editor/m4/ou3tmcbvvlc1.png" sizes="100vw" /></p>
]]>
        </description>
    </item>
    <item>
        <title>Chart Not Displaying Correctly on macOS</title>
        <link>https://forum.linqpad.net/discussion/3520/chart-not-displaying-correctly-on-macos</link>
        <pubDate>Wed, 07 Jan 2026 02:29:41 +0000</pubDate>
        <category>General</category>
        <dc:creator>wangengzheng</dc:creator>
        <guid isPermaLink="false">3520@/discussions</guid>
        <description><![CDATA[<p>I am following LINQPad Tutorial &amp; Reference &gt; Charting with Chart() &gt; Chart() – intro.</p>

<p>The sample code runs without errors, but when executing it on macOS, the Results window returns null, and no chart is displayed.</p>

<p>Could you please advise whether this is related to:<br />
    •   a specific setting,<br />
    •   a macOS limitation, or<br />
    •   a LINQPad version / runtime compatibility issue?</p>

<p>For reference, my system environment is:<br /><img src="https://us.v-cdn.net/5019392/uploads/editor/o4/yq1t81neec84.png" alt="" title="" srcset="https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=300, width=300/5019392/uploads/editor/o4/yq1t81neec84.png 300w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=600, width=600/5019392/uploads/editor/o4/yq1t81neec84.png 600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=800, width=800/5019392/uploads/editor/o4/yq1t81neec84.png 800w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1200, width=1200/5019392/uploads/editor/o4/yq1t81neec84.png 1200w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1600, width=1600/5019392/uploads/editor/o4/yq1t81neec84.png 1600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=2000, width=2000/5019392/uploads/editor/o4/yq1t81neec84.png 2000w, https://us.v-cdn.net/5019392/uploads/editor/o4/yq1t81neec84.png" sizes="100vw" /></p>

<p>Any guidance would be appreciated.</p>

<p><img src="https://us.v-cdn.net/5019392/uploads/editor/uj/abdwyxnd52rd.png" alt="" title="" srcset="https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=300, width=300/5019392/uploads/editor/uj/abdwyxnd52rd.png 300w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=600, width=600/5019392/uploads/editor/uj/abdwyxnd52rd.png 600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=800, width=800/5019392/uploads/editor/uj/abdwyxnd52rd.png 800w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1200, width=1200/5019392/uploads/editor/uj/abdwyxnd52rd.png 1200w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1600, width=1600/5019392/uploads/editor/uj/abdwyxnd52rd.png 1600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=2000, width=2000/5019392/uploads/editor/uj/abdwyxnd52rd.png 2000w, https://us.v-cdn.net/5019392/uploads/editor/uj/abdwyxnd52rd.png" sizes="100vw" /></p>
]]>
        </description>
    </item>
    <item>
        <title>EF Core DbContext Connection - Could Not Load File or Assembly</title>
        <link>https://forum.linqpad.net/discussion/3559/ef-core-dbcontext-connection-could-not-load-file-or-assembly</link>
        <pubDate>Fri, 27 Mar 2026 13:28:13 +0000</pubDate>
        <category>General</category>
        <dc:creator>Jasel</dc:creator>
        <guid isPermaLink="false">3559@/discussions</guid>
        <description><![CDATA[<p>We have just begun migrating all of our applications from .NET Framework (v4.6.2) to .NET Core (v10) and have made the first attempt at connecting LINQPad back up to the first application, but I am receiving the following:</p>

<blockquote><div>
  <p>Error Testing Custom EF Core Connection: Could not load file or assembly 'Microsoft.Extensions.Logging.Abstractions, Version=10.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. The system cannot find the file specified.</p>
</div></blockquote>

<p>We are using <em>the portable version of</em> LINQPad 9 (v9.6.6 (X64)_, licensed as Premium Edition. <code spellcheck="false" tabindex="0">LINQPad9-x64.exe</code> copied and renamed to <code spellcheck="false" tabindex="0">LPRun9.exe</code> as per the <code spellcheck="false" tabindex="0">!!info for xcopy deployments.txt</code> file.</p>

<p>I mention <em>the portable version</em> because this might matter. We're in the <em>process</em> of getting approval to get LINQPad 9 in Software Center for download/install, but getting new software approvals is like moving a mountain. So we're trying the non-installed version at the moment.</p>

<p>Moving on...</p>

<p>The <code spellcheck="false" tabindex="0">Microsoft.Extensions.Logging.Abstractions</code> package is a <em>transitive dependency</em> of our projects/solution. When working through the "EF Core DbContext Connection" dialog, it is not listed in the NuGet packages that LINQPad auto-finds that it says it needs to download.</p>

<p>I started-from-scratch:<br />
1. Closed LINQPad<br />
2. Cleared any locally-retained NuGet packages by clicking the "Clear NuGet local resources" button in Visual Studio's options<br />
3. Closed Visual Studio<br />
4. Deleted all <code spellcheck="false" tabindex="0">bin</code> and <code spellcheck="false" tabindex="0">obj</code> files for each project in our solution (we have a "Web" project for MVC/WebAPI and we have a "Core" project for all of the business logic)<br />
5. Deleted the <code spellcheck="false" tabindex="0">packages</code> folder (our solution is setup for central package management)<br />
6. Cleared all globally-retained NuGet packages with <code spellcheck="false" tabindex="0">dotnet nuget locals global-packages --clear</code>; verified <code spellcheck="false" tabindex="0">%USERPROFILE%/.nuget</code> was empty<br />
7. Launched Visual Studio, opened our solution and ran a "Rebuild Solution"<br />
8. Opened our portable version of LINQPad -&gt; Add Connection... -&gt; Entity Framework Core (3.x -&gt; 10.x)<br />
9. Clicked "Browse" for the "Path to Custom Assembly" field and selected our "Core" project's DLL (where EF is defined/used); the "Confirm Package Download" dialog appears, in which <code spellcheck="false" tabindex="0">Microsoft.Extensions.Logging.Abstractions</code> is not listed<br />
10. Click "Yes" to download missing packages; and once completed, confirmed that the <code spellcheck="false" tabindex="0">%USERPROFILE%\.nuget\packages</code> folder is created and filled with the same packages listed in the dialog; <code spellcheck="false" tabindex="0">Microsoft.Extensions.Logging.Abstractions</code> still missing<br />
11. Back in the "EF Core DbContext Connections" dialog, our DbContext has been automatically found and we simply click "OK" on the dialog that informed us of this<br />
12. We indeed have a (sole) constructor that accepts <code spellcheck="false" tabindex="0">DbContextOptions</code>, so this (the only selectable) option is selected<br />
13. We select the <code spellcheck="false" tabindex="0">Microsoft.EntityFrameworkCore.SqlServer</code> provider and enter our connection string<br />
14. After entering a friendly name for the connection, we test the connection... and we get the "could not load" message at the top of this post</p>

<p>Figuring LINQPad is complaining that the DLL can't be found in the global directory for NuGet packages, I figured I'd use LINQPad to force its existence:<br />
1. I closed the connection-creation dialog and pressed F4 while in a script editor window<br />
2. I clicked the "Add NuGet..." button<br />
3. In the "Search online" field, I searched for <code spellcheck="false" tabindex="0">Microsoft.Extensions.Logging.Abstractions</code> and used the "Add to Script" dropdown to specify that v10.0.0 be added<br />
4. I verified that the <code spellcheck="false" tabindex="0">%USERPROFILE%\.nuget\packages\Microsoft.Extensions.Logging.Abstractions</code> folder appeared with a fully-filled <code spellcheck="false" tabindex="0">10.0.0</code> folder inside<br />
5. I performed steps 3 and 4 again for v10.0.5, since our projects are up-to-date with pulling in v10.0.5 of Microsoft's NuGet packages<br />
6. I closed LINQPad, opened it again and tried again to add the connection using all the same steps above and I still get the "could not load" message again</p>

<p>Does anyone have any ideas on why this transitive dependency is not being found by LINQPad? It may not even be the only one as it could be that this is just <em>the first one</em> we're encountering as LINQPad tries to resolve needed DLLs.</p>
]]>
        </description>
    </item>
    <item>
        <title>rename doesn&#39;t work properly with record constructor initializer parameter</title>
        <link>https://forum.linqpad.net/discussion/3562/rename-doesnt-work-properly-with-record-constructor-initializer-parameter</link>
        <pubDate>Wed, 01 Apr 2026 18:32:45 +0000</pubDate>
        <category>General</category>
        <dc:creator>NetMage</dc:creator>
        <guid isPermaLink="false">3562@/discussions</guid>
        <description><![CDATA[<p>Given<br /><code spellcheck="false" tabindex="0">record OfflinePCRecord(string name, DateTime? Firstseen, DateTime? Lastseen) {     public OfflinePCRecord(string name) : this(name, null, null) { } }</code></p>

<p>If you use rename on the <code spellcheck="false" tabindex="0">record</code> primary constructor parameter <code spellcheck="false" tabindex="0">name</code> (which is also the member), the rename changes the first parameter to the <code spellcheck="false" tabindex="0">this</code> constructor initalizer as well, when that is actually the parameter to the constructor.</p>
]]>
        </description>
    </item>
    <item>
        <title>autocompletion putting space after method name</title>
        <link>https://forum.linqpad.net/discussion/1863/autocompletion-putting-space-after-method-name</link>
        <pubDate>Fri, 10 May 2019 18:59:26 +0000</pubDate>
        <category>General</category>
        <dc:creator>NetMage</dc:creator>
        <guid isPermaLink="false">1863@/discussions</guid>
        <description><![CDATA[It seems like the autocompletion when pressing Tab for methods that take multiple parameter lambdas inserts a space after the method name before the parentheses even though the Advanced Setting for no space after method name is set. This does not happen for methods that take a single parameter lambda.

It also seems that methods that take parameters that are not lambdas don't get autocompletion of parentheses at all?]]>
        </description>
    </item>
    <item>
        <title>Could you please delete my account and personal data? — GDPR Right to Erasure</title>
        <link>https://forum.linqpad.net/discussion/3564/could-you-please-delete-my-account-and-personal-data-gdpr-right-to-erasure</link>
        <pubDate>Sun, 05 Apr 2026 20:43:59 +0000</pubDate>
        <category>General</category>
        <dc:creator>Astyr</dc:creator>
        <guid isPermaLink="false">3564@/discussions</guid>
        <description><![CDATA[<p>Hello,</p>

<p>Could you please permanently delete all personal data associated with my account registered under the email address drbob665@gmail.com, in accordance with my right to erasure under Article 17 of the General Data Protection Regulation (GDPR)?</p>

<p>This includes account information, usage data, and any other personal data held by your forum.<br />
I kindly ask you to confirm receipt of this request and to complete the deletion within 30 days.</p>

<p>Kind regards</p>
]]>
        </description>
    </item>
    <item>
        <title>Any way to suppress vulnerability warnings?</title>
        <link>https://forum.linqpad.net/discussion/3151/any-way-to-suppress-vulnerability-warnings</link>
        <pubDate>Fri, 05 Apr 2024 09:43:39 +0000</pubDate>
        <category>General</category>
        <dc:creator>SteveCrane</dc:creator>
        <guid isPermaLink="false">3151@/discussions</guid>
        <description><![CDATA[<p>Just started using LINQPad 8 so getting vulnerability warnings in LINQPad for the first time.</p>

<p>Had these been related to Nuget packages I was referencing directly I could resolve them but I'm referencing DLLs from work projects to test and prototype and the vulnerable references come from these DLLs. We see the warnings in Visual Studio but are ignoring them for now as our architects decide how to resolve these. This isn't ideal but it is what it is. Resistance to upgrading some packages stems from licencing costs of upgrading certain packages requiring others to stay on versions supported by those. A mess but I'm not looking for a solution to that.</p>

<p>What I am looking for a solution for is the display of the warnings in LINQPad results where for every execution I get something like this.</p>

<p><img src="https://us.v-cdn.net/5019392/uploads/editor/je/me6acebj53be.png" alt="" title="" srcset="https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=300, width=300/5019392/uploads/editor/je/me6acebj53be.png 300w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=600, width=600/5019392/uploads/editor/je/me6acebj53be.png 600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=800, width=800/5019392/uploads/editor/je/me6acebj53be.png 800w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1200, width=1200/5019392/uploads/editor/je/me6acebj53be.png 1200w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1600, width=1600/5019392/uploads/editor/je/me6acebj53be.png 1600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=2000, width=2000/5019392/uploads/editor/je/me6acebj53be.png 2000w, https://us.v-cdn.net/5019392/uploads/editor/je/me6acebj53be.png" sizes="100vw" /></p>

<p>I would love to have some way of disabling the display of these warnings for individual queries, or perhaps an additional parameter to Dump() like <code spellcheck="false" tabindex="0">bool suppressVulnerabilityWarnings = false</code>. Perhaps there is already some way to do this that I'm not aware of. If not I hope you might consider adding one.</p>
]]>
        </description>
    </item>
    <item>
        <title>&quot;Open &#39;My Scripts&#39; Folder&quot; Does Not Respect System Setting</title>
        <link>https://forum.linqpad.net/discussion/3517/open-my-scripts-folder-does-not-respect-system-setting</link>
        <pubDate>Tue, 06 Jan 2026 03:03:14 +0000</pubDate>
        <category>General</category>
        <dc:creator>sumswuhao</dc:creator>
        <guid isPermaLink="false">3517@/discussions</guid>
        <description><![CDATA[<p>I'm on Windows 11 box and have modified the registry to set folders to open with Total Commander. The detailed steps are at: <a href="https://www.ghisler.ch/board/viewtopic.php?t=78468" rel="nofollow">https://www.ghisler.ch/board/viewtopic.php?t=78468</a></p>

<p>In VS Code, clicking "Reveal in File Explorer" correctly opens the folder in Total Commander, as do similar features in other applications.<br />
However, in LINQPad v9.5.10 (x64 Premium), the "Open 'My Scripts' Folder in Explorer" button opens both Total Commander and Explorer simultaneously.</p>

<p>LINQPad is a great tool, and I hope it can follow the system setting in this case.</p>
]]>
        </description>
    </item>
    <item>
        <title>IntelliSense fails after readonly keyword</title>
        <link>https://forum.linqpad.net/discussion/3535/intellisense-fails-after-readonly-keyword</link>
        <pubDate>Wed, 18 Feb 2026 15:28:26 +0000</pubDate>
        <category>General</category>
        <dc:creator>sumswuhao</dc:creator>
        <guid isPermaLink="false">3535@/discussions</guid>
        <description><![CDATA[<p>Hi Joe,</p>

<p>I found that IntelliSense stops working after typing the 'readonly' keyword, as shown below:<br /><img src="https://us.v-cdn.net/5019392/uploads/editor/zd/ijhdx1lkoysq.png" alt="" title="" srcset="https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=300, width=300/5019392/uploads/editor/zd/ijhdx1lkoysq.png 300w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=600, width=600/5019392/uploads/editor/zd/ijhdx1lkoysq.png 600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=800, width=800/5019392/uploads/editor/zd/ijhdx1lkoysq.png 800w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1200, width=1200/5019392/uploads/editor/zd/ijhdx1lkoysq.png 1200w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1600, width=1600/5019392/uploads/editor/zd/ijhdx1lkoysq.png 1600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=2000, width=2000/5019392/uploads/editor/zd/ijhdx1lkoysq.png 2000w, https://us.v-cdn.net/5019392/uploads/editor/zd/ijhdx1lkoysq.png" sizes="100vw" /></p>

<p>Without 'readonly', IntelliSense works normally:<br /><img src="https://us.v-cdn.net/5019392/uploads/editor/ie/d1cjvv8melei.png" alt="" title="" srcset="https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=300, width=300/5019392/uploads/editor/ie/d1cjvv8melei.png 300w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=600, width=600/5019392/uploads/editor/ie/d1cjvv8melei.png 600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=800, width=800/5019392/uploads/editor/ie/d1cjvv8melei.png 800w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1200, width=1200/5019392/uploads/editor/ie/d1cjvv8melei.png 1200w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1600, width=1600/5019392/uploads/editor/ie/d1cjvv8melei.png 1600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=2000, width=2000/5019392/uploads/editor/ie/d1cjvv8melei.png 2000w, https://us.v-cdn.net/5019392/uploads/editor/ie/d1cjvv8melei.png" sizes="100vw" /></p>

<p>The same issue also occurs when using other keywords like 'string':<br /><img src="https://us.v-cdn.net/5019392/uploads/editor/ye/xbqc0bg9u5r8.png" alt="" title="" srcset="https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=300, width=300/5019392/uploads/editor/ye/xbqc0bg9u5r8.png 300w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=600, width=600/5019392/uploads/editor/ye/xbqc0bg9u5r8.png 600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=800, width=800/5019392/uploads/editor/ye/xbqc0bg9u5r8.png 800w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1200, width=1200/5019392/uploads/editor/ye/xbqc0bg9u5r8.png 1200w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1600, width=1600/5019392/uploads/editor/ye/xbqc0bg9u5r8.png 1600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=2000, width=2000/5019392/uploads/editor/ye/xbqc0bg9u5r8.png 2000w, https://us.v-cdn.net/5019392/uploads/editor/ye/xbqc0bg9u5r8.png" sizes="100vw" /><br /><img src="https://us.v-cdn.net/5019392/uploads/editor/l4/20rnb7axyexx.png" alt="" title="" srcset="https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=300, width=300/5019392/uploads/editor/l4/20rnb7axyexx.png 300w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=600, width=600/5019392/uploads/editor/l4/20rnb7axyexx.png 600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=800, width=800/5019392/uploads/editor/l4/20rnb7axyexx.png 800w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1200, width=1200/5019392/uploads/editor/l4/20rnb7axyexx.png 1200w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1600, width=1600/5019392/uploads/editor/l4/20rnb7axyexx.png 1600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=2000, width=2000/5019392/uploads/editor/l4/20rnb7axyexx.png 2000w, https://us.v-cdn.net/5019392/uploads/editor/l4/20rnb7axyexx.png" sizes="100vw" /></p>

<p>You can easily reproduced this issue in script mode (screenshots omitted).</p>

<p>My LINQPad version is v9.6.6 (Premium, X64).</p>
]]>
        </description>
    </item>
    <item>
        <title>Namespace IntelliSense fails in .cs files</title>
        <link>https://forum.linqpad.net/discussion/3528/namespace-intellisense-fails-in-cs-files</link>
        <pubDate>Mon, 26 Jan 2026 08:57:46 +0000</pubDate>
        <category>General</category>
        <dc:creator>sumswuhao</dc:creator>
        <guid isPermaLink="false">3528@/discussions</guid>
        <description><![CDATA[<p>Hi Joe,<br />
I'm on LINQPad9 (Premium, X64). When I edit .cs files in LINQPad, IntelliSense does not provide namespace suggestions correctly after a using directive:<br /><img src="https://us.v-cdn.net/5019392/uploads/editor/17/v6x9mzt0ram4.png" alt="" title="" srcset="https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=300, width=300/5019392/uploads/editor/17/v6x9mzt0ram4.png 300w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=600, width=600/5019392/uploads/editor/17/v6x9mzt0ram4.png 600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=800, width=800/5019392/uploads/editor/17/v6x9mzt0ram4.png 800w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1200, width=1200/5019392/uploads/editor/17/v6x9mzt0ram4.png 1200w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1600, width=1600/5019392/uploads/editor/17/v6x9mzt0ram4.png 1600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=2000, width=2000/5019392/uploads/editor/17/v6x9mzt0ram4.png 2000w, https://us.v-cdn.net/5019392/uploads/editor/17/v6x9mzt0ram4.png" sizes="100vw" /></p>

<p>However, it work well outside of the using directive context:<br /><img src="https://us.v-cdn.net/5019392/uploads/editor/hu/j8caeegjj94z.png" alt="" title="" srcset="https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=300, width=300/5019392/uploads/editor/hu/j8caeegjj94z.png 300w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=600, width=600/5019392/uploads/editor/hu/j8caeegjj94z.png 600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=800, width=800/5019392/uploads/editor/hu/j8caeegjj94z.png 800w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1200, width=1200/5019392/uploads/editor/hu/j8caeegjj94z.png 1200w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1600, width=1600/5019392/uploads/editor/hu/j8caeegjj94z.png 1600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=2000, width=2000/5019392/uploads/editor/hu/j8caeegjj94z.png 2000w, https://us.v-cdn.net/5019392/uploads/editor/hu/j8caeegjj94z.png" sizes="100vw" /></p>

<p>When editing "Script" or ".linq" file, IntelliSense works correctly after using directives:<br /><img src="https://us.v-cdn.net/5019392/uploads/editor/4t/dxfzdta4byh3.png" alt="" title="" srcset="https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=300, width=300/5019392/uploads/editor/4t/dxfzdta4byh3.png 300w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=600, width=600/5019392/uploads/editor/4t/dxfzdta4byh3.png 600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=800, width=800/5019392/uploads/editor/4t/dxfzdta4byh3.png 800w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1200, width=1200/5019392/uploads/editor/4t/dxfzdta4byh3.png 1200w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1600, width=1600/5019392/uploads/editor/4t/dxfzdta4byh3.png 1600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=2000, width=2000/5019392/uploads/editor/4t/dxfzdta4byh3.png 2000w, https://us.v-cdn.net/5019392/uploads/editor/4t/dxfzdta4byh3.png" sizes="100vw" /></p>
]]>
        </description>
    </item>
    <item>
        <title>Change Code of New Query Template</title>
        <link>https://forum.linqpad.net/discussion/3343/change-code-of-new-query-template</link>
        <pubDate>Tue, 11 Feb 2025 19:30:35 +0000</pubDate>
        <category>General</category>
        <dc:creator>Mythran</dc:creator>
        <guid isPermaLink="false">3343@/discussions</guid>
        <description><![CDATA[<p>I believe the code for new queries (template) is embedded (IIRC) in LINQPad 8.  I'm wondering, in case I am wrong, how I can modify the default template.  First off, I hate having 3 blank lines at the end (I turned the comment at the end off in preferences).  Additionally, there are other lines we would like to have (by default) for all new queries.  I have had to workaround this by creating a snippet that, when a new tab/query is opened, I would have to delete it's contents and then execute the snippet.</p>
]]>
        </description>
    </item>
    <item>
        <title>Can DumpContainer support MaxDepth 0?</title>
        <link>https://forum.linqpad.net/discussion/3558/can-dumpcontainer-support-maxdepth-0</link>
        <pubDate>Fri, 27 Mar 2026 11:50:38 +0000</pubDate>
        <category>General</category>
        <dc:creator>sgmoore</dc:creator>
        <guid isPermaLink="false">3558@/discussions</guid>
        <description><![CDATA[<p>DumpContainer supports MaxDepth (aka DumpDepth) values greater than 0, but seems to treat values of 0 similar to 1. Can this be changed? (CollapseTo 0 works as expected)</p>

<p>A little script to illustrate</p>

<pre spellcheck="false" tabindex="0">var list = Enumerable.Range(1, 2).Select(a =&gt; Enumerable.Range(1, 2)).ToList();

for (int depth = 0; depth &lt;= 2; depth++)
{
    list.Dump($"Dump with depth={depth}", depth: depth);
    new DumpContainer(list, o =&gt; { o.MaxDepth = depth; }).Dump($"DumpContainer with MaxDepth={depth}");

    list.Dump($"Dump with CollapseTo={depth}", collapseTo: depth);
    new DumpContainer(list, o =&gt; { o.CollapseTo = depth; }).Dump($"DumpContainer with CollapseTo={depth}");  
    "".Dump();
}
</pre>

<p>produces</p>

<p><img src="https://us.v-cdn.net/5019392/uploads/editor/kr/wt5y7ob1o6ov.png" alt="" title="" srcset="https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=300, width=300/5019392/uploads/editor/kr/wt5y7ob1o6ov.png 300w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=600, width=600/5019392/uploads/editor/kr/wt5y7ob1o6ov.png 600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=800, width=800/5019392/uploads/editor/kr/wt5y7ob1o6ov.png 800w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1200, width=1200/5019392/uploads/editor/kr/wt5y7ob1o6ov.png 1200w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1600, width=1600/5019392/uploads/editor/kr/wt5y7ob1o6ov.png 1600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=2000, width=2000/5019392/uploads/editor/kr/wt5y7ob1o6ov.png 2000w, https://us.v-cdn.net/5019392/uploads/editor/kr/wt5y7ob1o6ov.png" sizes="100vw" /></p>
]]>
        </description>
    </item>
    <item>
        <title>Nullable Reference Types</title>
        <link>https://forum.linqpad.net/discussion/3557/nullable-reference-types</link>
        <pubDate>Thu, 26 Mar 2026 16:17:52 +0000</pubDate>
        <category>General</category>
        <dc:creator>pvaughn</dc:creator>
        <guid isPermaLink="false">3557@/discussions</guid>
        <description><![CDATA[<p>How do I enable nullable reference types in linqpad 9 for all new queries without having to put <code spellcheck="false" tabindex="0">#nullable enable</code> on every script?</p>
]]>
        </description>
    </item>
    <item>
        <title>Visualization on Dataflow Example on MacOS Avalonia doesn&#39;t render</title>
        <link>https://forum.linqpad.net/discussion/3553/visualization-on-dataflow-example-on-macos-avalonia-doesnt-render</link>
        <pubDate>Sat, 21 Mar 2026 23:28:53 +0000</pubDate>
        <category>General</category>
        <dc:creator>hashok</dc:creator>
        <guid isPermaLink="false">3553@/discussions</guid>
        <description><![CDATA[<p>It looks like Avalonia LinqPad doesn't support dataflow visualization. Is this a known issue or a bug on mine? <br /><img src="https://us.v-cdn.net/5019392/uploads/editor/0x/lkuzstjbbg2b.png" alt="" title="" srcset="https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=300, width=300/5019392/uploads/editor/0x/lkuzstjbbg2b.png 300w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=600, width=600/5019392/uploads/editor/0x/lkuzstjbbg2b.png 600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=800, width=800/5019392/uploads/editor/0x/lkuzstjbbg2b.png 800w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1200, width=1200/5019392/uploads/editor/0x/lkuzstjbbg2b.png 1200w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1600, width=1600/5019392/uploads/editor/0x/lkuzstjbbg2b.png 1600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=2000, width=2000/5019392/uploads/editor/0x/lkuzstjbbg2b.png 2000w, https://us.v-cdn.net/5019392/uploads/editor/0x/lkuzstjbbg2b.png" sizes="100vw" /></p>
]]>
        </description>
    </item>
    <item>
        <title>Script errors not gracefully handled in latest beta</title>
        <link>https://forum.linqpad.net/discussion/3556/script-errors-not-gracefully-handled-in-latest-beta</link>
        <pubDate>Mon, 23 Mar 2026 19:49:51 +0000</pubDate>
        <category>General</category>
        <dc:creator>JeffMercado</dc:creator>
        <guid isPermaLink="false">3556@/discussions</guid>
        <description><![CDATA[<p>It looks like the latest betas are not handling script errors like it did before.</p>

<pre spellcheck="false" tabindex="0">Util.JS.Run("throw 'error!'");
</pre>

<p>If an error occurred within results panel, typically what used to happen is the text of the error message is added to the end of the page in red. (can't get a screenshot from a previous beta)</p>

<p>The initial release version would show the typical exception box.</p>

<p><img src="https://us.v-cdn.net/5019392/uploads/editor/p1/nvrnalumw1rz.png" alt="" title="" srcset="https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=300, width=300/5019392/uploads/editor/p1/nvrnalumw1rz.png 300w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=600, width=600/5019392/uploads/editor/p1/nvrnalumw1rz.png 600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=800, width=800/5019392/uploads/editor/p1/nvrnalumw1rz.png 800w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1200, width=1200/5019392/uploads/editor/p1/nvrnalumw1rz.png 1200w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1600, width=1600/5019392/uploads/editor/p1/nvrnalumw1rz.png 1600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=2000, width=2000/5019392/uploads/editor/p1/nvrnalumw1rz.png 2000w, https://us.v-cdn.net/5019392/uploads/editor/p1/nvrnalumw1rz.png" sizes="100vw" /></p>

<p>However now in the latest beta (v9.7.9), it's popping up the script error dialog.</p>

<p><img src="https://us.v-cdn.net/5019392/uploads/editor/ow/0cqjp2nhcna6.png" alt="" title="" srcset="https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=300, width=300/5019392/uploads/editor/ow/0cqjp2nhcna6.png 300w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=600, width=600/5019392/uploads/editor/ow/0cqjp2nhcna6.png 600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=800, width=800/5019392/uploads/editor/ow/0cqjp2nhcna6.png 800w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1200, width=1200/5019392/uploads/editor/ow/0cqjp2nhcna6.png 1200w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1600, width=1600/5019392/uploads/editor/ow/0cqjp2nhcna6.png 1600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=2000, width=2000/5019392/uploads/editor/ow/0cqjp2nhcna6.png 2000w, https://us.v-cdn.net/5019392/uploads/editor/ow/0cqjp2nhcna6.png" sizes="100vw" /></p>
]]>
        </description>
    </item>
    <item>
        <title>More options to customize how Hyperlinqs are displayed?</title>
        <link>https://forum.linqpad.net/discussion/3555/more-options-to-customize-how-hyperlinqs-are-displayed</link>
        <pubDate>Sun, 22 Mar 2026 23:16:30 +0000</pubDate>
        <category>General</category>
        <dc:creator>JeffMercado</dc:creator>
        <guid isPermaLink="false">3555@/discussions</guid>
        <description><![CDATA[<p>I have created some custom dump methods for some objects that allows me to quickly navigate to or open files and directories they correspond to, and displaying other information.</p>

<p><img src="https://us.v-cdn.net/5019392/uploads/editor/v7/mwcn46rjz27d.png" alt="" title="" srcset="https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=300, width=300/5019392/uploads/editor/v7/mwcn46rjz27d.png 300w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=600, width=600/5019392/uploads/editor/v7/mwcn46rjz27d.png 600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=800, width=800/5019392/uploads/editor/v7/mwcn46rjz27d.png 800w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1200, width=1200/5019392/uploads/editor/v7/mwcn46rjz27d.png 1200w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1600, width=1600/5019392/uploads/editor/v7/mwcn46rjz27d.png 1600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=2000, width=2000/5019392/uploads/editor/v7/mwcn46rjz27d.png 2000w, https://us.v-cdn.net/5019392/uploads/editor/v7/mwcn46rjz27d.png" sizes="100vw" /></p>

<p><code spellcheck="false" tabindex="0">DirectoryInfo</code> by default would display a hyperlinq showing the path that opens explorer to that directory.<br /><code spellcheck="false" tabindex="0">FileInfo</code> by default would display a hyperlinq showing the path that opens that file. It will also show a hyperlinq that "explores to" the file as well as the file size.</p>

<p>The generalized form displays the path but I could be overridden to display any text.</p>

<p><img src="https://us.v-cdn.net/5019392/uploads/editor/pj/d9sni5hkngpq.png" alt="" title="" srcset="https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=300, width=300/5019392/uploads/editor/pj/d9sni5hkngpq.png 300w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=600, width=600/5019392/uploads/editor/pj/d9sni5hkngpq.png 600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=800, width=800/5019392/uploads/editor/pj/d9sni5hkngpq.png 800w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1200, width=1200/5019392/uploads/editor/pj/d9sni5hkngpq.png 1200w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1600, width=1600/5019392/uploads/editor/pj/d9sni5hkngpq.png 1600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=2000, width=2000/5019392/uploads/editor/pj/d9sni5hkngpq.png 2000w, https://us.v-cdn.net/5019392/uploads/editor/pj/d9sni5hkngpq.png" sizes="100vw" /></p>

<p>With the custom text, it's hard to tell what it will do, or what path it was referring to. Ideally, I would like to add a tooltip to the link to display the path (or other message). Looking at the decompiled Hyperlinq code, it seems like rendering it is handled elsewhere so will be hard to hook into it.</p>

<p>Could more options be added to hyperlinqs to control other aspects of the control?</p>

<p>Being able to set the <code spellcheck="false" tabindex="0">title</code> attribute would be a great add to deal with this. But in general, having access to the <code spellcheck="false" tabindex="0">HtmlElement</code> that was rendered would be more useful (similar to normal Controls). Maybe update it so it uses the builtin <code spellcheck="false" tabindex="0">LINQPad.Controls.Control</code> as a base?</p>
]]>
        </description>
    </item>
    <item>
        <title>Can the height of new TabControl to set to use the whole of the output window?</title>
        <link>https://forum.linqpad.net/discussion/3550/can-the-height-of-new-tabcontrol-to-set-to-use-the-whole-of-the-output-window</link>
        <pubDate>Tue, 17 Mar 2026 14:39:47 +0000</pubDate>
        <category>General</category>
        <dc:creator>sgmoore</dc:creator>
        <guid isPermaLink="false">3550@/discussions</guid>
        <description><![CDATA[<p>TLDR<br />
Trying out the new TabControl (available in the latest beta) and I was wondering if it is possible to set the content height so that it uses the rest of the output panel, even if the output panel is re-sized or if the editor is hidden.</p>

<p>Longer version :</p>

<p>I seem to spend a lot of time scrolling up and down my results windows especially when I am trying to compare the output of different dumps.</p>

<p>My previous solution was to use several panels to display different information which allows me to switch between panels easily. This was originally using a modified version of the code from <a href="https://forum.linqpad.net/discussion/comment/2463" rel="nofollow">https://forum.linqpad.net/discussion/comment/2463</a>.</p>

<p>With the latest beta this has become much easier.</p>

<p>But panels have a major flaw in that links do not work. So MaxDepth links can not be expanded and other links using Util.OnDemand do not work.<br />
(CollapseTo can be used in place of MaxDepth, but this does not look as neat and also limits the amount of information that can be dumped)</p>

<p>With the latest beta, I was trying out the new TabControl and this displays in the normal Output section and hence links work correctly.</p>

<p><a href="https://share.linqpad.net/p6ki437c.linq" rel="nofollow">https://share.linqpad.net/p6ki437c.linq</a> is a script to demonstrate using the panel and using the tabcontrol.</p>

<p>I have hacked the tabcontrol to hardcode the content height to be 420px so that it fits on my screen when the editor is shown, but obviously this is the wrong size if I hide the editor and may not look right if your screen size is different from mine. So I was wondering if there was a way to do this properly?</p>

<p>PS I have also set overflow-x to auto so that it looks better if the content is wider that the current screen (although the script does not demo that).</p>

<p>PPS I'm aware my hacked version has a weird visual glitch from bleed-through when scrolling down - see <img src="https://us.v-cdn.net/5019392/uploads/editor/b9/5qxis2rrtns4.png" alt="" title="" srcset="https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=300, width=300/5019392/uploads/editor/b9/5qxis2rrtns4.png 300w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=600, width=600/5019392/uploads/editor/b9/5qxis2rrtns4.png 600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=800, width=800/5019392/uploads/editor/b9/5qxis2rrtns4.png 800w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1200, width=1200/5019392/uploads/editor/b9/5qxis2rrtns4.png 1200w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1600, width=1600/5019392/uploads/editor/b9/5qxis2rrtns4.png 1600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=2000, width=2000/5019392/uploads/editor/b9/5qxis2rrtns4.png 2000w, https://us.v-cdn.net/5019392/uploads/editor/b9/5qxis2rrtns4.png" sizes="100vw" /></p>
]]>
        </description>
    </item>
    <item>
        <title>LinqPad 9 winforms: class already exists</title>
        <link>https://forum.linqpad.net/discussion/3521/linqpad-9-winforms-class-already-exists</link>
        <pubDate>Fri, 09 Jan 2026 08:04:55 +0000</pubDate>
        <category>General</category>
        <dc:creator>henara</dc:creator>
        <guid isPermaLink="false">3521@/discussions</guid>
        <description><![CDATA[<p>i am using lp since net48 days where i consumed some of my winforms assemblies without problems. <br />
however in version 9 i get above error. the assembly i use is a net9-assembly which i have assigned in MyExtensions<br /><code spellcheck="false" tabindex="0">HeNaRaMessageBox.Info("hallo");</code><br />
creates the exception with this stacktrace</p>

<p>at System.Windows.Forms.NativeWindow.WindowClass.RegisterClass()<br />
   at System.Windows.Forms.NativeWindow.WindowClass.Create(String className, WNDCLASS_STYLES classStyle)<br />
   at System.Windows.Forms.NativeWindow.CreateHandle(CreateParams cp)<br />
   at System.Windows.Forms.Control.CreateHandle()<br />
   at System.Windows.Forms.Application.ThreadContext.get_MarshallingControl()<br />
   at System.Windows.Forms.WindowsFormsSynchronizationContext..ctor()<br />
   at LINQPad.UI.RuntimeUIServices.CreateSynchronizationContext()<br />
   at LINQPad.Util.CreateSynchronizationContext(Boolean reportActivity)</p>
]]>
        </description>
    </item>
    <item>
        <title>HttpClient timeout while AI was processing a prompt</title>
        <link>https://forum.linqpad.net/discussion/3554/httpclient-timeout-while-ai-was-processing-a-prompt</link>
        <pubDate>Sun, 22 Mar 2026 21:41:01 +0000</pubDate>
        <category>General</category>
        <dc:creator>SteveCrane</dc:creator>
        <guid isPermaLink="false">3554@/discussions</guid>
        <description><![CDATA[<p>While an agentic AI prompt was being processed in LINQPad v9.6.6 it failed with "The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing."</p>

<p>Is there a way to get around that?</p>
]]>
        </description>
    </item>
    <item>
        <title>Minor issues with samples.</title>
        <link>https://forum.linqpad.net/discussion/3552/minor-issues-with-samples</link>
        <pubDate>Sat, 21 Mar 2026 14:25:46 +0000</pubDate>
        <category>General</category>
        <dc:creator>sgmoore</dc:creator>
        <guid isPermaLink="false">3552@/discussions</guid>
        <description><![CDATA[<p><strong>Runtime AI - demo - IP address analysis</strong></p>

<p>Ran this script to try to figure out why I was getting a PaymentRequired response using AI telling me I did not have enough credits for 64000 tokens.</p>

<p>The script  worked but only after I changed the url from ip-api.com/json to www.ip-api.com/json.</p>

<p>I also changed this script to set the tokens to 64000 and it failed as expected, but did not display any error message or the reason why it failed.</p>

<p><strong>Simple HTML controls - div and span</strong></p>

<p>This script has the comment below (which contains an extra word).</p>

<p>// NB: You can CANNOT add or remove Children <em>after</em> the control has been dumped.</p>
]]>
        </description>
    </item>
   </channel>
</rss>
