Microsoft.Toolkit.Win32
Microsoft.Toolkit.Win32 copied to clipboard
Forms program with WebView will not show in UAC Elevated mode
Create a Windows Form application 4.7.2
Add NuGet Microsoft.Toolkit.Forms.UI.Controls.WebView 6.0.0
Add the control Microsoft.Toolkit.Forms.UI.Controls.WebView webView1
to your form
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void Form1_Load(object sender, System.EventArgs e)
{
webView1.Navigate("https://www.google.com");
}
}
Start the program normally -> everything OK Start the program with Administrator privileges -> Window does not open, process must be killed via Task Manager
Hello DJDoena, thank you for opening an issue with us!
I have automatically added a "needs triage" label to help get things started. Our team will analyze and investigate the issue, and escalate it to the relevant team if possible. Other community members may also look into the issue and provide feedback 🙌
@pagoe-msft ⬆️