After updating UWPPlatform.Automation.cs (PDBCopyPath for VS2017 Community Edition), OnlineSubsystemLive.Build.cs (XsapiVersionUwp), and modifying the GetXboxLiveSDK.ps1 ($xsapiVersionUwp), running the script, then running GenerateProjectFiles.bat, an error is returned.
UWPPlatform.Automation.cs
FileReference PDBCopyPath = null;
// VS 2017 puts MSBuild stuff (where PDBCopy lives) under the Visual Studio Installation directory
DirectoryReference VSInstallDir;
if (WindowsExports.TryGetVSInstallDir(WindowsCompiler.VisualStudio2017, out VSInstallDir))
{
PDBCopyPath = FileReference.Combine(VSInstallDir, "MSBuild", "Microsoft", "VisualStudio", "v15.0", "AppxPackage", "PDBCopy.exe");
}
// Earlier versions use a separate MSBuild install location
if (PDBCopyPath == null || !FileReference.Exists(PDBCopyPath))
{
const string VSCommunity = @"E:\Program Files\Microsoft Visual Studio\2017\Community";
PDBCopyPath = FileReference.Combine(VSCommunity, "MSBuild", "Microsoft", "VisualStudio", "v15.0", "AppxPackage", "PDBCopy.exe");
if (PDBCopyPath == null || !FileReference.Exists(PDBCopyPath))
{
}
}
OnlineSubsystemLive.Build.cs
public class OnlineSubsystemLive : ModuleRules
{
// Should match versions in GetXboxLiveSDK.ps1
readonly string XsapiVersionUwp = "2017.07.20170710.001";
readonly string XsapiVersionXboxOne = "2017.05.20170517.001";
readonly string CppRestVersion = "2_9";
}
GetXboxLiveSDK.ps1
# Package versions. Should match OnlineSubsystemLive.build.cs
$xsapiVersionUwp = "2017.07.20170710.001"
$xsapiVersionXdk = "2017.05.20170517.001"
The script reports that the SDK is installed, and already installed. However GenerateProjectFiles.bat shows the following error:
Error: Xbox Live SDK (version 2017.07.20170710.001) not found. Run Engine/Plugins/Online/XboxOne/OnlineSubsystemLive/GetXboxLiveSDK.ps1
What am I missing?
Btw, ThirdParty\XSAPI only shows the XboxOne SDK not the UWP as before.