Browse Source

Update the README.md file for dotnet 9

pull/768/merge
Canming Huang 6 months ago
parent
commit
6306aa3163
  1. 10
      Emgu.CV.Example/MAUI/MauiDemoApp/README.md

10
Emgu.CV.Example/MAUI/MauiDemoApp/README.md

@ -7,21 +7,21 @@ To restore the nuget package, in the terminal run this command:
> dotnet restore
To build the Mac OS MAUI App and run it, use this command:
> dotnet build -t:Run -f net8.0-maccatalyst
> dotnet build -t:Run -f net9.0-maccatalyst
To build the iOS MAUI app and run it on an x86-64 ios simulator (arm64 simulator is currently not supported), use this command:
> dotnet build -t:Run -f net8.0-ios
> dotnet build -t:Run -f net9.0-ios
To build the iOS MAUI .ipa file for iOS device, use this command:
> dotnet publish -f net8.0-ios -c Release -r ios-arm64 --self-contained
> dotnet publish -f net9.0-ios -c Release -r ios-arm64 --self-contained
To build the iOS MAUI app and run it on an iOS device, use this command:
> dotnet build -t:Run -f net8.0-ios -c Release -r ios-arm64 --self-contained -p:_DeviceName={YOUR_IOS_DEVICE_UUID}
> dotnet build -t:Run -f net9.0-ios -c Release -r ios-arm64 --self-contained -p:_DeviceName={YOUR_IOS_DEVICE_UUID}
To find the connected iOS device UUID, use this command:
> xcrun xctrace list devices
To build the Android MAUI app, first start up an Android simulator (or connect to an Android device), then use the following command and build and run the Android app:
> dotnet build -t:Run -f net8.0-android
> dotnet build -t:Run -f net9.0-android
For Windows build, you can use Visual Studio on windows.
Loading…
Cancel
Save