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

build.ps1 doesn't work if you have multiple vs installs of the same 'version' #4938

Closed mitchcapper closed 1 month ago

mitchcapper commented 1 month ago

Is there an existing issue for this?

CefSharp Version

126

Operating System

Windows 10

Architecture

x64

.Net Version

.net 9

Implementation

WPF

Reproduction Steps

vswhere returns all versions that mach the requested filter, if you have two of the same 'version' installed build.ps1 fails as it expects only one to be returned

Expected behavior

it builds

Actual behavior

it fails due to the vs path being both joined together

Regression?

No response

Known Workarounds

uninstall the other vs editions you have installed

Does this problem also occur in the CEF Sample Application

Not Tested

Other information

No response