title: MSBuild tools offline installation
body: <p>I am trying to create MSBuild offline installation using this <a href="https://docs.microsoft.com/en-us/visualstudio/install/create-an-offline-installation-of-visual-studio?view=vs-2019#step-3---install-visual-studio-from-the-local-cache" rel="nofollow noreferrer">link</a>.</p>
  
  <p>I first downloaded <a href="https://visualstudio.microsoft.com/thank-you-downloading-visual-studio/?sku=buildtools&amp;rel=16&amp;utm_medium=microsoft&amp;utm_source=docs.microsoft.com&amp;utm_campaign=offline%20install&amp;utm_content=download%20vs2019" rel="nofollow noreferrer">MSBuild tool 2019</a></p>
  
  <p>Then I ran this command:</p>
  
  <pre><code>  vs_community.exe --layout c:\vslayout --add Microsoft.VisualStudio.Workload.ManagedDesktop --add Microsoft.Component.MSBuild --add Microsoft.VisualStudio.Component.CoreBuildTools 
  --add Microsoft.VisualStudio.Component.Roslyn.Compiler --add Microsoft.NetCore.BuildTools.ComponentGroup --add Microsoft.NetCore.Component.SDK --add Microsoft.VisualStudio.Component.NuGet.BuildTools --add Microsoft.Net.Core.Component.SDK.2.1 --includeOptional --lang en-US 
  </code></pre>
  
  <p>I am confused now about what dependencies I must include to build .net 4.5 based windows and web application. I also need to build .core applications. </p>
  
  <p>I was reading <a href="https://docs.microsoft.com/en-us/visualstudio/install/workload-component-id-vs-build-tools?vs-2019&amp;view=vs-2019" rel="nofollow noreferrer">this page</a> which list multiple dependencies. Which one I must include? They have: </p>
  
  <ol>
  <li>Azure development build tools</li>
  <li><a href="https://docs.microsoft.com/en-us/visualstudio/install/workload-component-id-vs-build-tools?view=vs-2019#data-storage-and-processing-build-tools" rel="nofollow noreferrer">Data storage and processing build tools</a></li>
  <li><a href="https://docs.microsoft.com/en-us/visualstudio/install/workload-component-id-vs-build-tools?view=vs-2019#net-desktop-build-tools" rel="nofollow noreferrer">.NET desktop build tools</a></li>
  <li><a href="https://docs.microsoft.com/en-us/visualstudio/install/workload-component-id-vs-build-tools?view=vs-2019#msbuild-tools" rel="nofollow noreferrer">MSBuild Tools</a></li>
  <li><a href="https://docs.microsoft.com/en-us/visualstudio/install/workload-component-id-vs-build-tools?view=vs-2019#net-core-build-tools" rel="nofollow noreferrer">.NET Core build tools</a></li>
  <li><p><a href="https://docs.microsoft.com/en-us/visualstudio/install/workload-component-id-vs-build-tools?view=vs-2019#nodejs-build-tools" rel="nofollow noreferrer">Node.js build tools</a></p>
  
  <p><strong>I only need ability to build .net 4.5 windows and web apps (ASP.NET MVC, ASP.NET Web API, Console app) &amp; .NET Core based application. Please suggest required dependencies. I think I need to include all dependenices listed in point 3, 4 &amp; 5.</strong> </p></li>
  </ol>