1. Enable /ZW
2. Disable /Gm
3. #using C:Program Files (x86)Microsoft Visual Studio 14.0VCvcpackages;C:Program Files (x86)Windows Kits10UnionMetadata
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(0)->Data() << std::endl; return 0; }