Hi Frank,
Unlike VS that can specify the .Net version in its compile options, PB.Net is fixed on a specific .Net version (unfortunately).
The latest PB.Net v12.6 will run with .Net 4.5 but only targets .Net 4.0 in its complications.
Regards ... Chris