Build and Compile
The next step is to build/compile the application. To do that, click the Build button.
If everything is ok, you should see Build Successful message in the output window.
Program the Device
Now connect your PIC programmer like PICKIT 3 or similar programmer to the PIC32 ICSP header port and USB to the computer USB. Then click on the Make and Program Device Main project button on the toolbar as shown below. If everything is ok then you should see message Programming/Verify complete message in the output window.