It has been simplified with last versions of VS and Windows SDK
You now just have to do :
[C++] [Language] [C++ Language Standard] ISO C++17 Standard (/std:c++17)
[C++] [Language] [Conformance mode] No (/permissive)
Then
include <winrt/base.h>
and you can add the Namespaces you want, like :
#include <winrt/windows.devices.bluetooth.h>
using namespace winrt::Windows::Devices::Bluetooth;