Steps to Reproduce:
1.Code:
private static async Task InitializeApp()
{
// Create main window
var browserWindow = await Electron.WindowManager.CreateWindowAsync(
new BrowserWindowOptions
{
Width = 800,
Height = 600,
Center = true,
});
var fileInfo = new FileInfo(Environment.ProcessPath!);
var exeFolder = fileInfo.DirectoryName!;
var htmlPath = Path.Combine(exeFolder, "index.html");
var url = new Uri(htmlPath, UriKind.Absolute);
await browserWindow.WebContents.LoadURLAsync(url.ToString());
await browserWindow.WebContents.Session.ClearCacheAsync();
// Show window when ready
browserWindow.OnReadyToShow += () => browserWindow.Show();
}
2.screenshot:(VS is in full-screen mode.)

Steps to Reproduce:
1.Code:
2.screenshot:(VS is in full-screen mode.)