Uno.Samples icon indicating copy to clipboard operation
Uno.Samples copied to clipboard

[UnoBackGroundWorker] Error coming when running for android and windows

Open Darsh0307 opened this issue 9 months ago • 0 comments

The application is working completely fine for WASM. And at the same time the same project is not working properly for android and windows.

Windows

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

Android

2>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.
2>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.
2>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.
2>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.
2>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.
2>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.
2>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.
2>Done building project "UnoBackgroundWorker.csproj" -- FAILED.
`
[UnoBackgroundWorker.zip](https://github.com/unoplatform/Uno.Samples/files/15417300/UnoBackgroundWorker.zip)
``

Darsh0307 avatar May 23 '24 13:05 Darsh0307