Build

All sample projects were placed into a solution file and fixed some compilation issues.