Пакет sdk для microsoft windows

Содержание
  1. Downloads and tools for Windows 10
  2. Visual Studio Community
  3. Visual Studio Professional
  4. Visual Studio Enterprise
  5. Not using Visual Studio or Windows?
  6. Developer tools
  7. Visual Studio Code
  8. Windows Installer
  9. Windows Subsystem for Linux
  10. Windows Package Manager
  11. Windows Community Toolkit
  12. Windows Template Studio
  13. Microsoft Web Template Studio
  14. Design toolkits for Windows apps
  15. Windows SDK archive
  16. Remote Tools for Visual Studio
  17. Multilingual App Toolkit
  18. HoloLens emulators and templates
  19. Debugging tools
  20. Microsoft PowerToys
  21. Visual Studio Subscriptions (Formerly MSDN Subscriptions)
  22. Monetization and Microsoft Store
  23. Microsoft Store Services SDK
  24. Windows App Certification Kit
  25. Microsoft Store badges
  26. Become a Windows Insider
  27. Windows 10 SDK
  28. Getting started
  29. System requirements
  30. Supported operating systems
  31. Hardware requirements
  32. Additional SDK requirements
  33. What’s new
  34. Removal of api-ms-win-net-isolation-l1-1-0.lib
  35. Removal of irprops.lib
  36. Removal of wuapicommon.h and wuapicommon.idl
  37. Windows 10 WinRT API Pack
  38. Universal C Runtime (UCRT)
  39. Tools
  40. Windows App Certification Kit
  41. Message Compiler (mc.exe)
  42. Windows Trace Preprocessor (tracewpp.exe)
  43. TraceLoggingProvider.h
  44. Signing your apps with Device Guard Signing
  45. Samples
  46. Previous SDK versions
  47. API Light Up
  48. Release notes & Known Issues
  49. More resources
  50. Downloads and tools
  51. SDK archive
  52. Windows blog
  53. Windows lifecycle fact sheet
  54. Как использовать пакет SDK для Windows 10 в классическом приложении Windows How to: Use the Windows 10 SDK in a Windows Desktop application
  55. Использование правильного Windows SDK для проекта Use the right Windows SDK for your project
  56. Изменение целевой платформы для пакета SDK для Windows 10 To target the Windows 10 SDK
  57. Изменение целевой платформы для пакета SDK для Windows 8.1 To target the Windows 8.1 SDK

Downloads and tools for Windows 10

The latest Windows 10 developer tools and SDK resources

Visual Studio Community

Free, fully-featured IDE for students and individual developers.

Visual Studio Professional

Professional developer tools, services, and subscription benefits for small teams.

Visual Studio Enterprise

End-to-end solution that meets the demanding quality and scale needs of teams of all sizes.

Not using Visual Studio or Windows?

Developer tools

Visual Studio Code

A lightweight but powerful source code editor that runs on your desktop and is available for Windows, macOS and Linux.

Windows Installer

Install and configure desktop applications.

Windows Subsystem for Linux

Run native Linux command-line tools, including Bash, directly on Windows.

Windows Package Manager

Try the preview of our new open source package manager for installing applications and tools on Windows 10.

Windows Community Toolkit

Get helper functions, custom controls, and app services to simplify common tasks, building UWP apps for Windows 10.

Windows Template Studio

Quickly build a UWP app using a full-featured wizard-based UI.

Microsoft Web Template Studio

A cross-platform extension for Visual Studio Code that simplifies and accelerates creating new full-stack web applications.

Design toolkits for Windows apps

These toolkits provide controls and layout templates for designing Windows apps.

Windows SDK archive

Find previous releases of the Window SDK and other tools.

Remote Tools for Visual Studio

Debug an application running on a different computer or device.

Multilingual App Toolkit

Streamline your localization workflow during app development.

HoloLens emulators and templates

Build and test applications for mixed reality.

Debugging tools

Get WinDbg, KD, CDB, NTSD as part of a development kit or as a standalone tool set.

Microsoft PowerToys

Set of utilities for power users to tune and streamline their Windows 10 experience for greater productivity.

Visual Studio Subscriptions (Formerly MSDN Subscriptions)

Tools, Azure, software & downloads, services, training and support

Monetization and Microsoft Store

Microsoft Store Services SDK

Integrate customer engagement features with your apps, including targeted notifications and A/B tests.

Windows App Certification Kit

Run these tests before you submit an app to the Store.

Microsoft Store badges

Promote your apps using branded logos and art.

Become a Windows Insider

Join the Windows Insider Program for the latest preview builds of Windows

Windows 10 SDK

The Windows 10 SDK (10.0.19041.0) for Windows 10, version 2004 provides the latest headers, libraries, metadata, and tools for building Windows 10 apps.

Use this SDK to build Universal Windows Platform (UWP) and Win32 applications for Windows 10, version 20H2 and previous Windows releases.

Windows 10, version 20H2 is a scoped set of features for select performance improvements and quality enhancements. Developers should be aware of this release, but no action is necessary at this time.

A new Windows SDK will not be issued to accompany this version of Windows because this release doesn’t introduce new APIs. That means there’s no need to modify your project files or target a new version of Windows, and you should continue to use the Windows 10 SDK for Windows 10, version 2004. When setting the target version for your Windows app, Windows 10 build 19041 is still the most recent target version.

Getting started

You can get the Windows 10 SDK in two ways: install it from this page by selecting the download link or by selecting “Windows 10 SDK (10.0.19041.0)” in the optional components of the Visual Studio 2019 Installer.

Before you install this SDK:

System requirements

The Windows SDK has the following minimum system requirements:

Supported operating systems

  • Universal Windows Platform (UWP) app development
    • Windows 10 version 1507 or higher: Home, Professional, Education, and Enterprise (LTSB and S are not supported)
    • Windows Server 2019, Windows Server 2016 and Windows Server 2012 R2 (Command line only)
  • Win32 app development
    • Windows 10 version 1507 or higher
    • Windows Server 2019, Windows Server 2016, and Windows Server 2012 R2 (Command line only)
    • Windows 8.1
    • Windows 7 SP1
Читайте также:  Chm reader для linux

(Not all tools are supported on earlier operating systems)

Hardware requirements

  • 1.6 GHz or faster processor
  • 1 GB of RAM
  • 4 GB of available hard disk space

Additional SDK requirements

Installation on Windows 8.1 and earlier operating systems requires KB2999226. To install through Windows Update, make sure you install the latest recommended updates and patches from Microsoft Update before you install the Windows SDK.

What’s new

The Windows 10 SDK for Windows 10, version 2004 offers exciting new APIs and updated tools for developing your Windows applications. Learn more about the new features in Windows 10, version 2004.

To see the new APIs introduced with Windows 10, version 2004, see: What’s new in Windows 10 for developers, build 19041.

Removal of api-ms-win-net-isolation-l1-1-0.lib

In this release api-ms-win-net-isolation-l1-1-0.lib has been removed from the Windows SDK. Apps that were linking against api-ms-win-net-isolation-l1-1-0.lib can switch t OneCoreUAP.lib as a replacement.

Removal of irprops.lib

In this release irprops.lib has been removed from the Windows SDK. Apps that were linking against irprops.lib can switch to bthprops.lib as a drop-in replacement.

Removal of wuapicommon.h and wuapicommon.idl

In this release we have moved ENUM tagServerSelection from wuapicommon.h to wupai.h and removed the header. If you would like to use the ENUM tagServerSelection, you will need to include wuapi.h or wuapi.idl.

Windows 10 WinRT API Pack

The Windows 10 WinRT API Pack lets you add the latest Windows Runtime APIs support to your .NET Framework 4.5+ and .NET Core 3.0+ libraries and apps. To access the Windows 10 WinRT API Pack, see the Microsoft.Windows.SDK.Contracts nuget package.

Universal C Runtime (UCRT)

The printf family of functions now conforms with the IEEE 754 rounding rules when printing exactly representable floating-point numbers and will honor the rounding mode requested via calls to fesetround. Legacy behavior is available when linking with legacy_stdio_float_rounding.obj.

Tools

Windows App Certification Kit

In this release of the Windows SDK, several new APIs were added to the Supported APIs list in the App Certification Kit and Windows Store. If there are APIs in the supported list that appear greyed out or disabled in Visual Studio, you can make a small change to your source file, to access them. For more details, see this known issue.

In addition to adding APIs, the following changes have been made to the tests:

Updated tests:

  • ValidateContentUriRules will be informational only. Test failures will be presented as warnings.

Removed tests

  • WebView WinRT access test for web app
  • PackageSizeCheck test for UWP apps
  • SupportedApi test for Desktop Bridge apps
  • AppContainerCheck test from BinScope for UWP apps
  • ServiceWorker check for all app types

New tests

  • High-DPI test. A new test for Desktop Bridge apps checks if the app uses DPI aware feature and warns if not specified. This test will encourage you to make your app per-monitor DPI aware. For details on DPI see High DPI Desktop Application Development on Windows.

Message Compiler (mc.exe)

Updates include:

  • Now detects the Unicode byte order mark (BOM) in .mc files. If the .mc file starts with a UTF-8 BOM, it will be read as a UTF-8 file. Otherwise, if it starts with a UTF-16LE BOM, it will be read as a UTF-16LE file. If the -u parameter was specified, it will be read as a UTF-16LE file. Otherwise, it will be read using the current code page (CP_ACP).
  • Now avoids one-definition-rule (ODR) problems in MC-generated C/C++ ETW helpers caused by conflicting configuration macros (e.g. when two .cpp files with conflicting definitions of MCGEN_EVENTWRITETRANSFER are linked into the same binary, the MC-generated ETW helpers will now respect the definition of MCGEN_EVENTWRITETRANSFER in each .cpp file instead of arbitrarily picking one or the other).

Windows Trace Preprocessor (tracewpp.exe)

Updates include:

  • Now supports Unicode input (.ini, .tpl, and source code) files. Input files starting with a UTF-8 or UTF-16 byte order mark (BOM) will be read as Unicode. Input files that do not start with a BOM will be read using the current code page (CP_ACP). For backwards-compatibility, if the -UnicodeIgnore command-line parameter is specified, files starting with a UTF-16 BOM will be treated as empty.
  • Now supports Unicode output (.tmh) files. By default, output files will be encoded using the current code page (CP_ACP). Use command-line parameters -cp:UTF-8 or -cp:UTF-16 to generate Unicode output files.
  • Behavior change: tracewpp now converts all input text to Unicode, performs processing in Unicode, and converts output text to the specified output encoding. Earlier versions of tracewpp avoided Unicode conversions and performed text processing assuming a single-byte character set. This may lead to behavior changes in cases where the input files do not conform to the current code page. In cases where this is a problem, consider converting the input files to UTF-8 (with BOM) and/or using the -cp:UTF-8 command-line parameter to avoid encoding ambiguity.

TraceLoggingProvider.h

Updates include:

  • Now avoids one-definition-rule (ODR) problems caused by conflicting configuration macros (e.g. when two .cpp files with conflicting definitions of TLG_EVENT_WRITE_TRANSFER are linked into the same binary, the TraceLoggingProvider.h helpers will now respect the definition of TLG_EVENT_WRITE_TRANSFER in each .cpp file instead of arbitrarily picking one or the other).
  • In C++ code, the TraceLoggingWrite macro has been updated to enable better code sharing between similar events using variadic templates.
Читайте также:  Операционная система windows объекты элементы графического интерфейса

Signing your apps with Device Guard Signing

We are making it easier for you to sign your app. Device Guard signing is a Device Guard feature that is available in Microsoft Store for Business and Education. Signing allows enterprises to guarantee every app comes from a trusted source. Our goal is to make signing your MSIX package easier. See the documentation about Device Guard Signing.

Samples

Windows 10 app samples are now available through GitHub. You can browse the code on GitHub, clone a personal copy of the repository from Git, or download a zipped archive of all the samples. We welcome feedback, so feel free to open an issue within the repository if you have a problem or question. These samples are designed to run on desktop, mobile, and future devices that support the Universal Windows Platform (UWP).

Previous SDK versions

Previously released SDKs and emulators, including update details, can be found on the archive page.

API Light Up

When you use new APIs, consider writing your app to be adaptive so that it runs correctly on the widest array of Windows 10 devices. An adapative app «lights up» with new features wherever the devices and Windows version supports them, but otherwise offers only the functionality available on the detected platform version. For implementation details, see the Version adaptive code article.

Release notes & Known Issues

The Windows 10 SDK, Version 2004 SDK servicing update (released 12/16/2020) contains the following fixes. If you encounter these issues, we recommend that you update your version of the SDK as soon as possible to avoid them:

  • Resolved unpredictable and hard to diagnose crashes when linking both umbrella libraries and native OS libraries (for example, onecoreuap.lib and kernel32.lib)
  • Resolved issue that prevented AppVerifier from working
  • Resolved issue that caused WACK to fail with “Task failed to enable HighVersionLie”

For known issues, see the winapi-sdk Q&A.

For new developer feature requests, submit through the Feedback Hub app under the category “Developer Platform/API.”

More resources

Downloads and tools

Get the latest editions of Visual Studio and Windows 10 development tools.

SDK archive

Find previous releases of the Window SDK and other tools.

Windows blog

Stay in touch with the latest SDK flights by subscribing to our blog.

Windows lifecycle fact sheet

Find the key dates for Windows release updates and end of support.

Как использовать пакет SDK для Windows 10 в классическом приложении Windows How to: Use the Windows 10 SDK in a Windows Desktop application

При создании проекта классического рабочего стола Windows в Visual Studio он по умолчанию обращается к пакету SDK для Windows 10. When you create a new classic Windows desktop project in Visual Studio, it targets the Windows 10 SDK by default. Visual Studio устанавливает версию этого пакета SDK при установке рабочей нагрузки C++ рабочего стола. Visual Studio installs a version of this SDK when you install the C++ Desktop workload. Пакет SDK для Windows 10 поддерживает написание кода для Windows 7 SP1 и более поздних версий. The Windows 10 SDK supports writing code for Windows 7 SP1 and later. Дополнительные сведения о нацеливании на конкретные версии Windows см. в разделе Использование заголовков Windows и обновление winver и _WIN32_WINNT. For more information about targeting specific versions of Windows, see Using the Windows Headers and Update WINVER and _WIN32_WINNT.

При обновлении существующего проекта можно выбрать один из вариантов: можно использовать целевой Windows SDK, указанный в проекте. When you upgrade an existing project, you have a choice: You can keep using the target Windows SDK specified in your project. Вы также можете перенацелить проект для использования пакета SDK для Windows 10. Or, you can retarget your project to use the Windows 10 SDK. С помощью пакета SDK для Windows 10 вы получаете преимущества поддержки новейших операционных систем и языковых стандартов. With the Windows 10 SDK, you get the advantages of support for the latest operating systems and language standards.

Использование правильного Windows SDK для проекта Use the right Windows SDK for your project

Начиная с Visual Studio 2015 библиотека среды выполнения C (CRT) была разделена на две части: одна часть, ucrtbase, содержит стандартные функции CRT C и Microsoft, которые можно использовать в универсальных приложениях Windows. Starting with Visual Studio 2015, the C Runtime (CRT) library was separated into two parts: One part, ucrtbase, contains the Standard C and Microsoft-specific CRT functions that you can use in Universal Windows Apps. Эта библиотека теперь называется универсальной библиотекой CRT или UCRT и перешла в пакет SDK для Windows 10. This library is now known as the Universal CRT, or UCRT, and has moved into the Windows 10 SDK. UCRT содержит множество новых функций, таких как функции C99, которые необходимы для поддержки новейших C++ языковых стандартов. The UCRT contains many new functions, such as C99 functions, needed to support the latest C++ language standards. Другая часть исходной CRT — vcruntime. The other part of the original CRT is vcruntime. Он содержит поддержку, запуск и код завершения среды выполнения C, а также все остальное, которые не были отправлены в UCRT. It contains the C runtime support, startup, and termination code, and everything else that didn’t go into the UCRT. Библиотека vcruntime устанавливается вместе с C++ компилятором и набором инструментов в Visual Studio. The vcruntime library gets installed along with the C++ compiler and toolset in Visual Studio. Дополнительные сведения см. в разделе функции библиотеки CRT. For more information, see CRT library features.

Читайте также:  Staruml license key windows

UCRT теперь является системным компонентом, установленным на каждой версии Windows 10. The UCRT is now a system component that’s installed on every version of Windows 10. Он также доступен как устанавливаемый компонент для всех более ранних поддерживаемых версий Windows. It’s also available as an installable component for all earlier supported versions of Windows. Вы можете использовать пакет SDK для Windows 10, чтобы выбрать все поддерживаемые версии Windows. You can use the Windows 10 SDK to target all the supported versions of Windows. Полный список поддерживаемых операционных систем см. в разделе Windows 10 SDK. For a complete list of supported operating systems, see Windows 10 SDK.

Чтобы перенацелить проекты на использование пакета SDK для Windows 10 при обновлении версии проекта до Visual Studio 2015, выполните следующие действия. To retarget your projects to use the Windows 10 SDK when you upgrade from a project version before Visual Studio 2015, follow these steps:

Изменение целевой платформы для пакета SDK для Windows 10 To target the Windows 10 SDK

Убедитесь, что установлен пакет SDK для Windows 10. Make sure the Windows 10 SDK is installed. Пакет SDK для Windows 10 устанавливается как часть разработки классических приложений с C++ рабочей нагрузкой. The Windows 10 SDK is installed as part of the Desktop development with C++ workload. Автономная версия доступна в загружаемых файлах и средствах для Windows 10. A standalone version is available at Downloads and tools for Windows 10.

Откройте контекстное меню для узла проекта и выберите пункт перенацелить проекты. Open the shortcut menu for the project node, and choose Retarget projects. (В более ранних версиях Visual Studio выберите Изменить целевую версию пакета SDK.) Откроется диалоговое окно Проверка действий решения . (In earlier versions of Visual Studio, choose Retarget SDK Version.) The Review Solution Actions dialog appears.

В раскрывающемся списке Версия целевой платформы выберите версию пакета SDK для Windows 10, которую вы хотите использовать. In the Target Platform Version dropdown list, choose the version of the Windows 10 SDK you want to target. В целом, мы рекомендуем выбрать последнюю установленную версию. Generally speaking, we recommend you choose the latest installed version. Нажмите кнопку ОК , чтобы применить изменение. Choose the OK button to apply the change.

8,1 в этом контексте относится к пакету SDK для Windows 8.1. The 8.1 in this context refers to the Windows 8.1 SDK.

Если этот шаг выполнен успешно, в окне вывода появится следующее сообщение. If this step is successful, the following text appears in the Output window:

Retargeting End: 1 completed, 0 failed, 0 skipped

Откройте диалоговое окно Свойства проекта. Open the project properties dialog. В разделе Свойства конфигурации > Общие Обратите внимание на значения версии целевой платформы Windows. In the Configuration Properties > General section, notice the values of Windows Target Platform Version. Изменение значения на данном этапе действует аналогично данной процедуре. Changing the value here has the same effect as following this procedure. Дополнительные сведения см. в разделе Страница свойств «Общие» (проект). For more information, see General Property Page (Project).

Это действие приводит к изменению значений макросов проекта, содержащих пути к файлам заголовка и файлам библиотеки. This action changes the values of project macros that include paths to header files and library files. Чтобы увидеть изменения, откройте раздел » визуальные C++ каталоги » диалогового окна » Свойства проекта «. To see what changed, open the Visual C++ Directories section of the Project Properties dialog. Выберите одно из свойств, например каталоги включения. Select one of the properties, such as Include Directories. Затем откройте раскрывающийся список значение свойства и выберите . Then, open the property value’s dropdown list, and choose . Откроется диалоговое окно Каталоги включения . The Include Directories dialog appears.

Нажмите кнопку макросы > > и прокрутите список макросов до Windows SDK макросов, чтобы просмотреть все новые значения. Choose the Macros >> button, and scroll down the list of macros to the Windows SDK macros to see all the new values.

При необходимости повторите процедуру перенаправления для других проектов решений и перестройте решение. Repeat the retargeting procedure for other solution projects, as needed, and rebuild the solution.

Изменение целевой платформы для пакета SDK для Windows 8.1 To target the Windows 8.1 SDK

Откройте контекстное меню узла проекта в обозреватель решений и выберите пункт перенацелить проекты. Open the shortcut menu for the project node in Solution Explorer, and choose Retarget projects. (В более ранних версиях Visual Studio выберите Изменить целевую версию пакета SDK.) (In earlier versions of Visual Studio, choose Retarget SDK Version.)

В раскрывающемся списке Версия целевой платформы выберите 8,1. In the Target Platform Version dropdown list, choose 8.1.

Оцените статью