microsoft / xbox-live-unity-plugin

The Xbox Live Unity Plugin provides a way for developers in the Xbox Live Creators Program to quickly and easily integrate Xbox Live functionality into their Unity based game. For ID@Xbox developers, this Xbox Live Unity Plugin does not yet support all the features you will need. Instead, contact your Microsoft representative.
MIT License
167 stars 62 forks source link

Unable to build from source (.\Build\Setup.ps1) #318

Open LenaAGM opened 3 years ago

LenaAGM commented 3 years ago

after running .\Build\Setup.ps1 I got an error in Microsoft.Xbox.Services.CSharp.sln.msbuild.errors.log file

C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.Cpp.WindowsSDK.props(36,5): error MSB4186: недопустимый синтаксис вызова статического метода: "[Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKDisplayName($(SDKIdentifier), $(SDKVersion))". Не найден метод "Microsoft.Build.Utilities.ToolLocationHelper.GetPlatformSDKDisplayName". Вызов статического метода должен иметь следующую форму: $([FullTypeName]::Method()), например: $([System.IO.Path]::Combine(a, b)) [C:\Projects\xbox-live-unity-plugin\CppSource\Build\Microsoft.Xbox.Services.140.UWP.C\Microsoft.Xbox.Services.140.UWP.C.vcxproj]

path to environment variable VCTargetsPath is C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets

datatunning commented 2 years ago

Same here, Installed pre-requisites as mentioned and build fails xbox-live-unity-plugin\CppSource\Build\Microsoft.Xbox.Services.140.UWP.C\Microsoft.Xbox.Services.140.UWP.C.vcxproj(45,3): error MSB4019: The imported project "C:\Microsoft.Cpp.De fault.props" was not found. Confirm that the path in the declaration is correct, and that the file exists on disk.