近そうな現象は見つかりますが未解決。
書かれている症状からしても、かなり環境依存してそうなので問題の再現は難しそう。
デバッグ実行でなければ実行できるなら、以下のように実行後にデバッガにアタッチするようにして、デバッグ実行(F5)ではなくデバッグなしで実行(Ctrl+F5)すれば回避できるかもしれない。
sing System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace WindowsFormsApp1
{
internal static class Program
{
/// <summary>
/// アプリケーションのメイン エントリ ポイントです。
/// </summary>
[STAThread]
static void Main()
{
#if DEBUG
if (!System.Diagnostics.Debugger.IsAttached)
{
System.Diagnostics.Debugger.Launch();
//System.Diagnostics.Debugger.Break();
}
#endif
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new Form1());
}
}
}