cefsharp / CefSharp

.NET (WPF and Windows Forms) bindings for the Chromium Embedded Framework
http://cefsharp.github.io/
Other
9.88k stars 2.92k forks source link

fix: take latest vs install if multiple instances exist with vswhere.exe #4939

Closed mitchcapper closed 1 month ago

mitchcapper commented 1 month ago

Fixes: #4938

Summary: [summary of the change and which issue is fixed here] Specifying latest gives us the last installed version and is a quick fix without adding more parameters.

Changes: [specify the structures changed] Should have 0 effect for where build.ps1 was working and fix where it broke with multiple installs

How Has This Been Tested?
I ran it ;)

Screenshots (if appropriate):

Types of changes

Checklist:

I think this would happen if you have vs 2022 and preview installed, certainly if you had community and another version installed.

AppVeyorBot commented 1 month ago

:white_check_mark: Build CefSharp 128.4.90-CI5062 completed (commit https://github.com/cefsharp/CefSharp/commit/37e7c859a4 by @mitchcapper)

amaitland commented 1 month ago

Nice one! Thank you!

Let me know if you need this cherry picked into older branch 😄