- Start Microsoft Visual Studio and select File > Open > Project/Solution.
- Double-click the Visual Studio Solution (.sln) file.
- Press Ctrl+Shift+B, or select Build > Build Solution.
To run this sample after building it, press F5 (run with debugging enabled) or Ctrl+F5 (run without debugging enabled) from Visual Studio. (Or select the corresponding options from the Debug menu.)
https://www.c-sharpcorner.com/article/serial-class-per-universal-windows-platform-part-one/