你好,
>>错误 MSB8006 The Platform for project 'eclr22.vcxproj' is invalid. Platform='Toradex_CE800'.
这个错误原因是由于您运行的这段代码需要CE800的编译器,但是你机器上的VS 2015没有相关的platform, 请右击项目选择 属性,查看有哪些Platform Toolset:

请参考:
http://developer.toradex.com/knowledge-base/how-to-install-and-use-wec2013-sdk-for-vs2008
从以下网址下载并安装对应的Windows Embedded Compact SDK:
http://developer.toradex.com/knowledge-base/windows-embedded-compact-sdk
等下载完成,从项目属性里面查看Platform是否有'Toradex_CE800'出现。
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to
MSDN Support, feel free to contact MSDNFSF@microsoft.com.