windows sdk installed but get error

Could not start compilationException: ‘UnionMetadata\Facade\Windows.winmd’ not found, do you have Windows UAP SDK installed?

I had the same error. To make it work, I installed the Windows 10 SDK, as stated here: Windows 10 Universal apps in Unity 5.2 | Unity Blog