Build and run your application on a Simulator
Please ensure you have followed the guide create-a-cross-platform-solution.md.
Assuming you have created a project called HelloWorld. Enter the directory HelloWorld.iOS from the command line.
To build the project for iOS run the following command.
dotnet build
To run the project in a simulator, run the following command.
dotnet run
If you use JetBrains Rider or Visual Studio for Mac you can open the solution and run, build and debug your program inside the simulator.