Close VS
Start RegEdit.exe
Find the following registry entry:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Ext\PreApproved
Add a new entry and name it
{D245F352-3F45-4516-B1E6-04608DA126CC}
Close RegEdit
Start VS
Try and create a Smart Device C++ project