The issue is an outdated project template. MG 3.4 was released before Windows 10 was released, so the template targets a prerelease version of Windows.
You can do one of two things to solve this:
1) create a Win 10 UAP project and add the references (either with Nuget or manually adding DLL references)
2) modify the csproj to look for the correct platform version.
Open the csproj in a text editor. change the value of TargetPlatformVersion on line 14 to 10.0.10240.0. Then reload the project.