"..small development project in Visual Studio 2013 using"

If you upload a backup VS2013 project or the "code snippet" that is causing the failure I will have R&D take a look.
Upload to www.softrak.com/dbr for Tech Support attention Michael