M
MarkusBrown
Guest
I currently have Visual Studio 2019 and created a WPF app. I installed Microsoft's WebView (an updated web browser) through the Nuget Manager. I ran the app and sure enough it worked flawlessly but after checking the browser's version, it was using the old Edge 18.
My code's extremely simple as I was just testing out the browser, I just added the browser inside the Main Grid and did nothing else:
<Window x:Class="WebViewTrial3.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:WebViewTrial3"
xmlns:controls="clr-namespace:Microsoft.Toolkit.Wpf.UI.Controls;assembly=Microsoft.Toolkit.Wpf.UI.Controls.WebView"
mc:Ignorable="d"
Title="MainWindow" Height="450" Width="800">
<Grid>
<controls:WebView Source="The HTML5 test - How well does your browser support HTML5?"/>
</Grid>
</Window>
What I tried: I tried installing the latest version of Microsoft Edge (v81) and rebuild the app. Unfortunately it still runs the old Edge 18 instead of the Edge 81.
What I wanted to happen: I was expecting it to run the Microsoft Edge 81 as I was under the impression that it would simply use the latest Microsoft Edge.
Is there a way to change the version of Microsoft Edge that the WebView is using?
Continue reading...
My code's extremely simple as I was just testing out the browser, I just added the browser inside the Main Grid and did nothing else:
<Window x:Class="WebViewTrial3.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:WebViewTrial3"
xmlns:controls="clr-namespace:Microsoft.Toolkit.Wpf.UI.Controls;assembly=Microsoft.Toolkit.Wpf.UI.Controls.WebView"
mc:Ignorable="d"
Title="MainWindow" Height="450" Width="800">
<Grid>
<controls:WebView Source="The HTML5 test - How well does your browser support HTML5?"/>
</Grid>
</Window>
What I tried: I tried installing the latest version of Microsoft Edge (v81) and rebuild the app. Unfortunately it still runs the old Edge 18 instead of the Edge 81.
What I wanted to happen: I was expecting it to run the Microsoft Edge 81 as I was under the impression that it would simply use the latest Microsoft Edge.
Is there a way to change the version of Microsoft Edge that the WebView is using?
Continue reading...