microsoft / winsdkfb

The Windows SDK for Facebook allows developers to provide Facebook integration for Windows Apps.
Other
180 stars 101 forks source link

Sample/lib for Windows 10 C# UWP app and VS2017? #257

Open martinsuchan opened 6 years ago

martinsuchan commented 6 years ago

The source code of this repository cannot be built on a machine with Visual Studio 2017 only, see my comment below (edited).

adiviness commented 6 years ago

The LoginCpp-UWP sample project works perfectly fine for me from within VS2017, what problem were you having with it?

You can find the SDK on nuget.

martinsuchan commented 6 years ago

Hi, sorry for confusion. The NuGet works, but the UWP library cannot be built in Visual Studio 2017, because it's targeting no longer supported SDK version 10.0.10240 and C++ SDK v140. Note 10.0.10586 is also no longer supported. https://support.microsoft.com/en-us/help/13853/windows-lifecycle-fact-sheet
Note the codegen.cmd also cannot be run. It searches for TextTransform.exe only in VS2013 and VS2015 folders.

If VS2017 is the only version of VS installed, the C++ SDK must be v141. The recommended SDK version for UWP libs is now MinVersion 10.0.14393 and TargetVersion 10.0.16299.