unoplatform / Uno.Samples

A collection of code samples for the Uno Platform
http://platform.uno/
Other
218 stars 109 forks source link

[bluetooth explore] error coming when running for android and windows #696

Open Darsh0307 opened 5 months ago

Darsh0307 commented 5 months ago

There are errors coming when i am trying to run for windows and android.

Windows


2>Done building project "UnoBluetoothExplorer.Windows.csproj" -- FAILED.
2>
2>Build FAILED.
2>
2>C:\Users\DarshPatel\Desktop\QA\samples\Uno.Samples\UI\BluetoothExplorer\UnoBluetoothExplorer.Windows\UnoBluetoothExplorer.Windows.csproj : XamlCompiler error WMC1006: Cannot resolve Assembly or Windows Metadata file 'C:\Users\DarshPatel\Desktop\QA\samples\Uno.Samples\UI\BluetoothExplorer\UnoBluetoothExplorer\bin\Debug\net8.0-windows10.0.19041\UnoBluetoothExplorer.dll'
2>CSC : error CS0006: Metadata file 'C:\Users\DarshPatel\Desktop\QA\samples\Uno.Samples\UI\BluetoothExplorer\UnoBluetoothExplorer\bin\Debug\net8.0-windows10.0.19041\UnoBluetoothExplorer.dll' could not be found
2>    0 Warning(s)
2>    2 Error(s)
2>

Android


1>    Done building project "UnoBluetoothExplorer.csproj".
1>  Done executing task "MSBuild" -- FAILED.
1>
1>Done building project "UnoBluetoothExplorer.csproj" -- FAILED.
1>
1>Build FAILED.
1>
1>C:\Program Files\dotnet\sdk\8.0.205\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(90,5): error NETSDK1083: The specified RuntimeIdentifier 'win10-arm' is not recognized. See https://aka.ms/netsdk1083 for more information.
1>C:\Program Files\dotnet\sdk\8.0.205\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(90,5): error NETSDK1083: The specified RuntimeIdentifier 'win10-arm-aot' is not recognized. See https://aka.ms/netsdk1083 for more information.
1>C:\Program Files\dotnet\sdk\8.0.205\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(90,5): error NETSDK1083: The specified RuntimeIdentifier 'win10-arm64-aot' is not recognized. See https://aka.ms/netsdk1083 for more information.
1>C:\Program Files\dotnet\sdk\8.0.205\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(90,5): error NETSDK1083: The specified RuntimeIdentifier 'win10-x86' is not recognized. See https://aka.ms/netsdk1083 for more information.
1>C:\Program Files\dotnet\sdk\8.0.205\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(90,5): error NETSDK1083: The specified RuntimeIdentifier 'win10-x86-aot' is not recognized. See https://aka.ms/netsdk1083 for more information.
1>C:\Program Files\dotnet\sdk\8.0.205\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(90,5): error NETSDK1083: The specified RuntimeIdentifier 'win10-x64' is not recognized. See https://aka.ms/netsdk1083 for more information.
1>C:\Program Files\dotnet\sdk\8.0.205\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(90,5): error NETSDK1083: The specified RuntimeIdentifier 'win10-x64-aot' is not recognized. See https://aka.ms/netsdk1083 for more information.
1>    0 Warning(s)
1>    7 Error(s)
1>

BluetoothExplorer.zip

Darsh0307 commented 5 months ago

FoodDeliveryUI

jeromelaban commented 5 months ago

Upgrading to single project will fix this.