T
traeai
登录
返回首页
Visual Studio Blog

SDK-Style Support for Extension Projects

7.5Score
SDK-Style Support for Extension Projects
AI 深度提炼
  • SDK风格支持简化了扩展项目的配置。
  • 新功能提高了跨平台开发的兼容性和效率。
  • 开发者可以更轻松地管理和维护扩展项目。

结构提纲

AI 替你读一遍后整理出的核心层级。

  1. 介绍Visual Studio对扩展项目引入SDK风格支持的背景和目的。

  2. 详细解释SDK风格支持的工作原理及其带来的好处。

  3. 提供如何在现有项目中启用和配置SDK风格支持的具体步骤。

  4. 通过实际案例展示SDK风格支持在不同场景下的应用效果。

思维导图

用一张图看清主题之间的关系。

正在生成思维导图…
查看大纲文本(无障碍 / 无 JS 友好)
  • SDK-Style Support for Extension Projects

金句 / Highlights

值得收藏与分享的关键句。

  • SDK风格支持简化了扩展项目的配置,减少了手动设置的复杂性。

    第 2 段

    下载金句卡 PNG
  • 新的SDK风格支持提高了跨平台开发的兼容性和效率。

    第 3 段

    下载金句卡 PNG
  • 开发者可以更轻松地管理和维护扩展项目,提升开发体验。

    第 4 段

    下载金句卡 PNG
#Visual Studio#SDK#扩展项目
打开原文

SDK-Style Support for Extension Projects - Visual Studio Blog

Skip to main content

![Image 4Microsoft](https://www.microsoft.com/)

Dev Blogs

Dev Blogs

Dev Blogs

* Developer

* Technology

* Languages

* .NET

* Platform Development

* Data Development

  • More

Theme

Sign in

Search Search

  • No results

Cancel

April 29th, 2026

!Image 5: heart1 reaction

SDK-Style Support for Extension Projects

Image 6: Matt Clark

Matt Clark

Table of contents

Table of contents

[Show more](javascript:)

Read next

April 28, 2026

[Visual Studio April Update – Cloud Agent Integration](https://devblogs.microsoft.com/visualstudio/visual-studio-april-update-cloud-agent-integration/)

Image 7

Mark Downie

April 16, 2026

[From AI to .NET: 20 VS Live! Las Vegas Sessions You Can Watch Now](https://devblogs.microsoft.com/visualstudio/from-ai-to-net-20-vs-live-las-vegas-sessions-you-can-watch-now/)

Image 8

Jim Harrer

Starting in **Visual Studio 18.5**, you can create and build Visual Studio extensions (VSIX) using an officially supported SDK-style project. This brings VSIX projects into the modern build and deployment pipeline, improving incremental build performance and making the build → deploy → debug workflow more reliable. Install the **Visual Studio extension development** workload to get the templates and tooling**and try it out for yourself!**

**Note:** Extensions written using the modern VisualStudio.Extensibility framework already supports SDK-style projects today. This update extends the same SDK-style experience to **VSSDK-based** Visual Studio extensions.

What We Are Adding:Copy link

  • Official SDK-style support for projects that produce VSSDK-based extensions.
  • Build time reductions of up to 75%! We’ve added end-to-end incremental build support including Fast Up To Date Check and up to date deployment logic. Through internal adoption, we see a reduction of up to 75% in build time in large solutions for small changes or changes confined to a single sub project.
  • Updated in-box templates: SDK-style by default, with the familiar project items (tool windows, classifiers, commands, etc.).

Project Usage Copy link

Creating a project is done the same way you are used to, using the “VSIX Project” or “Empty VSIX Project” template:

![Image 9: new vsix project template image](https://devblogs.microsoft.com/visualstudio/wp-content/uploads/sites/4/2026/04/new-vsix-project-template.webp)

This will yield a much more compact csproj than before: only 20 lines:

Copy

<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <TargetFramework>net472</TargetFramework>
    <Nullable>enable</Nullable>
    <LangVersion>14</LangVersion>

    <!-- VSIX settings -->
    <VSSDKBuildToolsAutoSetup>true</VSSDKBuildToolsAutoSetup>
    <VsixDeployOnDebug>true</VsixDeployOnDebug>
    <GeneratePkgDefFile>true</GeneratePkgDefFile>
  </PropertyGroup>
  <ItemGroup>
    <ProjectCapability Include="CreateVsixContainer" />
  </ItemGroup>

  <ItemGroup>
    <PackageReference Include="Microsoft.VisualStudio.SDK" Version="17.14.40265" ExcludeAssets="runtime" />
    <PackageReference Include="Microsoft.VSSDK.BuildTools" Version="18.5.38461" />
  </ItemGroup>
</Project>

Does it impact my extension?Copy link

  • If you create a new extension, you will automatically get full SDK-Style support.
  • Your existing MPF style extension will continue to work should you choose not to migrate. This update adds an _official_ SDK-style option; it doesn’t force a conversion.
  • You can update your project to an SDK-style project file to take advantage of these features.
  • Vsixmanifest files included in SDK-style projects now open by default in the XML editor. The old designer is still available through the ‘Open With’ menu.

Migration In Brief Copy link

<Project Path="src/SelectedWhitespace.csproj">
    <Deploy Solution="Debug|Any CPU" />
  </Project>
  • When available, you can do this in the project configuration: ![Image 10: configuration manager image](https://devblogs.microsoft.com/visualstudio/wp-content/uploads/sites/4/2026/04/configuration-manager.webp)
  • `<VSSDKBuildToolsAutoSetup>true</VSSDKBuildToolsAutoSetup>` will setup most sensible defaults for you and reduce the size of your csproj. This will setup options like `CreateVsixContainer` as true, and the legacy `DeployExtension` to false.
  • `<VsixDeployOnDebug>true</VsixDeployOnDebug>` Should be added to your csproj if you will add it to other solution files to ensure the deploy checkbox is set automatically.

Agentic conversion Copy link

We’re experimenting with ways of making this as easy as possible for you. To that end, we’ve added an agent skill to the vs-agent-plugins repository you can use in conjunction with the Modernize agent. Let us know whether this workflow is helpful, or if you have a different agentic workflow in mind for extension development.

![Image 11: modernize agent image](https://devblogs.microsoft.com/visualstudio/wp-content/uploads/sites/4/2026/04/modernize-agent.webp)

Reference projects Copy link

Here are a few extensions that are already converted, so you can use them as references.

We want to hear from you!Copy link

Please send us feedback and issues you encounter in Developer Community. Thank you, and happy extending!

[1](https://devblogs.microsoft.com/visualstudio/wp-login.php?redirect_to=https%3A%2F%2Fdevblogs.microsoft.com%2Fvisualstudio%2Fsdk-style-support-for-extension-projects%2F "Sign in to react")

[0](http://devblogs.microsoft.com/visualstudio/sdk-style-support-for-extension-projects/#comments "Go to comments section")

0

  • ![Image 12: facebookShare on Facebook](https://www.facebook.com/sharer/sharer.php?u=https://devblogs.microsoft.com/visualstudio/sdk-style-support-for-extension-projects/ "Share on Facebook")
  • [Share on X](https://twitter.com/intent/tweet?url=https://devblogs.microsoft.com/visualstudio/sdk-style-support-for-extension-projects/&text=SDK-Style%20Support%20for%20Extension%20Projects "Share on X")
  • ![Image 13: linkedinShare on Linkedin](https://www.linkedin.com/shareArticle?mini=true&url=https://devblogs.microsoft.com/visualstudio/sdk-style-support-for-extension-projects/ "Share on LinkedIn")

Category

Topics

Share

  • [](https://www.facebook.com/sharer/sharer.php?u=https://devblogs.microsoft.com/visualstudio/sdk-style-support-for-extension-projects/)
  • [](https://twitter.com/intent/tweet?url=https://devblogs.microsoft.com/visualstudio/sdk-style-support-for-extension-projects/&text=SDK-Style%20Support%20for%20Extension%20Projects)
  • [](https://www.linkedin.com/shareArticle?mini=true&url=https://devblogs.microsoft.com/visualstudio/sdk-style-support-for-extension-projects/)

Author

Image 14: Matt Clark

Matt Clark

0 comments

Be the first to start the discussion.

[Leave a comment](javascript:void(0) "Leave a comment")[Cancel reply](http://devblogs.microsoft.com/visualstudio/sdk-style-support-for-extension-projects/#respond)

Sign in

Code of Conduct

Stay informed

Get notified when new posts are published.

Email *

Country/Region *

I would like to receive the Visual Studio Blog Newsletter. Privacy Statement.

Subscribe

Follow this blog

Are you sure you wish to delete this comment?

OK Cancel

Insert/edit link

Close

Enter the destination URL

URL

Link Text

  • [x] Open link in a new tab

Or link to existing content

Search

_No search term specified. Showing recent items._ _Search or use up and down arrow keys to select an item._

Cancel

##### Code Block

×

Paste your code snippet

Ok Cancel

What's new

Microsoft Store

Education

Business

Developer & IT

Company

Your Privacy ChoicesConsumer Health Privacy

[](http://devblogs.microsoft.com/visualstudio/sdk-style-support-for-extension-projects/#page "Back to top")

×!Image 20

Notifications

问问这篇内容

回答仅基于本篇材料
    0 / 500

    Skill 包

    领域模板,一键产出结构化笔记
    • 论文精读包

      把一篇论文 / 技术博客精读成结构化笔记:问题、方法、实验、批判、延伸阅读。

      • · TL;DR(1 段)
      • · 研究问题与动机
      • · 方法概览
    • 投融资雷达包

      把一条融资 / 创投新闻整理成投资人视角的雷达卡:交易要点、判断、竞争格局、风险、尽调清单。

      • · 交易要点(公司 / 轮次 / 金额 / 投资人 / 估值,材料未明示则写 “未披露”)
      • · 投资 thesis(这家公司为什么值得关注)
      • · 竞争格局与替代方案

    导出到第二大脑

    支持 Notion / Obsidian / Readwise
    下载 Markdown(Obsidian 直接拖入)