Replies: 1 comment 3 replies
-
I've made some progress here, unlike blazor or razor apps, uno doesn't come with its own webserver like kestrel. So it has to be manually done using nginx or apache or dotnet serve Anyhow I managed to copy the files from the publish locations to my linux machine
I also copied the Menu.dll over not sure in which directory this goes but I stuck it in /home/pi/Menu (above the wwwroot) and ran when I cannot to port 5000 I see my application popup all fine and dandy However I do run a local Linux command that seems to error with the below "platform not supported message". Has anyone has a similar experience? I suspect perhaps I've copied the .dll in the wrong place or its still not compiled properly for arm64 A similar example would be be running "
|
Beta Was this translation helpful? Give feedback.
-
I have created a new project using Visual Studio 2022 v17.11.2
I'm trying to publish my app in Webassembly but getting the below during the publish screen, I dont see any options to pick a platform or have a platform specific version. Going ahead and publishing it fails anyway (seems to default to win-x64
If I try to publish using command line
dotnet publish --configuration Release --no-self-contained --framework "net8.0-browserwasm" --runtime "linux-arm64"
It seems to publish but the resulting application does not run on my arm64 device (Raspberry pi)
in the publish folder I see a
Menu
file making this executable and running it failsI've coped the .dll file into a folder on my pi together with everything from publish but they all fail
I'm I doing something obvious wrong?
Compiling and running as a desktop app runs fine on the pi
Beta Was this translation helpful? Give feedback.
All reactions