MicrosoftEdge / WebView2Samples

Microsoft Edge WebView2 samples
830 stars 460 forks source link

Why does GetSDKBuildVersion remove the first two parts? #233

Closed pushkin- closed 5 months ago

pushkin- commented 5 months ago

Why does GetSdkBuildVersion remove the first two parts of the version.

I get back "2210.55" though my Nuget version is "1.0.2210.55"

Should we not care about the first two parts?

champnic commented 5 months ago

In general the last two parts of the version string are the interesting ones, especially for knowing what runtime APIs are going to be available and compatible with installed runtimes. The "1.0" hasn't changed since we released WV2 SDK to GA, and we don't currently have plans for a 2.0 version. It's a possibility at some point in the future though.