Compiling a basic SimConnect template, get an error

This post may help you get started and avoid some of the pitfalls often encountered with starting a new project in C# to use the SimConnect SDK.