microsoft / xbox-live-samples

This repo contains the samples that demonstrate the API usage patterns for Microsoft Xbox Live Service. These code samples target the Universal Windows Platform (UWP) and Xbox One XDK. To get access to the Xbox Live service, you can join the Xbox Live Creators Program at https://aka.ms/xblcp, or apply to the ID@Xbox program at http://www.xbox.com/en-us/Developers/id
MIT License
144 stars 73 forks source link

Building Leaderboards UWP project in VS2019 throws a daunting amount of Errors, Warnings and Messages. #106

Open CartBlanche opened 3 years ago

CartBlanche commented 3 years ago

I'm normally a C# developer, but I want to get Leaderboards working in my UWP app, so thought I'd look at your samples.

I've just cloned the repo and tried to rebuild the Leaderboards_2017 UWP sample using Visual Studio 2019. It asked me to retarget the project, because it wouldn't build. I retargetted to Latest (in my case), as per this screenshot.

image

But when I rebuild the solution, the DirectXTK project builds, but the Leaderboards_2017 project doesn't and looks like this.

image

What should I start looking at to get this working? Once I get it working I'll be more than happy to create a C# version and submit a PR for that, so that others don't have to go through the same pain as me.

CartBlanche commented 3 years ago

@jplafonta Would love any help here too??

stephenrberg commented 10 months ago

For those that hit this - set the Platform Toolset to v141 (2017) and it compiles