Foundry Local WinRT/C++ support

Jacques Quidu 0 Reputation points
2026-06-20T08:56:01.7366667+00:00

Hello,

we would like to know if you intend to add support to C++ native applications for FoundryLocal in a near future, as a WinRT/C++ Package Nuget for instance ?

Unfortunately, we cannot use Microsoft.Windows.AI which is available in WinRT/C++ because of the requirement for a Package Identity and Copilot+ PC so we would like to use Microsoft.AI.Foundry.Local instead in our native WIN32 C++ application.

Kind regards,

Jacques Quidu
Software Engineer
4D SAS

Developer technologies | C++
Developer technologies | C++

A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.


2 answers

Sort by: Most helpful
  1. Bruce (SqlWork.com) 84,251 Reputation points
    2026-06-22T23:18:57.15+00:00

    While not shipped, the sdk source contains a windows only c/c++ sdk. You must build the static library yourself. See:

    https://github.com/microsoft/Foundry-Local/blob/main/sdk/cpp/README.md

    if you do not want to build the c/c++ library, you can use the rust implementation with a simple rust wrapper that exposes the desired endpoints to c.

    Was this answer helpful?

    0 comments No comments

  2. Nancy Vo (WICLOUD CORPORATION) 6,595 Reputation points Microsoft External Staff Moderator
    2026-06-22T04:07:56.5633333+00:00

    Hello @Jacques Quidu ,

    Thanks for your question.

    Regarding native C++ and WinRT/C++ NuGet support for Microsoft.AI.Foundry.Local:

    There is currently no official public Microsoft documentation that explicitly confirms native C++ support is in development or provides a formal release timeline for the near future.

    For deeper guidance, I'd suggest checking directly with the product group through their official GitHub repository - they'll confirm their roadmap and the best approach for you.

    About the current strategy, the officially supported languages (C#, JavaScript, Python, and Rust) are the recommended path for Foundry Local integration. Microsoft's investments, new features, and tooling support for this SDK are currently focused on those environments.

    I hope this addresses your question. If this response was helpful, please consider following the guidance to provide feedback.

    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.