Had the same issue with UE 4.16.2 & Visual Studio 2017 Community and this solved my problem. Thanks for help!