{"id":15129,"date":"2018-12-10T18:38:17","date_gmt":"2018-12-11T01:38:17","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/setup\/?p=15129"},"modified":"2019-02-17T15:29:10","modified_gmt":"2019-02-17T22:29:10","slug":"older-versions-of-visual-studio-2017-will-not-install-in-windows-server-2019-containers","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/setup\/older-versions-of-visual-studio-2017-will-not-install-in-windows-server-2019-containers\/","title":{"rendered":"Older versions of Visual Studio 2017 will not install in Windows Server 2019 containers"},"content":{"rendered":"<p>If you try to <a href=\"https:\/\/docs.microsoft.com\/visualstudio\/install\/build-tools-container\">install Build Tools for Visual Studio 2017<\/a> into a Windows Server 2019 or newer container image, such as <code>mcr.microsoft.com\/windows\/servercore:1809<\/code> or <code>mcr.microsoft.com\/windows\/servercore:ltsc2019<\/code>, the install will quickly terminate without error and without installing anything. This is due, in part, to changes to the Windows Server container image to reduce size and improve startup performance.<\/p>\n<p>To install into Windows Server Core 2019 or newer, please <a href=\"https:\/\/visualstudio.microsoft.com\/downloads\/\">download Visual Studio 2017 version 15.9 or newer<\/a>, including <a href=\"https:\/\/visualstudio.microsoft.com\/vs\/preview\/\">Visual Studio 2019 Preview 1<\/a>.<\/p>\n<p><b>Note:<\/b> all previous Windows container images are now available in the Microsoft Container Registry (MCR), and all new container images including build 1809 (aka &#8220;RS5&#8221;) will be available only on MCR. See the <a href=\"https:\/\/blogs.technet.microsoft.com\/virtualization\/2018\/11\/13\/windows-server-2019-now-available\/\">Virtualization Blog<\/a> for more information. However, Build Tools should still only be installed on <code>microsoft\/dotnet-framework<\/code> images available on <a href=\"https:\/\/hub.docker.com\/r\/microsoft\/dotnet-framework\/\">Docker Hub<\/a>. See <a href=\"https:\/\/docs.microsoft.com\/visualstudio\/install\/build-tools-container-issues\">Known issues for containers<\/a> for more information.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you try to install Build Tools for Visual Studio 2017 into a Windows Server 2019 or newer container image, such as mcr.microsoft.com\/windows\/servercore:1809 or mcr.microsoft.com\/windows\/servercore:ltsc2019, the install will quickly terminate without error and without installing anything. This is due, in part, to changes to the Windows Server container image to reduce size and improve startup [&hellip;]<\/p>\n","protected":false},"author":389,"featured_media":15107,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[9,16,20,45,57,119],"class_list":["post-15129","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-containers","tag-docker","tag-installation","tag-visual-studio","tag-vs2017","tag-vs2019"],"acf":[],"blog_post_summary":"<p>If you try to install Build Tools for Visual Studio 2017 into a Windows Server 2019 or newer container image, such as mcr.microsoft.com\/windows\/servercore:1809 or mcr.microsoft.com\/windows\/servercore:ltsc2019, the install will quickly terminate without error and without installing anything. This is due, in part, to changes to the Windows Server container image to reduce size and improve startup [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/setup\/wp-json\/wp\/v2\/posts\/15129","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/setup\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/setup\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/setup\/wp-json\/wp\/v2\/users\/389"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/setup\/wp-json\/wp\/v2\/comments?post=15129"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/setup\/wp-json\/wp\/v2\/posts\/15129\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/setup\/wp-json\/wp\/v2\/media\/15107"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/setup\/wp-json\/wp\/v2\/media?parent=15129"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/setup\/wp-json\/wp\/v2\/categories?post=15129"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/setup\/wp-json\/wp\/v2\/tags?post=15129"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}