Skip to content

Commit dc0ae8c

Browse files
committed
lines of code,
1 parent b3f26cf commit dc0ae8c

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

microsoft-edge/webview2/samples/webview2-winui3-sample.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ ms.date: 11/05/2024
1616

1717
This sample demonstrates using a WebView2 control in a WinUI 3 (Windows App SDK) Packaged application.
1818

19-
This sample also shows how to update an application to ship with a fixed WebView2 version, instead of using the version of WebView2 Runtime that's installed and running on the Windows computer.
20-
2119
![Sample app](./webview2-winui3-sample-images/sample-app.png)
2220

21+
This sample also allows you to ship the app with a fixed-version WebView2 Runtime, instead of using whichever version of the WebView2 Runtime is installed and running on the user's computer.
22+
2323

2424
<!-- ------------------------------ -->
2525
#### NuGet packages and workload components
@@ -313,8 +313,8 @@ namespace WebView2_WinUI3_Sample
313313
this.InitializeComponent();
314314

315315
// If you're shipping a fixed-version WebView2 Runtime with your app, un-comment the
316-
// following code and change the version number to the version number of the WebView2
317-
// Runtime that you're packaging and shipping to users:
316+
// following lines of code, and change the version number to the version number of the
317+
// WebView2 Runtime that you're packaging and shipping to users:
318318
319319
// StorageFolder localFolder = Windows.ApplicationModel.Package.Current.InstalledLocation;
320320
// String fixedPath = Path.Combine(localFolder.Path, "FixedRuntime\\130.0.2849.39");
@@ -636,9 +636,9 @@ To use a fixed-version Runtime:
636636
this.InitializeComponent();
637637

638638
// If you're shipping a fixed-version WebView2 Runtime with your app, un-comment the
639-
// following code and change the version number to the version number of the WebView2
640-
// Runtime that you're packaging and shipping to users:
641-
639+
// following lines of code, and change the version number to the version number of the
640+
// WebView2 Runtime that you're packaging and shipping to users:
641+
642642
// StorageFolder localFolder = Windows.ApplicationModel.Package.Current.InstalledLocation;
643643
// String fixedPath = Path.Combine(localFolder.Path, "FixedRuntime\\130.0.2849.39");
644644
// Debug.WriteLine($"Launch path [{localFolder.Path}]");

0 commit comments

Comments
 (0)