{"id":12045,"date":"2016-11-16T13:04:38","date_gmt":"2016-11-16T20:04:38","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/vcblog\/?p=12045"},"modified":"2024-02-02T22:58:08","modified_gmt":"2024-02-02T22:58:08","slug":"introducing-the-visual-studio-build-tools","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/cppblog\/introducing-the-visual-studio-build-tools\/","title":{"rendered":"Introducing the Visual Studio Build Tools"},"content":{"rendered":"<p><div class=\"alert alert-info\"><p class=\"alert-divider\"><i class=\"fabric-icon fabric-icon--Info\"><\/i><strong>Content outdated<\/strong><\/p> To download Build Tools for Visual Studio, see <a class=\"Hyperlink SCXW52179535 BCX8\" href=\"https:\/\/visualstudio.microsoft.com\/downloads\/#build-tools-for-visual-studio-2022\" target=\"_blank\" rel=\"noreferrer noopener\"><span class=\"TextRun Underlined SCXW52179535 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW52179535 BCX8\" data-ccp-charstyle=\"Hyperlink\">Download Visual Studio <\/span><span class=\"NormalTextRun SCXW52179535 BCX8\" data-ccp-charstyle=\"Hyperlink\">Build Tools<\/span><\/span><\/a>.<\/div><a href=\"https:\/\/www.visualstudio.com\/downloads#other\">Download the VS 2017 Build Tools<\/a> (for C++\u00a0or managed code)<\/p>\n<h2>Recap of the Visual C++ and Build Tools<\/h2>\n<p>Last year we <a href=\"https:\/\/blogs.msdn.microsoft.com\/vcblog\/2015\/11\/02\/announcing-visual-c-build-tools-2015-standalone-c-tools-for-build-environments\/\">introduced<\/a> the <a href=\"https:\/\/devblogs.microsoft.com\/cppblog\/announcing-visual-c-build-tools-2015-standalone-c-tools-for-build-environments\/\">Visual C++ 2015 Build Tools<\/a> to enable a streamlined build-lab experience for getting the required Visual C++ tools without the additional overhead of installing the Visual Studio IDE.\u00a0 We <a href=\"https:\/\/blogs.msdn.microsoft.com\/vcblog\/2016\/03\/31\/announcing-the-official-release-of-the-visual-c-build-tools-2015\/\">expanded the options<\/a> to include tools like ATL and MFC, .NET tools for C++\/CLI development, and various Windows SDKs. \u00a0There was also an MSBuild standalone installer for installing the tools needed for building .NET applications called the <a href=\"https:\/\/www.microsoft.com\/en-us\/download\/details.aspx?id=48159\">Microsoft Build Tools 2015<\/a>.<\/p>\n<h2>The new Visual Studio Build Tools<\/h2>\n<p>For Visual Studio 2017 RC, we are introducing the new Visual Studio Build Tools which uses the new installer experience to provide access to MSBuild tools for both managed and native applications.\u00a0 This installer replaces both the Visual C++ Build Tools and the Microsoft Build Tools as your one stop shop for build tools.\u00a0 By default, all of the necessary MSBuild prerequisites for both managed and native builds are installed with the Visual Studio Build Tools, including the <a href=\"https:\/\/msdn.microsoft.com\/en-us\/library\/ms164311.aspx\">MSBuild command prompt<\/a> which you can use to build your applications.\u00a0 On top of that there is also an optional workload for the \u201cVisual C++ Build Tools\u201d that provides an additional set of options that native C++ developers can install on top of the core MSBuild components.<\/p>\n<p><strong><a href=\"https:\/\/blogs.msdn.microsoft.com\/vcblog\/?attachment_id=12055\"><img decoding=\"async\" class=\"alignnone size-full wp-image-12055\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/9\/2019\/02\/212.png\" alt=\"2\" width=\"435\" height=\"99\" \/><\/a><\/strong><\/p>\n<p>These options are very similar to those found in the Visual Studio 2017 RC \u201cDesktop development with C++\u201d workload, which provides a comparable set of options to\u00a0those available in the Visual C++ Build Tools 2015.\u00a0 \u00a0Note that we also include CMake support in the Visual Studio Build Tools.<\/p>\n<p><a href=\"https:\/\/blogs.msdn.microsoft.com\/vcblog\/?attachment_id=12065\"><img decoding=\"async\" class=\"alignnone size-full wp-image-12065\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/9\/2019\/02\/312.png\" alt=\"3\" width=\"268\" height=\"408\" \/><\/a><\/p>\n<p>Just like the installer for Visual Studio 2017 RC, there is also an area for installing individual components to allow for more granular control over your installation.<\/p>\n<p><a href=\"https:\/\/blogs.msdn.microsoft.com\/vcblog\/?attachment_id=12075\"><img decoding=\"async\" class=\"alignnone size-full wp-image-12075\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/9\/2019\/02\/410.png\" alt=\"4\" width=\"453\" height=\"463\" \/><\/a><\/p>\n<h2>Command-line \u201cSilent\u201d Installs<\/h2>\n<p>The build tools can be installed using the installer from the command-line without needing to launch the installer UI.\u00a0 Navigate to the installer\u2019s directory using an elevated command prompt and run one of the following commands.\u00a0 There is also an option to use the \u201c&#8211;quiet\u201d argument to invoke a silent install if desired, as shown below:<\/p>\n<ul>\n<li>To install just the MSBuild tools<\/li>\n<\/ul>\n<p>vs_buildtools.exe &#8211;quiet<\/p>\n<ul>\n<li>To install the MSBuild tools and required VC++ tools<\/li>\n<\/ul>\n<p>vs_buildtools.exe &#8211;quiet &#8211;add Microsoft.VisualStudio.Workload.VCTools<\/p>\n<ul>\n<li>To install the MSBuild tools and recommended (default) VC++ tools<\/li>\n<\/ul>\n<p>vs_buildtools.exe &#8211;quiet &#8211;add Microsoft.VisualStudio.Workload.VCTools &#8211;includeRecommended<\/p>\n<ul>\n<li>To install the MSBuild tools and <em>all<\/em> of the optional VC++ tools<\/li>\n<\/ul>\n<p>vs_buildtools.exe \u2013quiet &#8211;add Microsoft.VisualStudio.Workload.VCTools &#8211;includeOptional<\/p>\n<p>The &#8211;help command will be coming in a future release. In the interim, the full set of command-line parameters to the Visual Studio installer is documented here: https:\/\/docs.microsoft.com\/en-us\/visualstudio\/install\/use-command-line-parameters-to-install-visual-studio<\/p>\n<h2>Closing Remarks<\/h2>\n<p>Give the new <a href=\"https:\/\/www.visualstudio.com\/downloads#other\">Visual Studio Build Tools<\/a> a try and let us know what you think.\u00a0 We plan to evolve this installer to continue to meet your needs, both native and beyond.\u00a0 Your input will help guide us down this path.\u00a0 Thanks!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Download the VS 2017 Build Tools (for C++\u00a0or managed code) Recap of the Visual C++ and Build Tools Last year we introduced the Visual C++ 2015 Build Tools to enable a streamlined build-lab experience for getting the required Visual C++ tools without the additional overhead of installing the Visual Studio IDE.\u00a0 We expanded the options [&hellip;]<\/p>\n","protected":false},"author":295,"featured_media":35994,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[270],"tags":[],"class_list":["post-12045","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-announcement"],"acf":[],"blog_post_summary":"<p>Download the VS 2017 Build Tools (for C++\u00a0or managed code) Recap of the Visual C++ and Build Tools Last year we introduced the Visual C++ 2015 Build Tools to enable a streamlined build-lab experience for getting the required Visual C++ tools without the additional overhead of installing the Visual Studio IDE.\u00a0 We expanded the options [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/posts\/12045","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/users\/295"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/comments?post=12045"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/posts\/12045\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/media\/35994"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/media?parent=12045"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/categories?post=12045"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/tags?post=12045"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}