using System;
using System.Windows.Forms;
namespace Test
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
Load += Form1_Load;
}
private void Form1_Load(object sender, EventArgs e)
{
this.webView21.Source = new Uri("https://www.google.com");
}
}
}
I am a student just starting to learn C#. If you simply write the code as above and publish it with (Clickonce) publish, the webview will work normally. However, if you make it as an msi file, the webview does not work. Can you help me with what needs to be done?