Jump to content

Connect SuperML | Leeroopedia MCP: Equip your AI agents with best practices, code verification, and debugging knowledge. Powered by Leeroo — building Organizational Superintelligence. Contact us at founders@leeroo.com.

Environment:Microsoft Onnxruntime Windows Build Environment

From Leeroopedia
Revision as of 18:30, 16 February 2026 by Admin (talk | contribs) (Auto-imported from environments/Microsoft_Onnxruntime_Windows_Build_Environment.md)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Field Value
sources .pipelines/OneBranch.Nuget-WindowsAI-Pipeline.Official.yml
domains ci-cd, windows, packaging, nuget, azure-devops
last_updated 2026-02-10

Overview

The Windows CI/CD build environment for compiling, packaging, signing, and publishing ONNX Runtime NuGet packages using Azure DevOps OneBranch pipelines on Windows build agents.

Description

The Windows Build Environment provides the infrastructure for producing official ONNX Runtime NuGet packages for Windows platforms. It uses Azure DevOps OneBranch pipelines running on Windows build agents with Visual Studio build tools. The environment supports building for multiple architectures (x64, x86, arm64) with both dynamic and static C runtime variants. It includes security scanning via TSA (Trust Security Analysis), PoliCheck for compliance, and Component Governance for dependency tracking. The pipeline manages symbol upload to Microsoft's symbol server and produces signed NuGet packages for distribution. The Microsoft.AI.MachineLearning NuGet package is the primary artifact targeting the Windows AI platform.

Usage

Use this environment whenever you need to:

  • Build ONNX Runtime for Windows (x64, x86, arm64) targets.
  • Create signed NuGet packages for the Microsoft.AI.MachineLearning distribution.
  • Run the official Azure DevOps OneBranch CI/CD pipeline.
  • Manage Windows-specific build configurations and signing.

System Requirements

Requirement Minimum Recommended
Operating System Windows Server 2019 Windows Server 2022
Build Tools Visual Studio 2019 Build Tools Visual Studio 2022 Build Tools
Architecture x64 (build host) x64
CI/CD Azure DevOps OneBranch Azure DevOps OneBranch

Dependencies

Build Tools

Tool Purpose
Visual Studio Build Tools C++ compilation for Windows targets
NuGet CLI Package creation and publishing
Azure DevOps Agent Pipeline execution
OneBranch Templates Standardized build/sign/publish workflow

Code Evidence

Source: .pipelines/OneBranch.Nuget-WindowsAI-Pipeline.Official.yml
  - Pipeline definition for WindowsAI NuGet package build
  - Parameters: UploadSymbols (boolean)
  - Build stage targets: x64, x86, arm64 with dynamic and static CRT
  - SDL settings: TSA enabled, PoliCheck breaking, CG alerting

Related Pages

Implementations Using This Environment

Page Connections

Double-click a node to navigate. Hold to expand connections.
Principle
Implementation
Heuristic
Environment