casshell.blogg.se

Microsoft webview2 download
Microsoft webview2 download






Start with a basic desktop project that contains a single main window. If Visual Studio isn't installed already, open the page Microsoft Visual Studio in a new window or tab, and install Visual Studio 2017 or later, such as Visual Studio 2022 Professional. Microsoft Visual Studio Code is not supported for this tutorial.

microsoft webview2 download

The sample in the repo might not be as up-to-date as a project that you create by using the latest Visual Studio project templates.

  • Solution file: WebView2GettingStarted.sln.
  • A completed version of this tutorial project is available in the WebView2Samples repo directory WinForms_GettingStarted. See Download the WebView2Samples repo in Set up your Dev environment for WebView2. This will give you the latest code and project structure.Ĭlone or download the WebView2Samples repo, open the completed project in Visual Studio, and follow the steps in this article to understand creating the WinForms project and understand the added WebView2 code. Step 1 - Optionally clone or download the WebView2Samples repoĬreate a new project in Visual Studio starting from a project template, using the steps in the sections below.

    microsoft webview2 download microsoft webview2 download

    Learn about WebView2 concepts along the way.Install the 2 SDK package for the WinForms project.Use the C# Windows Forms App (.NET Framework) Visual Studio project template to create a WinForms project.








    Microsoft webview2 download