MSVC 14.51 runtime compatibility and redistribution for Microsoft Store MSIX desktop apps

Danzell Cloete 0 Reputation points
2026-11-29T21:26:34.8866667+00:00

We are preparing a commercial x64 Python 3.14 desktop application built with PyInstaller for Microsoft Store distribution using MSIX.

Our application has been successfully tested on Windows 10.

Our findings:

  • 36 native binaries inspected.

Python components built with MSVC 14.44.

Several Pillow components and the application executable linked with MSVC 14.51.

Bundled vcruntime140.dll and vcruntime140_1.dll version 14.51.36247.0.

Installed Microsoft.VCLibs.140.00.UWPDesktop framework contains runtime DLLs version 14.40.33728.0.

Visual Studio Community 2022 provides redistributable DLLs version 14.44.35211.0.

We want to avoid distributing an older, potentially incompatible runtime.

Could Microsoft please clarify the following:

Which Store-managed x64 C++ runtime framework supports MSVC 14.51?

What exact minimum dependency version should be declared in the MSIX manifest?

If a compatible framework is unavailable, is application-local distribution of the official 14.51 runtime DLLs permitted in a full-trust MSIX desktop application?

Do the Visual Studio Community 2022 redistribution rights cover these newer runtime DLLs obtained directly from Microsoft's official redistributable download?

Our objective is to establish a supported, licence-compliant packaging process for commercial Windows desktop applications distributed through the Microsoft Store.

Thank you for your assistance.We are preparing a commercial x64 Python 3.14 desktop application built with PyInstaller for Microsoft Store distribution using MSIX.

Our application has been successfully tested on Windows 10.

Our findings:

36 native binaries inspected.

Python components built with MSVC 14.44.

Several Pillow components and the application executable linked with MSVC 14.51.

Bundled vcruntime140.dll and vcruntime140_1.dll version 14.51.36247.0.

Installed Microsoft.VCLibs.140.00.UWPDesktop framework contains runtime DLLs version 14.40.33728.0.

Visual Studio Community 2022 provides redistributable DLLs version 14.44.35211.0.

We want to avoid distributing an older, potentially incompatible runtime.

Could Microsoft please clarify the following:

Which Store-managed x64 C++ runtime framework supports MSVC 14.51?

What exact minimum dependency version should be declared in the MSIX manifest?

If a compatible framework is unavailable, is application-local distribution of the official 14.51 runtime DLLs permitted in a full-trust MSIX desktop application?

Do the Visual Studio Community 2022 redistribution rights cover these newer runtime DLLs obtained directly from Microsoft's official redistributable download?

Our objective is to establish a supported, licence-compliant packaging process for commercial Windows desktop applications distributed through the Microsoft Store.

Thank you for your assistance.

Windows development | Windows API - Win32

1 answer

Sort by: Most helpful
  1. AI answer

    2026-11-29T21:28:26.67+00:00

    Do not submit the commercial Store package with the current MSVC 14.51 artifacts: version 14.51 is documented as a preview toolset that receives no servicing patches and should not be used in production, so rebuild those binaries with a supported production toolset or wait for a production-supported 14.51 release and its matching retail VCLibs framework package.^1^

    Supported Store runtime framework

    The Store-managed framework for dynamically linked VC v14 desktop applications remains:

    Microsoft.VCLibs.140.00.UWPDesktop

    The framework name does not encode each compiler minor version. Microsoft currently describes MSVC versions from Visual Studio 2017 through 2026 as one continuing v14 redistributable family, but the installed runtime must be at least as recent as the build tools used to create the application.^2^

    However, the available documentation does not publish an exact Store framework package version that is confirmed to support the preview 14.51.36247.0 runtime. The installed 14.40.33728.0 framework therefore cannot be assumed to satisfy binaries built against 14.51 merely because both packages use the v14 family name.

    Exact manifest dependency

    After rebuilding with the production toolset selected for release:

    1. Install that toolset’s matching retail VCLibs Desktop Extension SDK.
    2. Open: %ProgramFiles(x86)%\Microsoft SDKs\Windows Kits\10\ExtensionSDKs\Microsoft.VCLibs.Desktop\14.0\SDKManifest.xml
    3. Copy Name, MinVersion, and Publisher from FrameworkIdentity-Retail.
    4. Put those values into the application manifest.
    <Dependencies>
      <TargetDeviceFamily
          Name="Windows.Desktop"
          MinVersion="10.0.17763.0"
          MaxVersionTested="10.0.26100.0" />
    
      <PackageDependency
          Name="Microsoft.VCLibs.140.00.UWPDesktop"
          MinVersion="REPLACE-WITH-SDKMANIFEST-VERSION"
          Publisher="CN=Microsoft Corporation, O=Microsoft Corporation,
                     L=Redmond, S=Washington, C=US" />
    </Dependencies>
    

    Use your actual tested Windows minimum and maximum versions in TargetDeviceFamily. Do not derive PackageDependency/@MinVersion from a DLL file version, and do not use the SDK manifest from the existing VS 2022/14.44 installation to claim 14.51 compatibility. Microsoft specifically directs packagers to obtain the framework identity values from the matching SDK manifest.^3^

    MinVersion means that the resolved framework package must have a version greater than or equal to the declared value.^4^

    Application-local DLLs

    For this Desktop Bridge/MSIX Store scenario, app-local copies of vcruntime140.dll and vcruntime140_1.dll should not be treated as the fallback deployment model. Microsoft’s Desktop Bridge guidance says packaged desktop applications using the C++ runtime must reference the corresponding framework package instead of simply redistributing the Visual Studio or VCRedist runtime libraries; using an incorrect runtime can also cause failures when accessing packaged file-system or registry resources.^5^

    The fact that the process uses runFullTrust does not change that documented runtime-deployment requirement. Full trust describes the process integrity level and access model, not an exception to VCLibs framework deployment.^6^

    Generic desktop deployment documentation does permit application-local installation of redistributable DLLs, although it discourages that approach for servicing reasons.^7^ That generic option should not override the more specific Desktop Bridge guidance for this Store MSIX.

    Redistribution rights

    The Visual Studio 2022 REDIST list states that a validly licensed Visual Studio Community 2022 user may distribute, unmodified and subject to the applicable license terms:

    • Files under the licensed Visual Studio installation’s VC\redist directory.
    • The official Visual C++ Runtime Redistributable package.
    • Individual runtime binaries obtained from Microsoft’s referenced official redistributable download pages.^8^

    That licensing permission does not change the Store/Desktop Bridge packaging model, and it does not make a preview runtime production-supported. Before relying on the VS 2022 terms for a runtime first supplied with a newer preview toolset, retain the exact download source, DLL version, applicable Visual Studio license, and REDIST entry, and obtain a licensing interpretation for that combination.

    Release verification

    After rebuilding:

    1. Reinspect all 36 native binaries and confirm none still imports or embeds runtime files from 14.51 preview.
    2. Remove PyInstaller-bundled VC runtime DLLs when using the VCLibs framework dependency.
    3. Build the final x64 MSIX with the retail framework identity copied from the matching production SDK.
    4. Install it on a clean supported Windows 10 x64 system without manually preinstalling VCLibs.
    5. Confirm that Store installation resolves Microsoft.VCLibs.140.00.UWPDesktop and that the application starts and exercises all native Pillow/Python code paths. Store framework dependencies are installed with the application; sideloading requires the matching framework package to be installed separately.^3^

    Successful testing on the existing Windows 10 machine is useful, but it does not test clean-machine dependency resolution if that machine already has VCLibs or app-local runtime DLLs.

    If retaining 14.51 is unavoidable, obtain confirmation before commercial submission through:

    • Microsoft Partner Center support, under Store app submission/certification, for the accepted VCLibs identity and whether app-local DLLs would pass Store policy.
    • Microsoft licensing support or the organization’s Microsoft licensing representative, for a binding interpretation covering 14.51.36247.0, its download source, and the specific Visual Studio Community license.
    • Visual Studio Developer Community, for technical confirmation of the production framework-version mapping; this is not a substitute for licensing or Store-certification approval.

    References

    1. Visual Studio release notes
    2. Latest Supported Visual C++ Redistributable Downloads | Microsoft Learn
    3. Prepare to package a desktop application
    4. PackageDependency
    5. Pacchetti di runtime C++ per Desktop Bridge - Visual C++ | Microsoft Learn
    6. App capability declarations
    7. Redistribute Visual C++ Files | Microsoft Learn
    8. Distributable Code for Visual Studio 2022
    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.