Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
moljac opened this issue Oct 17, 2024 · 0 comments · Fixed by #1017
Closed

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

moljac opened this issue Oct 17, 2024 · 0 comments · Fixed by #1017

Comments

@moljac
Copy link
Contributor

moljac commented Oct 17, 2024

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.
jpobst added a commit that referenced this issue Oct 21, 2024
#1017)

Break up `build.cake` functionality into smaller files instead of having one massive file.  By moving the stuff we still use into separate files, we can easily remove the remaining obsolete stuff from the main file (XA Classic, AndroidSupport, etc.).

This should also fix #1015, assuming those errors messages are from `cake`.

Additionally, move the `"binderate-config-verify"` task logic to `binderator`.  There was an issue with existing logic causing it to miss that `androidx.wear.wear-input` had mismatching Java (`1.1.0`) and NuGet (`1.0.0.19`) versions.  Fix that as well.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant