BeyondDimension/SteamTools · error · FileNotFoundException

makeappx.exe

Error message

makeappx.exe

What it means

Error "makeappx.exe" thrown in BeyondDimension/SteamTools.

Source

Thrown at src/BD.WTTS.Client.Tools.Publish/Helpers/MSIXHelper.cs:110

        const string makeappx_exe = "makeappx.exe";

        static string GetMakeAppxPath(WinVersion version)
        {
            var path = Environment.GetFolderPath(Environment.SpecialFolder.ProgramFilesX86);
            path = Path.Combine(path, "Windows Kits", "10", "bin", $"10.0.{(ushort)version}.0", RuntimeInformation.OSArchitecture.ToString().ToLowerInvariant(), makeappx_exe);
            return path;
        }

        static string GetMakeAppxPath()
        {
            var query = from m in Enum.GetValues<WinVersion>().OrderByDescending(x => (ushort)x)
                        let p = GetMakeAppxPath(m)
                        let exists = File.Exists(p)
                        where exists
                        select p;
            var path = query.FirstOrDefault();
            if (string.IsNullOrWhiteSpace(path))
                throw new FileNotFoundException(makeappx_exe);
            return path;
        }

        public static void Start(
            string msixPath,
            string rootPublicPath,
            string version4,
            Architecture processorArchitecture)
        {
            //GenerateAppxManifestXml(rootPublicPath, version4, processorArchitecture);

            //var msixPath = $"{rootPublicPath}.msixbundle";
            IOPath.FileIfExistsItDelete(msixPath);

            var psi = new ProcessStartInfo
            {
                FileName = GetMakeAppxPath(),
                UseShellExecute = false,

View on GitHub (pinned to c16ffa08e0)

Solutions

  1. Install the Windows 10/11 SDK so makeappx.exe exists under %ProgramFiles(x86)%\Windows Kits\10\bin\<version>\<arch>\.
  2. Update the installed Windows SDK to a supported version; the lookup picks the highest installed version.
  3. Verify the %ProgramFiles(x86)%\Windows Kits\10\bin directory structure matches the expected 10.0.<version>.0\<arch> layout.

Example fix

Install or repair the Windows SDK through the Visual Studio Installer, then rerun the MSIX bundle creation.

When it happens

Trigger: Thrown when building an MSIX package: makeappx.exe could not be located in any of the searched Windows SDK installation paths.

Common situations: 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.


AI-assisted analysis of BeyondDimension/SteamTools@c16ffa08e0 (2026-08-13). Data as JSON: /api/errors/0dc6aa45725f55fa. Report an issue: GitHub.