
> echo Attempting build for UTN-FRP-TUP-Aplicada-2025-Ejemplos_Maui_Comenzando with .NET 10 and JDK 17
Attempting build for UTN-FRP-TUP-Aplicada-2025-Ejemplos_Maui_Comenzando with .NET 10 and JDK 17

> docker run --rm -v /home/ubuntu/storage/maui_assets/extracted/UTN-FRP-TUP-Aplicada-2025-Ejemplos_Maui_Comenzando/Ejemplos_Maui_Comenzando-a3fd7da9f30f69c3690ea213e841d734a805d627/Ejemplos_Maui_Comenzando/Binding/Ejemplo_Binding_INotifyProperty:/source:ro -v /home/ubuntu/BachelorsThesis/scripts/maui/output/UTN-FRP-TUP-Aplicada-2025-Ejemplos_Maui_Comenzando:/output -v /home/ubuntu/.nuget/packages:/root/.nuget/packages maui-android:10-jdk17 bash -c 
                set -e
                cp -r /source/. /app
                cd /app

                # ---- strip non-android target frameworks (avoids missing iOS/macOS workload errors) ----
                sed -i 's|<TargetFrameworks>[^<]*</TargetFrameworks>|<TargetFrameworks>net10.0-android</TargetFrameworks>|' Ejemplo_Binding_INotifyProperty.csproj 2>/dev/null || true
                sed -i 's|<TargetFramework>[^<]*</TargetFramework>|<TargetFramework>net10.0-android</TargetFramework>|' Ejemplo_Binding_INotifyProperty.csproj 2>/dev/null || true

                # ---- restore packages (auto-clean corrupted cache entries on failure) ----
                if ! dotnet restore Ejemplo_Binding_INotifyProperty.csproj /p:RestorePackagesWithLockFile=true 2>/tmp/nuget_restore.log; then
                    grep -oE "/root/\.nuget/packages/[^/]+/[^/']+" /tmp/nuget_restore.log | sort -u | xargs -r rm -rf 2>/dev/null || true
                    dotnet restore Ejemplo_Binding_INotifyProperty.csproj /p:RestorePackagesWithLockFile=true || exit 1
                fi

                # ---- build debug APK with per-ABI splits ----
                dotnet build Ejemplo_Binding_INotifyProperty.csproj                     -f net10.0-android                     -c Debug                     /p:AndroidCreatePackagePerAbi=true                     "/p:AndroidSupportedAbis=armeabi-v7a%3Barm64-v8a%3Bx86%3Bx86_64"                     /p:AndroidUseSharedRuntime=false                     --no-restore || exit 1

                # ---- verify and copy APKs ----
                APK_DIR="bin/Debug/net10.0-android"
                if ! ls "$APK_DIR"/*.apk 1>/dev/null 2>&1; then
                    echo "ERROR: No APKs found in $APK_DIR"
                    exit 1
                fi
                cp "$APK_DIR"/*.apk /output/

                # ---- copy metadata ----
                cp Ejemplo_Binding_INotifyProperty.csproj /output/ || true
                [ -f packages.lock.json ] && cp packages.lock.json /output/ || true
                find . -name "Directory.*.props" 2>/dev/null | grep -v "/bin/" | grep -v "/obj/" | while read f; do cp "$f" /output/ 2>/dev/null; done || true
                find . -name "Directory.*.targets" 2>/dev/null | grep -v "/bin/" | grep -v "/obj/" | while read f; do cp "$f" /output/ 2>/dev/null; done || true
                mkdir -p /output/libs
                find . -name "*.jar" -not -name "gradle-wrapper.jar" 2>/dev/null | grep -v "/bin/" | grep -v "/obj/" | grep -v "/.nuget/" | while read f; do cp "$f" /output/libs/ 2>/dev/null; done || true
                find . -name "*.aar" 2>/dev/null | grep -v "/bin/" | grep -v "/obj/" | grep -v "/.nuget/" | while read f; do cp "$f" /output/libs/ 2>/dev/null; done || true
                find . -name "*.so" 2>/dev/null | grep -v "/bin/" | grep -v "/obj/" | grep -v "/.nuget/" | while read f; do cp "$f" /output/libs/ 2>/dev/null; done || true
                    
  Determining projects to restore...
  Restored /app/Ejemplo_Binding_INotifyProperty.csproj (in 1.2 sec).
/opt/dotnet/packs/Microsoft.Android.Sdk.Linux/36.1.69/targets/Microsoft.Android.Sdk.Tooling.targets(61,5): warning XA0036: The 'AndroidSupportedAbis' MSBuild property is no longer supported. Edit the project file in a text editor, remove any uses of 'AndroidSupportedAbis', and use the 'RuntimeIdentifiers' MSBuild property instead. [/app/Ejemplo_Binding_INotifyProperty.csproj::TargetFramework=net10.0-android]
/app/ViewModels/PersonaViewModel.cs(8,46): warning CS8612: Nullability of reference types in type of 'event PropertyChangedEventHandler PersonaViewModel.PropertyChanged' doesn't match implicitly implemented member 'event PropertyChangedEventHandler? INotifyPropertyChanged.PropertyChanged'. [/app/Ejemplo_Binding_INotifyProperty.csproj::TargetFramework=net10.0-android]
/app/ViewModels/PersonaViewModel.cs(8,46): warning CS8618: Non-nullable event 'PropertyChanged' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the event as nullable. [/app/Ejemplo_Binding_INotifyProperty.csproj::TargetFramework=net10.0-android]
/app/ViewModels/PersonaViewModel.cs(15,12): warning CS8618: Non-nullable field 'nombre' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable. [/app/Ejemplo_Binding_INotifyProperty.csproj::TargetFramework=net10.0-android]
  Ejemplo_Binding_INotifyProperty -> /app/bin/Debug/net10.0-android/Ejemplo_Binding_INotifyProperty.dll

Build succeeded.

/opt/dotnet/packs/Microsoft.Android.Sdk.Linux/36.1.69/targets/Microsoft.Android.Sdk.Tooling.targets(61,5): warning XA0036: The 'AndroidSupportedAbis' MSBuild property is no longer supported. Edit the project file in a text editor, remove any uses of 'AndroidSupportedAbis', and use the 'RuntimeIdentifiers' MSBuild property instead. [/app/Ejemplo_Binding_INotifyProperty.csproj::TargetFramework=net10.0-android]
/app/ViewModels/PersonaViewModel.cs(8,46): warning CS8612: Nullability of reference types in type of 'event PropertyChangedEventHandler PersonaViewModel.PropertyChanged' doesn't match implicitly implemented member 'event PropertyChangedEventHandler? INotifyPropertyChanged.PropertyChanged'. [/app/Ejemplo_Binding_INotifyProperty.csproj::TargetFramework=net10.0-android]
/app/ViewModels/PersonaViewModel.cs(8,46): warning CS8618: Non-nullable event 'PropertyChanged' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the event as nullable. [/app/Ejemplo_Binding_INotifyProperty.csproj::TargetFramework=net10.0-android]
/app/ViewModels/PersonaViewModel.cs(15,12): warning CS8618: Non-nullable field 'nombre' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable. [/app/Ejemplo_Binding_INotifyProperty.csproj::TargetFramework=net10.0-android]
    4 Warning(s)
    0 Error(s)

Time Elapsed 00:02:20.74

> docker run --rm -v /home/ubuntu/storage/maui_assets/extracted/UTN-FRP-TUP-Aplicada-2025-Ejemplos_Maui_Comenzando/Ejemplos_Maui_Comenzando-a3fd7da9f30f69c3690ea213e841d734a805d627/Ejemplos_Maui_Comenzando/Binding/Ejemplo_Binding_INotifyProperty:/source:ro -v /home/ubuntu/BachelorsThesis/scripts/maui/output/UTN-FRP-TUP-Aplicada-2025-Ejemplos_Maui_Comenzando:/output -v /home/ubuntu/.nuget/packages:/root/.nuget/packages maui-android:10-jdk17 bash -c 
                set -e
                cp -r /source/. /app
                cd /app

                # ---- strip non-android target frameworks ----
                sed -i 's|<TargetFrameworks>[^<]*</TargetFrameworks>|<TargetFrameworks>net10.0-android</TargetFrameworks>|' Ejemplo_Binding_INotifyProperty.csproj 2>/dev/null || true
                sed -i 's|<TargetFramework>[^<]*</TargetFramework>|<TargetFramework>net10.0-android</TargetFramework>|' Ejemplo_Binding_INotifyProperty.csproj 2>/dev/null || true

                # ---- build release APKs per-ABI: restore + build inside the loop ----
                # Restoring with -r $ABI_RID populates project.assets.json with a target for that
                # specific RID, preventing NETSDK1047. A single restore without -r only creates a
                # RID-agnostic target, and passing /p:RuntimeIdentifiers="a;b;c" causes NETSDK1083
                # on some SDK versions because the whole string is treated as one unknown RID.
                for ABI_RID in android-arm android-arm64 android-x86 android-x64; do
                    if ! dotnet restore Ejemplo_Binding_INotifyProperty.csproj /p:RestorePackagesWithLockFile=true -r $ABI_RID 2>/tmp/nuget_restore.log; then
                        grep -oE "/root/\.nuget/packages/[^/]+/[^/']+" /tmp/nuget_restore.log | sort -u | xargs -r rm -rf 2>/dev/null || true
                        dotnet restore Ejemplo_Binding_INotifyProperty.csproj /p:RestorePackagesWithLockFile=true -r $ABI_RID || true
                    fi
                    dotnet build Ejemplo_Binding_INotifyProperty.csproj                         -f net10.0-android                         -c Release                         -r $ABI_RID                         /p:AndroidPackageFormat=apk                         /p:AndroidUseSharedRuntime=false                         /p:AndroidLinkTool=r8                         /p:AndroidLinkMode=SdkOnly                         /p:AndroidKeyStore=true                         /p:AndroidSigningKeyStore=/root/.android/debug.keystore                         /p:AndroidSigningKeyAlias=androiddebugkey                         /p:AndroidSigningKeyPass=android                         /p:AndroidSigningStorePass=android                         --no-restore || true
                    find bin/Release/net10.0-android -name "*.apk" | while read f; do cp "$f" "/output/r8/$(basename ${f%.apk})-$ABI_RID.apk"; done 2>/dev/null || true
                done

                # ---- verify output ----
                if ! ls /output/r8/*.apk 1>/dev/null 2>&1; then
                    echo "ERROR: No APKs copied to /output/r8"
                    exit 1
                fi

                # ---- copy metadata ----
                cp Ejemplo_Binding_INotifyProperty.csproj /output/r8/ || true
                [ -f packages.lock.json ] && cp packages.lock.json /output/r8/ || true
                find . -name "Directory.*.props" 2>/dev/null | grep -v "/bin/" | grep -v "/obj/" | while read f; do cp "$f" /output/r8/ 2>/dev/null; done || true
                find . -name "Directory.*.targets" 2>/dev/null | grep -v "/bin/" | grep -v "/obj/" | while read f; do cp "$f" /output/r8/ 2>/dev/null; done || true
                mkdir -p /output/r8/libs
                find . -name "*.jar" -not -name "gradle-wrapper.jar" 2>/dev/null | grep -v "/bin/" | grep -v "/obj/" | grep -v "/.nuget/" | while read f; do cp "$f" /output/r8/libs/ 2>/dev/null; done || true
                find . -name "*.aar" 2>/dev/null | grep -v "/bin/" | grep -v "/obj/" | grep -v "/.nuget/" | while read f; do cp "$f" /output/r8/libs/ 2>/dev/null; done || true
                find . -name "*.so" 2>/dev/null | grep -v "/bin/" | grep -v "/obj/" | grep -v "/.nuget/" | while read f; do cp "$f" /output/r8/libs/ 2>/dev/null; done || true
                    
  Determining projects to restore...
  Restored /app/Ejemplo_Binding_INotifyProperty.csproj (in 1.45 sec).
/app/ViewModels/PersonaViewModel.cs(8,46): warning CS8612: Nullability of reference types in type of 'event PropertyChangedEventHandler PersonaViewModel.PropertyChanged' doesn't match implicitly implemented member 'event PropertyChangedEventHandler? INotifyPropertyChanged.PropertyChanged'. [/app/Ejemplo_Binding_INotifyProperty.csproj::TargetFramework=net10.0-android]
/app/ViewModels/PersonaViewModel.cs(8,46): warning CS8618: Non-nullable event 'PropertyChanged' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the event as nullable. [/app/Ejemplo_Binding_INotifyProperty.csproj::TargetFramework=net10.0-android]
/app/ViewModels/PersonaViewModel.cs(15,12): warning CS8618: Non-nullable field 'nombre' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable. [/app/Ejemplo_Binding_INotifyProperty.csproj::TargetFramework=net10.0-android]
  Ejemplo_Binding_INotifyProperty -> /app/bin/Release/net10.0-android/android-arm/Ejemplo_Binding_INotifyProperty.dll
  Optimizing assemblies for size may change the behavior of the app. Be sure to test after publishing. See: https://aka.ms/dotnet-illink
  Optimizing assemblies for size. This process might take a while.
/opt/dotnet/sdk/10.0.400/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(266,5): error NETSDK1047: Assets file '/app/obj/project.assets.json' doesn't have a target for 'net10.0-android/android-x64'. Ensure that restore has run and that you have included 'net10.0-android' in the TargetFrameworks for your project. You may also need to include 'android-x64' in your project's RuntimeIdentifiers. [/app/Ejemplo_Binding_INotifyProperty.csproj::TargetFramework=net10.0-android]
/opt/dotnet/sdk/10.0.400/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(266,5): error NETSDK1047: Assets file '/app/obj/project.assets.json' doesn't have a target for 'net10.0-android/android-arm64'. Ensure that restore has run and that you have included 'net10.0-android' in the TargetFrameworks for your project. You may also need to include 'android-arm64' in your project's RuntimeIdentifiers. [/app/Ejemplo_Binding_INotifyProperty.csproj::TargetFramework=net10.0-android]
/opt/dotnet/sdk/10.0.400/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(266,5): error NETSDK1047: Assets file '/app/obj/project.assets.json' doesn't have a target for 'net10.0-android/android-x86'. Ensure that restore has run and that you have included 'net10.0-android' in the TargetFrameworks for your project. You may also need to include 'android-x86' in your project's RuntimeIdentifiers. [/app/Ejemplo_Binding_INotifyProperty.csproj::TargetFramework=net10.0-android]

Build FAILED.

/app/ViewModels/PersonaViewModel.cs(8,46): warning CS8612: Nullability of reference types in type of 'event PropertyChangedEventHandler PersonaViewModel.PropertyChanged' doesn't match implicitly implemented member 'event PropertyChangedEventHandler? INotifyPropertyChanged.PropertyChanged'. [/app/Ejemplo_Binding_INotifyProperty.csproj::TargetFramework=net10.0-android]
/app/ViewModels/PersonaViewModel.cs(8,46): warning CS8618: Non-nullable event 'PropertyChanged' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the event as nullable. [/app/Ejemplo_Binding_INotifyProperty.csproj::TargetFramework=net10.0-android]
/app/ViewModels/PersonaViewModel.cs(15,12): warning CS8618: Non-nullable field 'nombre' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable. [/app/Ejemplo_Binding_INotifyProperty.csproj::TargetFramework=net10.0-android]
/opt/dotnet/sdk/10.0.400/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(266,5): error NETSDK1047: Assets file '/app/obj/project.assets.json' doesn't have a target for 'net10.0-android/android-x64'. Ensure that restore has run and that you have included 'net10.0-android' in the TargetFrameworks for your project. You may also need to include 'android-x64' in your project's RuntimeIdentifiers. [/app/Ejemplo_Binding_INotifyProperty.csproj::TargetFramework=net10.0-android]
/opt/dotnet/sdk/10.0.400/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(266,5): error NETSDK1047: Assets file '/app/obj/project.assets.json' doesn't have a target for 'net10.0-android/android-arm64'. Ensure that restore has run and that you have included 'net10.0-android' in the TargetFrameworks for your project. You may also need to include 'android-arm64' in your project's RuntimeIdentifiers. [/app/Ejemplo_Binding_INotifyProperty.csproj::TargetFramework=net10.0-android]
/opt/dotnet/sdk/10.0.400/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(266,5): error NETSDK1047: Assets file '/app/obj/project.assets.json' doesn't have a target for 'net10.0-android/android-x86'. Ensure that restore has run and that you have included 'net10.0-android' in the TargetFrameworks for your project. You may also need to include 'android-x86' in your project's RuntimeIdentifiers. [/app/Ejemplo_Binding_INotifyProperty.csproj::TargetFramework=net10.0-android]
    3 Warning(s)
    3 Error(s)

Time Elapsed 00:00:40.44
  Determining projects to restore...
  Restored /app/Ejemplo_Binding_INotifyProperty.csproj (in 710 ms).
/app/ViewModels/PersonaViewModel.cs(8,46): warning CS8612: Nullability of reference types in type of 'event PropertyChangedEventHandler PersonaViewModel.PropertyChanged' doesn't match implicitly implemented member 'event PropertyChangedEventHandler? INotifyPropertyChanged.PropertyChanged'. [/app/Ejemplo_Binding_INotifyProperty.csproj::TargetFramework=net10.0-android]
/app/ViewModels/PersonaViewModel.cs(8,46): warning CS8618: Non-nullable event 'PropertyChanged' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the event as nullable. [/app/Ejemplo_Binding_INotifyProperty.csproj::TargetFramework=net10.0-android]
/app/ViewModels/PersonaViewModel.cs(15,12): warning CS8618: Non-nullable field 'nombre' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable. [/app/Ejemplo_Binding_INotifyProperty.csproj::TargetFramework=net10.0-android]
  Ejemplo_Binding_INotifyProperty -> /app/bin/Release/net10.0-android/android-arm64/Ejemplo_Binding_INotifyProperty.dll
/opt/dotnet/sdk/10.0.400/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(266,5): error NETSDK1047: Assets file '/app/obj/project.assets.json' doesn't have a target for 'net10.0-android/android-arm'. Ensure that restore has run and that you have included 'net10.0-android' in the TargetFrameworks for your project. You may also need to include 'android-arm' in your project's RuntimeIdentifiers. [/app/Ejemplo_Binding_INotifyProperty.csproj::TargetFramework=net10.0-android]
/opt/dotnet/sdk/10.0.400/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(266,5): error NETSDK1047: Assets file '/app/obj/project.assets.json' doesn't have a target for 'net10.0-android/android-x64'. Ensure that restore has run and that you have included 'net10.0-android' in the TargetFrameworks for your project. You may also need to include 'android-x64' in your project's RuntimeIdentifiers. [/app/Ejemplo_Binding_INotifyProperty.csproj::TargetFramework=net10.0-android]
/opt/dotnet/sdk/10.0.400/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(266,5): error NETSDK1047: Assets file '/app/obj/project.assets.json' doesn't have a target for 'net10.0-android/android-x86'. Ensure that restore has run and that you have included 'net10.0-android' in the TargetFrameworks for your project. You may also need to include 'android-x86' in your project's RuntimeIdentifiers. [/app/Ejemplo_Binding_INotifyProperty.csproj::TargetFramework=net10.0-android]
  Optimizing assemblies for size may change the behavior of the app. Be sure to test after publishing. See: https://aka.ms/dotnet-illink
  Optimizing assemblies for size. This process might take a while.

Build FAILED.

/app/ViewModels/PersonaViewModel.cs(8,46): warning CS8612: Nullability of reference types in type of 'event PropertyChangedEventHandler PersonaViewModel.PropertyChanged' doesn't match implicitly implemented member 'event PropertyChangedEventHandler? INotifyPropertyChanged.PropertyChanged'. [/app/Ejemplo_Binding_INotifyProperty.csproj::TargetFramework=net10.0-android]
/app/ViewModels/PersonaViewModel.cs(8,46): warning CS8618: Non-nullable event 'PropertyChanged' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the event as nullable. [/app/Ejemplo_Binding_INotifyProperty.csproj::TargetFramework=net10.0-android]
/app/ViewModels/PersonaViewModel.cs(15,12): warning CS8618: Non-nullable field 'nombre' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable. [/app/Ejemplo_Binding_INotifyProperty.csproj::TargetFramework=net10.0-android]
/opt/dotnet/sdk/10.0.400/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(266,5): error NETSDK1047: Assets file '/app/obj/project.assets.json' doesn't have a target for 'net10.0-android/android-arm'. Ensure that restore has run and that you have included 'net10.0-android' in the TargetFrameworks for your project. You may also need to include 'android-arm' in your project's RuntimeIdentifiers. [/app/Ejemplo_Binding_INotifyProperty.csproj::TargetFramework=net10.0-android]
/opt/dotnet/sdk/10.0.400/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(266,5): error NETSDK1047: Assets file '/app/obj/project.assets.json' doesn't have a target for 'net10.0-android/android-x64'. Ensure that restore has run and that you have included 'net10.0-android' in the TargetFrameworks for your project. You may also need to include 'android-x64' in your project's RuntimeIdentifiers. [/app/Ejemplo_Binding_INotifyProperty.csproj::TargetFramework=net10.0-android]
/opt/dotnet/sdk/10.0.400/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(266,5): error NETSDK1047: Assets file '/app/obj/project.assets.json' doesn't have a target for 'net10.0-android/android-x86'. Ensure that restore has run and that you have included 'net10.0-android' in the TargetFrameworks for your project. You may also need to include 'android-x86' in your project's RuntimeIdentifiers. [/app/Ejemplo_Binding_INotifyProperty.csproj::TargetFramework=net10.0-android]
    3 Warning(s)
    3 Error(s)

Time Elapsed 00:00:35.47
  Determining projects to restore...
  Restored /app/Ejemplo_Binding_INotifyProperty.csproj (in 696 ms).
/app/ViewModels/PersonaViewModel.cs(8,46): warning CS8612: Nullability of reference types in type of 'event PropertyChangedEventHandler PersonaViewModel.PropertyChanged' doesn't match implicitly implemented member 'event PropertyChangedEventHandler? INotifyPropertyChanged.PropertyChanged'. [/app/Ejemplo_Binding_INotifyProperty.csproj::TargetFramework=net10.0-android]
/app/ViewModels/PersonaViewModel.cs(8,46): warning CS8618: Non-nullable event 'PropertyChanged' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the event as nullable. [/app/Ejemplo_Binding_INotifyProperty.csproj::TargetFramework=net10.0-android]
/app/ViewModels/PersonaViewModel.cs(15,12): warning CS8618: Non-nullable field 'nombre' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable. [/app/Ejemplo_Binding_INotifyProperty.csproj::TargetFramework=net10.0-android]
  Ejemplo_Binding_INotifyProperty -> /app/bin/Release/net10.0-android/android-x86/Ejemplo_Binding_INotifyProperty.dll
/opt/dotnet/sdk/10.0.400/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(266,5): error NETSDK1047: Assets file '/app/obj/project.assets.json' doesn't have a target for 'net10.0-android/android-x64'. Ensure that restore has run and that you have included 'net10.0-android' in the TargetFrameworks for your project. You may also need to include 'android-x64' in your project's RuntimeIdentifiers. [/app/Ejemplo_Binding_INotifyProperty.csproj::TargetFramework=net10.0-android]
/opt/dotnet/sdk/10.0.400/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(266,5): error NETSDK1047: Assets file '/app/obj/project.assets.json' doesn't have a target for 'net10.0-android/android-arm'. Ensure that restore has run and that you have included 'net10.0-android' in the TargetFrameworks for your project. You may also need to include 'android-arm' in your project's RuntimeIdentifiers. [/app/Ejemplo_Binding_INotifyProperty.csproj::TargetFramework=net10.0-android]
/opt/dotnet/sdk/10.0.400/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(266,5): error NETSDK1047: Assets file '/app/obj/project.assets.json' doesn't have a target for 'net10.0-android/android-arm64'. Ensure that restore has run and that you have included 'net10.0-android' in the TargetFrameworks for your project. You may also need to include 'android-arm64' in your project's RuntimeIdentifiers. [/app/Ejemplo_Binding_INotifyProperty.csproj::TargetFramework=net10.0-android]
  Optimizing assemblies for size may change the behavior of the app. Be sure to test after publishing. See: https://aka.ms/dotnet-illink
  Optimizing assemblies for size. This process might take a while.

Build FAILED.

/app/ViewModels/PersonaViewModel.cs(8,46): warning CS8612: Nullability of reference types in type of 'event PropertyChangedEventHandler PersonaViewModel.PropertyChanged' doesn't match implicitly implemented member 'event PropertyChangedEventHandler? INotifyPropertyChanged.PropertyChanged'. [/app/Ejemplo_Binding_INotifyProperty.csproj::TargetFramework=net10.0-android]
/app/ViewModels/PersonaViewModel.cs(8,46): warning CS8618: Non-nullable event 'PropertyChanged' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the event as nullable. [/app/Ejemplo_Binding_INotifyProperty.csproj::TargetFramework=net10.0-android]
/app/ViewModels/PersonaViewModel.cs(15,12): warning CS8618: Non-nullable field 'nombre' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable. [/app/Ejemplo_Binding_INotifyProperty.csproj::TargetFramework=net10.0-android]
/opt/dotnet/sdk/10.0.400/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(266,5): error NETSDK1047: Assets file '/app/obj/project.assets.json' doesn't have a target for 'net10.0-android/android-x64'. Ensure that restore has run and that you have included 'net10.0-android' in the TargetFrameworks for your project. You may also need to include 'android-x64' in your project's RuntimeIdentifiers. [/app/Ejemplo_Binding_INotifyProperty.csproj::TargetFramework=net10.0-android]
/opt/dotnet/sdk/10.0.400/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(266,5): error NETSDK1047: Assets file '/app/obj/project.assets.json' doesn't have a target for 'net10.0-android/android-arm'. Ensure that restore has run and that you have included 'net10.0-android' in the TargetFrameworks for your project. You may also need to include 'android-arm' in your project's RuntimeIdentifiers. [/app/Ejemplo_Binding_INotifyProperty.csproj::TargetFramework=net10.0-android]
/opt/dotnet/sdk/10.0.400/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(266,5): error NETSDK1047: Assets file '/app/obj/project.assets.json' doesn't have a target for 'net10.0-android/android-arm64'. Ensure that restore has run and that you have included 'net10.0-android' in the TargetFrameworks for your project. You may also need to include 'android-arm64' in your project's RuntimeIdentifiers. [/app/Ejemplo_Binding_INotifyProperty.csproj::TargetFramework=net10.0-android]
    3 Warning(s)
    3 Error(s)

Time Elapsed 00:00:35.63
  Determining projects to restore...
  Restored /app/Ejemplo_Binding_INotifyProperty.csproj (in 530 ms).
/app/ViewModels/PersonaViewModel.cs(8,46): warning CS8612: Nullability of reference types in type of 'event PropertyChangedEventHandler PersonaViewModel.PropertyChanged' doesn't match implicitly implemented member 'event PropertyChangedEventHandler? INotifyPropertyChanged.PropertyChanged'. [/app/Ejemplo_Binding_INotifyProperty.csproj::TargetFramework=net10.0-android]
/app/ViewModels/PersonaViewModel.cs(8,46): warning CS8618: Non-nullable event 'PropertyChanged' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the event as nullable. [/app/Ejemplo_Binding_INotifyProperty.csproj::TargetFramework=net10.0-android]
/app/ViewModels/PersonaViewModel.cs(15,12): warning CS8618: Non-nullable field 'nombre' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable. [/app/Ejemplo_Binding_INotifyProperty.csproj::TargetFramework=net10.0-android]
  Ejemplo_Binding_INotifyProperty -> /app/bin/Release/net10.0-android/android-x64/Ejemplo_Binding_INotifyProperty.dll
/opt/dotnet/sdk/10.0.400/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(266,5): error NETSDK1047: Assets file '/app/obj/project.assets.json' doesn't have a target for 'net10.0-android/android-arm'. Ensure that restore has run and that you have included 'net10.0-android' in the TargetFrameworks for your project. You may also need to include 'android-arm' in your project's RuntimeIdentifiers. [/app/Ejemplo_Binding_INotifyProperty.csproj::TargetFramework=net10.0-android]
/opt/dotnet/sdk/10.0.400/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(266,5): error NETSDK1047: Assets file '/app/obj/project.assets.json' doesn't have a target for 'net10.0-android/android-x86'. Ensure that restore has run and that you have included 'net10.0-android' in the TargetFrameworks for your project. You may also need to include 'android-x86' in your project's RuntimeIdentifiers. [/app/Ejemplo_Binding_INotifyProperty.csproj::TargetFramework=net10.0-android]
/opt/dotnet/sdk/10.0.400/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(266,5): error NETSDK1047: Assets file '/app/obj/project.assets.json' doesn't have a target for 'net10.0-android/android-arm64'. Ensure that restore has run and that you have included 'net10.0-android' in the TargetFrameworks for your project. You may also need to include 'android-arm64' in your project's RuntimeIdentifiers. [/app/Ejemplo_Binding_INotifyProperty.csproj::TargetFramework=net10.0-android]
  Optimizing assemblies for size may change the behavior of the app. Be sure to test after publishing. See: https://aka.ms/dotnet-illink
  Optimizing assemblies for size. This process might take a while.

Build FAILED.

/app/ViewModels/PersonaViewModel.cs(8,46): warning CS8612: Nullability of reference types in type of 'event PropertyChangedEventHandler PersonaViewModel.PropertyChanged' doesn't match implicitly implemented member 'event PropertyChangedEventHandler? INotifyPropertyChanged.PropertyChanged'. [/app/Ejemplo_Binding_INotifyProperty.csproj::TargetFramework=net10.0-android]
/app/ViewModels/PersonaViewModel.cs(8,46): warning CS8618: Non-nullable event 'PropertyChanged' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the event as nullable. [/app/Ejemplo_Binding_INotifyProperty.csproj::TargetFramework=net10.0-android]
/app/ViewModels/PersonaViewModel.cs(15,12): warning CS8618: Non-nullable field 'nombre' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable. [/app/Ejemplo_Binding_INotifyProperty.csproj::TargetFramework=net10.0-android]
/opt/dotnet/sdk/10.0.400/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(266,5): error NETSDK1047: Assets file '/app/obj/project.assets.json' doesn't have a target for 'net10.0-android/android-arm'. Ensure that restore has run and that you have included 'net10.0-android' in the TargetFrameworks for your project. You may also need to include 'android-arm' in your project's RuntimeIdentifiers. [/app/Ejemplo_Binding_INotifyProperty.csproj::TargetFramework=net10.0-android]
/opt/dotnet/sdk/10.0.400/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(266,5): error NETSDK1047: Assets file '/app/obj/project.assets.json' doesn't have a target for 'net10.0-android/android-x86'. Ensure that restore has run and that you have included 'net10.0-android' in the TargetFrameworks for your project. You may also need to include 'android-x86' in your project's RuntimeIdentifiers. [/app/Ejemplo_Binding_INotifyProperty.csproj::TargetFramework=net10.0-android]
/opt/dotnet/sdk/10.0.400/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(266,5): error NETSDK1047: Assets file '/app/obj/project.assets.json' doesn't have a target for 'net10.0-android/android-arm64'. Ensure that restore has run and that you have included 'net10.0-android' in the TargetFrameworks for your project. You may also need to include 'android-arm64' in your project's RuntimeIdentifiers. [/app/Ejemplo_Binding_INotifyProperty.csproj::TargetFramework=net10.0-android]
    3 Warning(s)
    3 Error(s)

Time Elapsed 00:00:34.93
ERROR: No APKs copied to /output/r8

> echo Build failed with .NET 10 and JDK 17: Command '['docker', 'run', '--rm', '-v', '/home/ubuntu/storage/maui_assets/extracted/UTN-FRP-TUP-Aplicada-2025-Ejemplos_Maui_Comenzando/Ejemplos_Maui_Comenzando-a3fd7da9f30f69c3690ea213e841d734a805d627/Ejemplos_Maui_Comenzando/Binding/Ejemplo_Binding_INotifyProperty:/source:ro', '-v', '/home/ubuntu/BachelorsThesis/scripts/maui/output/UTN-FRP-TUP-Aplicada-2025-Ejemplos_Maui_Comenzando:/output', '-v', '/home/ubuntu/.nuget/packages:/root/.nuget/packages', 'maui-android:10-jdk17', 'bash', '-c', '\n                set -e\n                cp -r /source/. /app\n                cd /app\n\n                # ---- strip non-android target frameworks ----\n                sed -i \'s|<TargetFrameworks>[^<]*</TargetFrameworks>|<TargetFrameworks>net10.0-android</TargetFrameworks>|\' Ejemplo_Binding_INotifyProperty.csproj 2>/dev/null || true\n                sed -i \'s|<TargetFramework>[^<]*</TargetFramework>|<TargetFramework>net10.0-android</TargetFramework>|\' Ejemplo_Binding_INotifyProperty.csproj 2>/dev/null || true\n\n                # ---- build release APKs per-ABI: restore + build inside the loop ----\n                # Restoring with -r $ABI_RID populates project.assets.json with a target for that\n                # specific RID, preventing NETSDK1047. A single restore without -r only creates a\n                # RID-agnostic target, and passing /p:RuntimeIdentifiers="a;b;c" causes NETSDK1083\n                # on some SDK versions because the whole string is treated as one unknown RID.\n                for ABI_RID in android-arm android-arm64 android-x86 android-x64; do\n                    if ! dotnet restore Ejemplo_Binding_INotifyProperty.csproj /p:RestorePackagesWithLockFile=true -r $ABI_RID 2>/tmp/nuget_restore.log; then\n                        grep -oE "/root/\\.nuget/packages/[^/]+/[^/\']+" /tmp/nuget_restore.log | sort -u | xargs -r rm -rf 2>/dev/null || true\n                        dotnet restore Ejemplo_Binding_INotifyProperty.csproj /p:RestorePackagesWithLockFile=true -r $ABI_RID || true\n                    fi\n                    dotnet build Ejemplo_Binding_INotifyProperty.csproj                         -f net10.0-android                         -c Release                         -r $ABI_RID                         /p:AndroidPackageFormat=apk                         /p:AndroidUseSharedRuntime=false                         /p:AndroidLinkTool=r8                         /p:AndroidLinkMode=SdkOnly                         /p:AndroidKeyStore=true                         /p:AndroidSigningKeyStore=/root/.android/debug.keystore                         /p:AndroidSigningKeyAlias=androiddebugkey                         /p:AndroidSigningKeyPass=android                         /p:AndroidSigningStorePass=android                         --no-restore || true\n                    find bin/Release/net10.0-android -name "*.apk" | while read f; do cp "$f" "/output/r8/$(basename ${f%.apk})-$ABI_RID.apk"; done 2>/dev/null || true\n                done\n\n                # ---- verify output ----\n                if ! ls /output/r8/*.apk 1>/dev/null 2>&1; then\n                    echo "ERROR: No APKs copied to /output/r8"\n                    exit 1\n                fi\n\n                # ---- copy metadata ----\n                cp Ejemplo_Binding_INotifyProperty.csproj /output/r8/ || true\n                [ -f packages.lock.json ] && cp packages.lock.json /output/r8/ || true\n                find . -name "Directory.*.props" 2>/dev/null | grep -v "/bin/" | grep -v "/obj/" | while read f; do cp "$f" /output/r8/ 2>/dev/null; done || true\n                find . -name "Directory.*.targets" 2>/dev/null | grep -v "/bin/" | grep -v "/obj/" | while read f; do cp "$f" /output/r8/ 2>/dev/null; done || true\n                mkdir -p /output/r8/libs\n                find . -name "*.jar" -not -name "gradle-wrapper.jar" 2>/dev/null | grep -v "/bin/" | grep -v "/obj/" | grep -v "/.nuget/" | while read f; do cp "$f" /output/r8/libs/ 2>/dev/null; done || true\n                find . -name "*.aar" 2>/dev/null | grep -v "/bin/" | grep -v "/obj/" | grep -v "/.nuget/" | while read f; do cp "$f" /output/r8/libs/ 2>/dev/null; done || true\n                find . -name "*.so" 2>/dev/null | grep -v "/bin/" | grep -v "/obj/" | grep -v "/.nuget/" | while read f; do cp "$f" /output/r8/libs/ 2>/dev/null; done || true\n                    ']' returned non-zero exit status 1.
Build failed with .NET 10 and JDK 17: Command '['docker', 'run', '--rm', '-v', '/home/ubuntu/storage/maui_assets/extracted/UTN-FRP-TUP-Aplicada-2025-Ejemplos_Maui_Comenzando/Ejemplos_Maui_Comenzando-a3fd7da9f30f69c3690ea213e841d734a805d627/Ejemplos_Maui_Comenzando/Binding/Ejemplo_Binding_INotifyProperty:/source:ro', '-v', '/home/ubuntu/BachelorsThesis/scripts/maui/output/UTN-FRP-TUP-Aplicada-2025-Ejemplos_Maui_Comenzando:/output', '-v', '/home/ubuntu/.nuget/packages:/root/.nuget/packages', 'maui-android:10-jdk17', 'bash', '-c', '\n                set -e\n                cp -r /source/. /app\n                cd /app\n\n                # ---- strip non-android target frameworks ----\n                sed -i \'s|<TargetFrameworks>[^<]*</TargetFrameworks>|<TargetFrameworks>net10.0-android</TargetFrameworks>|\' Ejemplo_Binding_INotifyProperty.csproj 2>/dev/null || true\n                sed -i \'s|<TargetFramework>[^<]*</TargetFramework>|<TargetFramework>net10.0-android</TargetFramework>|\' Ejemplo_Binding_INotifyProperty.csproj 2>/dev/null || true\n\n                # ---- build release APKs per-ABI: restore + build inside the loop ----\n                # Restoring with -r $ABI_RID populates project.assets.json with a target for that\n                # specific RID, preventing NETSDK1047. A single restore without -r only creates a\n                # RID-agnostic target, and passing /p:RuntimeIdentifiers="a;b;c" causes NETSDK1083\n                # on some SDK versions because the whole string is treated as one unknown RID.\n                for ABI_RID in android-arm android-arm64 android-x86 android-x64; do\n                    if ! dotnet restore Ejemplo_Binding_INotifyProperty.csproj /p:RestorePackagesWithLockFile=true -r $ABI_RID 2>/tmp/nuget_restore.log; then\n                        grep -oE "/root/\\.nuget/packages/[^/]+/[^/\']+" /tmp/nuget_restore.log | sort -u | xargs -r rm -rf 2>/dev/null || true\n                        dotnet restore Ejemplo_Binding_INotifyProperty.csproj /p:RestorePackagesWithLockFile=true -r $ABI_RID || true\n                    fi\n                    dotnet build Ejemplo_Binding_INotifyProperty.csproj                         -f net10.0-android                         -c Release                         -r $ABI_RID                         /p:AndroidPackageFormat=apk                         /p:AndroidUseSharedRuntime=false                         /p:AndroidLinkTool=r8                         /p:AndroidLinkMode=SdkOnly                         /p:AndroidKeyStore=true                         /p:AndroidSigningKeyStore=/root/.android/debug.keystore                         /p:AndroidSigningKeyAlias=androiddebugkey                         /p:AndroidSigningKeyPass=android                         /p:AndroidSigningStorePass=android                         --no-restore || true\n                    find bin/Release/net10.0-android -name "*.apk" | while read f; do cp "$f" "/output/r8/$(basename ${f%.apk})-$ABI_RID.apk"; done 2>/dev/null || true\n                done\n\n                # ---- verify output ----\n                if ! ls /output/r8/*.apk 1>/dev/null 2>&1; then\n                    echo "ERROR: No APKs copied to /output/r8"\n                    exit 1\n                fi\n\n                # ---- copy metadata ----\n                cp Ejemplo_Binding_INotifyProperty.csproj /output/r8/ || true\n                [ -f packages.lock.json ] && cp packages.lock.json /output/r8/ || true\n                find . -name "Directory.*.props" 2>/dev/null | grep -v "/bin/" | grep -v "/obj/" | while read f; do cp "$f" /output/r8/ 2>/dev/null; done || true\n                find . -name "Directory.*.targets" 2>/dev/null | grep -v "/bin/" | grep -v "/obj/" | while read f; do cp "$f" /output/r8/ 2>/dev/null; done || true\n                mkdir -p /output/r8/libs\n                find . -name "*.jar" -not -name "gradle-wrapper.jar" 2>/dev/null | grep -v "/bin/" | grep -v "/obj/" | grep -v "/.nuget/" | while read f; do cp "$f" /output/r8/libs/ 2>/dev/null; done || true\n                find . -name "*.aar" 2>/dev/null | grep -v "/bin/" | grep -v "/obj/" | grep -v "/.nuget/" | while read f; do cp "$f" /output/r8/libs/ 2>/dev/null; done || true\n                find . -name "*.so" 2>/dev/null | grep -v "/bin/" | grep -v "/obj/" | grep -v "/.nuget/" | while read f; do cp "$f" /output/r8/libs/ 2>/dev/null; done || true\n                    ']' returned non-zero exit status 1.

ERROR: All .NET versions failed
