{"record":{"id":"0dc6aa45725f55fa","repo":"BeyondDimension/SteamTools","slug":"makeappx-exe","errorCode":null,"errorMessage":"makeappx.exe","messagePattern":"makeappx\\.exe","errorType":"exception","errorClass":"FileNotFoundException","httpStatus":null,"severity":"error","filePath":"src/BD.WTTS.Client.Tools.Publish/Helpers/MSIXHelper.cs","lineNumber":110,"sourceCode":"        const string makeappx_exe = \"makeappx.exe\";\n\n        static string GetMakeAppxPath(WinVersion version)\n        {\n            var path = Environment.GetFolderPath(Environment.SpecialFolder.ProgramFilesX86);\n            path = Path.Combine(path, \"Windows Kits\", \"10\", \"bin\", $\"10.0.{(ushort)version}.0\", RuntimeInformation.OSArchitecture.ToString().ToLowerInvariant(), makeappx_exe);\n            return path;\n        }\n\n        static string GetMakeAppxPath()\n        {\n            var query = from m in Enum.GetValues<WinVersion>().OrderByDescending(x => (ushort)x)\n                        let p = GetMakeAppxPath(m)\n                        let exists = File.Exists(p)\n                        where exists\n                        select p;\n            var path = query.FirstOrDefault();\n            if (string.IsNullOrWhiteSpace(path))\n                throw new FileNotFoundException(makeappx_exe);\n            return path;\n        }\n\n        public static void Start(\n            string msixPath,\n            string rootPublicPath,\n            string version4,\n            Architecture processorArchitecture)\n        {\n            //GenerateAppxManifestXml(rootPublicPath, version4, processorArchitecture);\n\n            //var msixPath = $\"{rootPublicPath}.msixbundle\";\n            IOPath.FileIfExistsItDelete(msixPath);\n\n            var psi = new ProcessStartInfo\n            {\n                FileName = GetMakeAppxPath(),\n                UseShellExecute = false,","sourceCodeStart":92,"sourceCodeEnd":128,"githubUrl":"https://github.com/BeyondDimension/SteamTools/blob/c16ffa08e03b192d23ada290c4969e77f9201f3d/src/BD.WTTS.Client.Tools.Publish/Helpers/MSIXHelper.cs#L92-L128","documentation":"Error \"makeappx.exe\" thrown in BeyondDimension/SteamTools.","triggerScenarios":"Thrown when building an MSIX package: makeappx.exe could not be located in any of the searched Windows SDK installation paths.","commonSituations":"The Windows SDK is absent or incomplete on the build machine, or PATH/SDK discovery does not cover the actual install folder. Install the Windows 10/11 SDK (which ships makeappx.exe) or run on a machine where it is present.","solutions":["Install the Windows 10/11 SDK so makeappx.exe exists under %ProgramFiles(x86)%\\Windows Kits\\10\\bin\\<version>\\<arch>\\.","Update the installed Windows SDK to a supported version; the lookup picks the highest installed version.","Verify the %ProgramFiles(x86)%\\Windows Kits\\10\\bin directory structure matches the expected 10.0.<version>.0\\<arch> layout."],"exampleFix":"Install or repair the Windows SDK through the Visual Studio Installer, then rerun the MSIX bundle creation.","handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"c16ffa08e03b192d23ada290c4969e77f9201f3d","analyzedAt":"2026-08-13T11:52:20.410Z","schemaVersion":2},"datasetVersion":"2026-08-13T14:17:21.547Z"}