Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed-version distribution aka self-contained #2793

Closed
wants to merge 5 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion microsoft-edge/webview2/concepts/distribution.md
mikehoffms marked this conversation as resolved.
Show resolved Hide resolved
mikehoffms marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ms.author: msedgedevrel
ms.topic: conceptual
ms.prod: microsoft-edge
ms.technology: webview
ms.date: 08/21/2023
ms.date: 08/30/2023
---
# Distribute your app and the WebView2 Runtime

Expand Down Expand Up @@ -52,6 +52,8 @@ The Evergreen Runtime is preinstalled onto all Windows 11 devices as a part of t

In the _Fixed Version_ distribution mode, you download a specific version of the WebView2 Runtime and package it together with your WebView2 app in your app package. The WebView2 Runtime that you package with your app is used only by your WebView2 app, not by any other apps on the client's machine.

The Fixed Version runtime distribution mode is also called a "self-contained" distribution model; the redistributable bits are included with your app. This approach is similar to .NET's "Self-Contained deployment option".
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't have special support for .NET self-contained apps to use WebView2. Also, .NET self-contained apps are similar at a high level but different otherwise in practical usage. I don't think we should add this paragraph.


Pros:
* You have more control over versioning of the WebView2 Runtime. You know which WebView2 APIs are available to your app, because you control which version of the WebView2 Runtime is available to your app. Your app doesn't need to test whether the latest APIs are present.

Expand Down