MacOS Desktop Development
Last updated
Last updated
Developing and compiling a Wisej.NET Hybrid application for macOS requires Visual Studio Code for macOS and the .NET MAUI Visual Studio Code extension.
Also ensure a compatible .NET Runtime and .NET MAUI workload is installed on the Mac.
To develop a Hybrid Remote application for macOS:
Copy over the Hybrid Client project to the Mac development machine.
Open the folder in Visual Studio Code for mac.
Ensure a .NET MAUI run target is set:
Ensure only net(TF)-maccatalyst
is listed under <TargetFrameworks>
in the csproj file.
Run the project
Local Hybrid applications are a bit more complex to build and deploy. The Wisej.NET designer is not supported on mac and Visual Studio Code.
The suggested approach is to build and develop the application on Windows and only copy over to mac when ready for distribution.
To debug a Local Hybrid application on mac:
Copy over the Hybrid Client and Hybrid Local projects to the Mac development machine.
Open the folder in Visual Studio Code for mac.
Ensure a .NET MAUI run target is set:
Ensure only net(TF)-maccatalyst
is listed under <TargetFrameworks>
in the csproj file for both projects (remove other targets).
Run the project.