User Tools

Site Tools


tech:cheatsheets:linux:dotnet

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
tech:cheatsheets:linux:dotnet [2024/04/09 18:38] waldemartech:cheatsheets:linux:dotnet [2024/04/10 10:03] (current) – [Android] waldemar
Line 6: Line 6:
 ==== Android ==== ==== Android ====
  
 +Install the JDK and the Arduino workloads:
 <code bash> <code bash>
 sudo apt install openjdk-11-jdk sudo apt install openjdk-11-jdk
 sudo dotnet workload install maui-android android sudo dotnet workload install maui-android android
 </code> </code>
 +
 +Install the Arduino SDK.
 +The easiest way is to install Android Studio and while installing install the SDK as well.
 +
 +For Android builds to work the MSBuild property ''AndroidSdkDirectory'' needs to be passed. The path should be ''~/Android/Sdk'' when installed through Android Studio.
 +
 +=== Rider ===
 +If using Rider the MSBuild property can be configured as a global property in the settings at ''Build, Execution, Deployment >> Toolset and Build >> MSBuild global properties''.
 +**Note:** Remember to save the configuration in ''This Computer''.
 +
 +Also install the Xamarin Android extension to support running and debugging the app directly on a device. **Note:** Debugging (or running) might not work due to an error but the app is deployed.
tech/cheatsheets/linux/dotnet.1712687912.txt.gz · Last modified: by waldemar

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki