大网数据广告活动
Windows Server 管理

Target a different version of the Windows Admin Center SDK

· 52CE 我爱测

Target a different version of the Windows Admin Center SDK (Project Honolulu)

Keeping your extension up to date with SDK changes and platform changes is easy. We use NuGet Package Manager tags to organize the release of new features into SDK versions.

There are two SDK versions you can choose from and three which are deprecated:

  • latest – this SDK package aligns with the current GA release of Windows Admin Center and is the most stable
  • experimental – this SDK package contains the most recent changes and functionality, but might be unstable
  • insider – this SDK package has been deprecated, use latest or experimental instead
  • next – this SDK package has been deprecated, use latest or experimental instead
  • legacy – this SDK package has been deprecated, use latest or experimental instead

Note: Find out more about the different versions of Windows Admin Center that are available to download.

Targeting SDK version on a new project

When creating a new extension, you can include the --version parameter to target a different version of the SDK:

wac create --company "{!Company Name}" --tool "{!Tool Name}" --version {!version}
Value Explanation Example
{!Company Name} Your company name (with spaces) Contoso Inc
{!Tool Name} Your tool name (with spaces) Manage Foo Works
{!version} SDK Version latest

Here's an example creating a new extension targeting experimental:

wac create --company "Contoso Inc" --tool "Manage Foo Works" --version experimental

Note: We recommend developers building new extensions use the latest SDK version for stability.

Targeting SDK version on an existing project

To modify an existing project to target a different SDK version, modify the following line in package.json:

"@microsoft/windows-admin-center-sdk": "latest",

In this example, replace latest with your desired SDK version, i.e. experimental:

"@microsoft/windows-admin-center-sdk": "experimental",

Then run npm install to update references throughout your project.

Source: Microsoft Learn / Windows Server documentation by Microsoft and contributors (upstream author metadata: davannaw-msft). Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Server documentation
适用范围
Windows Server · Source date 09/18/2018
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。