1. Enable /ZW
2. Disable /Gm
3. #using C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcpackages;C:\Program Files (x86)\Windows Kits\10\UnionMetadata
4. source code
// hellort.cpp : Defines the entry point for the console application.
// #include "stdafx.h" #include <iostream> int main(Platform::Array<Platform::String^>^ args)
{ std::wcout << L"hellort:"<<args->get()->Data() << std::endl;
return ;
}