dotnet/android-libraries

[Tooling] vswhere crashes on clean windows requiring `Component.Xamarin`

Closed this issue · 0 comments

Android framework version

Other

Affected platform version

net8.0, net9.0

Description

Executing: "C:/Users/james/source/repos/AndroidX/tools/vswhere.3.1.7/tools/vswhere.exe" -latest -requires Component.Xamarin -property installationPath -prerelease -nologo
Error: System.NullReferenceException: Object reference not set to an instance of an object.

Relevant log output

vswhere crashes on clean windows requiring `Component.Xamarin`


Executing: "C:/Users/james/source/repos/AndroidX/tools/vswhere.3.1.7/tools/vswhere.exe" -latest -requires Component.Xamarin -property installationPath -prerelease -nologo
Error: System.NullReferenceException: Object reference not set to an instance of an object.

Current workaround is to install Xamarin Compoment in/with VS Installer.