You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
4>C:\Program Files\dotnet\packs\Microsoft.Android.Sdk.Windows\35.0.61\tools\Xamarin.Android.Tooling.targets(62,5): error XA5300: The Android SDK directory could not be found. Install the Android SDK by following the instructions at: https://aka.ms/dotnet-android-install-sdk
4>C:\Program Files\dotnet\packs\Microsoft.Android.Sdk.Windows\35.0.61\tools\Xamarin.Android.Tooling.targets(62,5): error XA5300: To use a custom SDK path for a command line build, set the 'AndroidSdkDirectory' MSBuild property to the custom path.
4
@Arlodotexe why is it trying to build Android here, I thought local should only be WASDK by default?
@Arlodotexe why is it trying to build Android here, I thought local should only be WASDK by default?
It is wasdk by default, it shouldn't be trying to build the Android TFM unless it was manually enabled by the user.
@HO-COOH Could you provide a build binlog that we can inspect? You should be able to do this inside Visual Studio using the Project System Tools extension.
Activity
michael-hawker commentedon May 6, 2025
Yup, was going to call out the first error is:
@Arlodotexe why is it trying to build Android here, I thought local should only be WASDK by default?
The script parameters call this out too:
https://github.com/CommunityToolkit/Tooling-Windows-Submodule/blob/d794325026c3bdebd0d92b232476af0c01b11cb3/GenerateAllSolution.ps1#L14-L15
Arlodotexe commentedon May 8, 2025
It is wasdk by default, it shouldn't be trying to build the Android TFM unless it was manually enabled by the user.
@HO-COOH Could you provide a build binlog that we can inspect? You should be able to do this inside Visual Studio using the Project System Tools extension.
HO-COOH commentedon May 9, 2025
@Arlodotexe
OpacityMaskView.Samples_Debug_x64_Build_2025-05-10T00_47_37.0870606+08_00.zip