Skip to content

Commit f78d982

Browse files
committed
latest Runtime version number
1 parent ff0f67d commit f78d982

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

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

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Before building, we'll do the following:
3838
| WebView2_WinUI3_Sample | Project code |
3939
| WebView2_WinUI3_Sample (Package) | Packaging and distribution project |
4040
| WebView2_WinUI3_Sample (Package)\FixedRuntime | (Optional) Fixed WebView2 runtime |
41-
| WebView2_WinUI3_Sample (Package)\FixedRuntime\95.0.1020.53 | (Optional) Fixed WebView2 runtime sample |
41+
| WebView2_WinUI3_Sample (Package)\FixedRuntime\130.0.2849.39 | (Optional) Fixed WebView2 runtime sample |
4242

4343

4444
<!-- ====================================================================== -->
@@ -316,7 +316,7 @@ namespace WebView2_WinUI3_Sample
316316
// version number of the WebView2 Runtime that you're packaging and
317317
// shipping to users:
318318
// StorageFolder localFolder = Windows.ApplicationModel.Package.Current.InstalledLocation;
319-
// String fixedPath = Path.Combine(localFolder.Path, "FixedRuntime\\95.0.1020.53");
319+
// String fixedPath = Path.Combine(localFolder.Path, "FixedRuntime\\130.0.2849.39");
320320
// Debug.WriteLine($"Launch path [{localFolder.Path}]");
321321
// Debug.WriteLine($"FixedRuntime path [{fixedPath}]");
322322
// Environment.SetEnvironmentVariable("WEBVIEW2_BROWSER_EXECUTABLE_FOLDER", fixedPath);
@@ -608,23 +608,23 @@ private string GetWebView2Version(WebView2 webView2)
608608

609609
If you want to ship a fixed version of the WebView2 runtime with your application you will need to include it in your project. See [Distribute your app and the WebView2 Runtime](../concepts/distribution.md).
610610

611-
The following steps show Runtime version number `95.0.1020.53`; you'll change this number to whatever version you are packaging and shipping.
611+
The following steps show Runtime version number `130.0.2849.39`; you'll change this number to whatever version you are packaging and shipping.
612612

613613

614614
To use a fixed-version Runtime:
615615

616616
1. Include the fixed WebView2 runtime in the package project:
617617

618618
```
619-
\WebView2_WinUI3_Sample\WebView2_WinUI3_Sample (Package)\FixedRuntime\95.0.1020.53\
619+
\WebView2_WinUI3_Sample\WebView2_WinUI3_Sample (Package)\FixedRuntime\130.0.2849.39\
620620
```
621621

622-
Above, use the version that you're shipping, instead of `95.0.1020.53`.
622+
Above, use the version that you're shipping, instead of `130.0.2849.39`.
623623

624-
1. Update the package project `wapproj` file for the version you're using (use your version instead of `95.0.1020.53`):
624+
1. Update the package project `wapproj` file for the version you're using (use your version instead of `130.0.2849.39`):
625625

626626
```
627-
< Content Include="FixedRuntime\95.0.1020.53\\**\*.*" >
627+
< Content Include="FixedRuntime\130.0.2849.39\\**\*.*" >
628628
```
629629

630630
1. In `App.xaml.cs`, uncomment the five commented-out lines of code below the comment, to enable the Runtime override:
@@ -638,14 +638,14 @@ To use a fixed-version Runtime:
638638
// version number of the WebView2 Runtime that you're packaging and
639639
// shipping to users:
640640
// StorageFolder localFolder = Windows.ApplicationModel.Package.Current.InstalledLocation;
641-
// String fixedPath = Path.Combine(localFolder.Path, "FixedRuntime\\95.0.1020.53");
641+
// String fixedPath = Path.Combine(localFolder.Path, "FixedRuntime\\130.0.2849.39");
642642
// Debug.WriteLine($"Launch path [{localFolder.Path}]");
643643
// Debug.WriteLine($"FixedRuntime path [{fixedPath}]");
644644
// Environment.SetEnvironmentVariable("WEBVIEW2_BROWSER_EXECUTABLE_FOLDER", fixedPath);
645645
}
646646
```
647647

648-
1. In the above code, change the version number from `95.0.1020.53` to the version that you're shipping.
648+
1. In the above code, change the version number from `130.0.2849.39` to the version that you're shipping.
649649

650650

651651
<!-- ====================================================================== -->

0 commit comments

Comments
 (0)