TippuR
TippuR

Reputation: 125

Sample Application for WebView2 Older version

I am working on official released version of Edge - 83.0.478.50( assuming this is latest official version) and its compatible Webview2 SDK version V0.9.430.

I could not find the sample application or Getting Started application. The official page is pointing to latest SDK API. https://learn.microsoft.com/en-us/microsoft-edge/webview2/gettingstarted/win32

I tried to build getting started application from https://github.com/MicrosoftEdge/WebView2Samples/tree/master/WebView2APISample and microsoft documentation page. But couldn't build application.

Does anyone has sample/Getting started application for V0.9.430 webview2 SDK?

Upvotes: 1

Views: 398

Answers (1)

David Risney
David Risney

Reputation: 4377

If you examine the history of the WebView2APISample.vcxproj file, you can see when it was updated to different WebView2 SDK versions and then checkout the corresponding change in your local repo.

Looks like this change moved to build 430. If you have a local clone of the repo you should be able to do the following to get the source of the sample app at that time:

git checkout b34a0fe9a5caec8f88eb892d42b864f52f45ca1d

We should probably make this easier with branches to label the different versions or something.

FYI, there have been various breaking changes to the WebView2 API since 430.

Upvotes: 1

Related Questions