zoukankan      html  css  js  c++  java
  • MSBuild Tools offline

    vs_buildtools__748593751.1574324392.exe --layout D:工具开发我的2011-04(ok)c++vs2019-11-30uildtools -add Microsoft.VisualStudio.Workload.AzureBuildTools -add Microsoft.VisualStudio.Workload.DataBuildTools -add Microsoft.VisualStudio.Workload.ManagedDesktopBuildTools -add Microsoft.VisualStudio.Workload.MSBuildTools -add Microsoft.VisualStudio.Workload.NetCoreBuildTools -add Microsoft.VisualStudio.Workload.NodeBuildTools -add Microsoft.VisualStudio.Workload.OfficeBuildTools -add Microsoft.VisualStudio.Workload.UniversalBuildTools -add Microsoft.VisualStudio.Workload.VCTools -add Microsoft.VisualStudio.Workload.VisualStudioExtensionBuildTools -add Microsoft.VisualStudio.Workload.WebBuildTools -add Microsoft.VisualStudio.Workload.XamarinBuildTools -add Microsoft.Net.Core.Component.SDK.2.2 -add Microsoft.VisualStudio.Component.VC.14.20.ARM -add Microsoft.VisualStudio.Component.VC.14.20.ARM.Spectre -add Microsoft.VisualStudio.Component.VC.14.20.ARM64 -add Microsoft.VisualStudio.Component.VC.14.20.ARM64.Spectre -add Microsoft.VisualStudio.Component.VC.14.20.ATL -add Microsoft.VisualStudio.Component.VC.14.20.ATL.ARM -add Microsoft.VisualStudio.Component.VC.14.20.ATL.ARM.Spectre -add Microsoft.VisualStudio.Component.VC.14.20.ATL.ARM64 -add Microsoft.VisualStudio.Component.VC.14.20.ATL.ARM64.Spectre -add Microsoft.VisualStudio.Component.VC.14.20.ATL.Spectre -add Microsoft.VisualStudio.Component.VC.14.20.CLI.Support -add Microsoft.VisualStudio.Component.VC.14.20.MFC -add Microsoft.VisualStudio.Component.VC.14.20.MFC.ARM -add Microsoft.VisualStudio.Component.VC.14.20.MFC.ARM.Spectre -add Microsoft.VisualStudio.Component.VC.14.20.MFC.ARM64 -add Microsoft.VisualStudio.Component.VC.14.20.MFC.ARM64.Spectre -add Microsoft.VisualStudio.Component.VC.14.20.MFC.Spectre -add Microsoft.VisualStudio.Component.VC.14.20.x86.x64 -add Microsoft.VisualStudio.Component.VC.14.20.x86.x64.Spectre -add Microsoft.VisualStudio.Component.VC.14.21.ARM -add Microsoft.VisualStudio.Component.VC.14.21.ARM.Spectre -add Microsoft.VisualStudio.Component.VC.14.21.ARM64 -add Microsoft.VisualStudio.Component.VC.14.21.ARM64.Spectre -add Microsoft.VisualStudio.Component.VC.14.21.ATL -add Microsoft.VisualStudio.Component.VC.14.21.ATL.ARM -add Microsoft.VisualStudio.Component.VC.14.21.ATL.ARM.Spectre -add Microsoft.VisualStudio.Component.VC.14.21.ATL.ARM64 -add Microsoft.VisualStudio.Component.VC.14.21.ATL.ARM64.Spectre -add Microsoft.VisualStudio.Component.VC.14.21.ATL.Spectre -add Microsoft.VisualStudio.Component.VC.14.21.CLI.Support -add Microsoft.VisualStudio.Component.VC.14.21.MFC -add Microsoft.VisualStudio.Component.VC.14.21.MFC.ARM -add Microsoft.VisualStudio.Component.VC.14.21.MFC.ARM.Spectre -add Microsoft.VisualStudio.Component.VC.14.21.MFC.ARM64 -add Microsoft.VisualStudio.Component.VC.14.21.MFC.ARM64.Spectre -add Microsoft.VisualStudio.Component.VC.14.21.MFC.Spectre -add Microsoft.VisualStudio.Component.VC.14.21.x86.x64 -add Microsoft.VisualStudio.Component.VC.14.21.x86.x64.Spectre -add Microsoft.VisualStudio.Component.VC.14.22.ARM -add Microsoft.VisualStudio.Component.VC.14.22.ARM.Spectre -add Microsoft.VisualStudio.Component.VC.14.22.ARM64 -add Microsoft.VisualStudio.Component.VC.14.22.ARM64.Spectre -add Microsoft.VisualStudio.Component.VC.14.22.ATL -add Microsoft.VisualStudio.Component.VC.14.22.ATL.ARM -add Microsoft.VisualStudio.Component.VC.14.22.ATL.ARM.Spectre -add Microsoft.VisualStudio.Component.VC.14.22.ATL.ARM64 -add Microsoft.VisualStudio.Component.VC.14.22.ATL.ARM64.Spectre -add Microsoft.VisualStudio.Component.VC.14.22.ATL.Spectre -add Microsoft.VisualStudio.Component.VC.14.22.CLI.Support -add Microsoft.VisualStudio.Component.VC.14.22.MFC -add Microsoft.VisualStudio.Component.VC.14.22.MFC.ARM -add Microsoft.VisualStudio.Component.VC.14.22.MFC.ARM.Spectre -add Microsoft.VisualStudio.Component.VC.14.22.MFC.ARM64 -add Microsoft.VisualStudio.Component.VC.14.22.MFC.ARM64.Spectre -add Microsoft.VisualStudio.Component.VC.14.22.MFC.Spectre -add Microsoft.VisualStudio.Component.VC.14.22.x86.x64 -add Microsoft.VisualStudio.Component.VC.14.22.x86.x64.Spectre -add Microsoft.VisualStudio.Component.VC.ATL.ARM -add Microsoft.VisualStudio.Component.VC.ATL.ARM.Spectre -add Microsoft.VisualStudio.Component.VC.ATL.ARM64 -add Microsoft.VisualStudio.Component.VC.ATL.ARM64.Spectre -add Microsoft.VisualStudio.Component.VC.ATL.Spectre -add Microsoft.VisualStudio.Component.VC.ATLMFC.Spectre -add Microsoft.VisualStudio.Component.VC.MFC.ARM -add Microsoft.VisualStudio.Component.VC.MFC.ARM.Spectre -add Microsoft.VisualStudio.Component.VC.MFC.ARM64 -add Microsoft.VisualStudio.Component.VC.MFC.ARM64.Spectre -add Microsoft.VisualStudio.Component.VC.Redist.MSM -add Microsoft.VisualStudio.Component.VC.Runtimes.ARM.Spectre -add Microsoft.VisualStudio.Component.VC.Runtimes.ARM64.Spectre -add Microsoft.VisualStudio.Component.VC.Runtimes.x86.x64.Spectre -add Microsoft.VisualStudio.Component.VC.v141.ARM.Spectre -add Microsoft.VisualStudio.Component.VC.v141.ARM64.Spectre -add Microsoft.VisualStudio.Component.VC.v141.ATL -add Microsoft.VisualStudio.Component.VC.v141.ATL.ARM -add Microsoft.VisualStudio.Component.VC.v141.ATL.ARM.Spectre -add Microsoft.VisualStudio.Component.VC.v141.ATL.ARM64 -add Microsoft.VisualStudio.Component.VC.v141.ATL.ARM64.Spectre -add Microsoft.VisualStudio.Component.VC.v141.ATL.Spectre -add Microsoft.VisualStudio.Component.VC.v141.CLI.Support -add Microsoft.VisualStudio.Component.VC.v141.MFC -add Microsoft.VisualStudio.Component.VC.v141.MFC.ARM -add Microsoft.VisualStudio.Component.VC.v141.MFC.ARM.Spectre -add Microsoft.VisualStudio.Component.VC.v141.MFC.ARM64 -add Microsoft.VisualStudio.Component.VC.v141.MFC.ARM64.Spectre -add Microsoft.VisualStudio.Component.VC.v141.MFC.Spectre -add Microsoft.VisualStudio.Component.VC.v141.x86.x64.Spectre -add Microsoft.VisualStudio.Component.WinXP --lang en-US zh-CN
    load all
    vs_buildtools__748593751.1574324392.exe --layout c:BT2017offline 
    
    --lang en-US zh-CN
    
    --add Microsoft.VisualStudio.Workload.AzureBuildTools
    Microsoft.VisualStudio.Workload.DataBuildTools
    Microsoft.VisualStudio.Workload.ManagedDesktopBuildTools
    Microsoft.VisualStudio.Workload.MSBuildTools
    Microsoft.VisualStudio.Workload.NetCoreBuildTools
    Microsoft.VisualStudio.Workload.NodeBuildTools
    Microsoft.VisualStudio.Workload.OfficeBuildTools
    Microsoft.VisualStudio.Workload.UniversalBuildTools
    Microsoft.VisualStudio.Workload.VCTools
    Microsoft.VisualStudio.Workload.VisualStudioExtensionBuildTools
    Microsoft.VisualStudio.Workload.WebBuildTools
    Microsoft.VisualStudio.Workload.XamarinBuildTools
    Microsoft.Net.Core.Component.SDK.2.2
    Microsoft.VisualStudio.Component.VC.14.20.ARM
    Microsoft.VisualStudio.Component.VC.14.20.ARM.Spectre
    Microsoft.VisualStudio.Component.VC.14.20.ARM64
    Microsoft.VisualStudio.Component.VC.14.20.ARM64.Spectre
    Microsoft.VisualStudio.Component.VC.14.20.ATL
    Microsoft.VisualStudio.Component.VC.14.20.ATL.ARM
    Microsoft.VisualStudio.Component.VC.14.20.ATL.ARM.Spectre
    Microsoft.VisualStudio.Component.VC.14.20.ATL.ARM64
    Microsoft.VisualStudio.Component.VC.14.20.ATL.ARM64.Spectre
    Microsoft.VisualStudio.Component.VC.14.20.ATL.Spectre
    Microsoft.VisualStudio.Component.VC.14.20.CLI.Support
    Microsoft.VisualStudio.Component.VC.14.20.MFC
    Microsoft.VisualStudio.Component.VC.14.20.MFC.ARM
    Microsoft.VisualStudio.Component.VC.14.20.MFC.ARM.Spectre
    Microsoft.VisualStudio.Component.VC.14.20.MFC.ARM64
    Microsoft.VisualStudio.Component.VC.14.20.MFC.ARM64.Spectre
    Microsoft.VisualStudio.Component.VC.14.20.MFC.Spectre
    Microsoft.VisualStudio.Component.VC.14.20.x86.x64
    Microsoft.VisualStudio.Component.VC.14.20.x86.x64.Spectre
    Microsoft.VisualStudio.Component.VC.14.21.ARM
    Microsoft.VisualStudio.Component.VC.14.21.ARM.Spectre
    Microsoft.VisualStudio.Component.VC.14.21.ARM64
    Microsoft.VisualStudio.Component.VC.14.21.ARM64.Spectre
    Microsoft.VisualStudio.Component.VC.14.21.ATL
    Microsoft.VisualStudio.Component.VC.14.21.ATL.ARM
    Microsoft.VisualStudio.Component.VC.14.21.ATL.ARM.Spectre
    Microsoft.VisualStudio.Component.VC.14.21.ATL.ARM64
    Microsoft.VisualStudio.Component.VC.14.21.ATL.ARM64.Spectre
    Microsoft.VisualStudio.Component.VC.14.21.ATL.Spectre
    Microsoft.VisualStudio.Component.VC.14.21.CLI.Support
    Microsoft.VisualStudio.Component.VC.14.21.MFC
    Microsoft.VisualStudio.Component.VC.14.21.MFC.ARM
    Microsoft.VisualStudio.Component.VC.14.21.MFC.ARM.Spectre
    Microsoft.VisualStudio.Component.VC.14.21.MFC.ARM64
    Microsoft.VisualStudio.Component.VC.14.21.MFC.ARM64.Spectre
    Microsoft.VisualStudio.Component.VC.14.21.MFC.Spectre
    Microsoft.VisualStudio.Component.VC.14.21.x86.x64
    Microsoft.VisualStudio.Component.VC.14.21.x86.x64.Spectre
    Microsoft.VisualStudio.Component.VC.14.22.ARM
    Microsoft.VisualStudio.Component.VC.14.22.ARM.Spectre
    Microsoft.VisualStudio.Component.VC.14.22.ARM64
    Microsoft.VisualStudio.Component.VC.14.22.ARM64.Spectre
    Microsoft.VisualStudio.Component.VC.14.22.ATL
    Microsoft.VisualStudio.Component.VC.14.22.ATL.ARM
    Microsoft.VisualStudio.Component.VC.14.22.ATL.ARM.Spectre
    Microsoft.VisualStudio.Component.VC.14.22.ATL.ARM64
    Microsoft.VisualStudio.Component.VC.14.22.ATL.ARM64.Spectre
    Microsoft.VisualStudio.Component.VC.14.22.ATL.Spectre
    Microsoft.VisualStudio.Component.VC.14.22.CLI.Support
    Microsoft.VisualStudio.Component.VC.14.22.MFC
    Microsoft.VisualStudio.Component.VC.14.22.MFC.ARM
    Microsoft.VisualStudio.Component.VC.14.22.MFC.ARM.Spectre
    Microsoft.VisualStudio.Component.VC.14.22.MFC.ARM64
    Microsoft.VisualStudio.Component.VC.14.22.MFC.ARM64.Spectre
    Microsoft.VisualStudio.Component.VC.14.22.MFC.Spectre
    Microsoft.VisualStudio.Component.VC.14.22.x86.x64
    Microsoft.VisualStudio.Component.VC.14.22.x86.x64.Spectre
    Microsoft.VisualStudio.Component.VC.ATL.ARM
    Microsoft.VisualStudio.Component.VC.ATL.ARM.Spectre
    Microsoft.VisualStudio.Component.VC.ATL.ARM64
    Microsoft.VisualStudio.Component.VC.ATL.ARM64.Spectre
    Microsoft.VisualStudio.Component.VC.ATL.Spectre
    Microsoft.VisualStudio.Component.VC.ATLMFC.Spectre
    Microsoft.VisualStudio.Component.VC.MFC.ARM
    Microsoft.VisualStudio.Component.VC.MFC.ARM.Spectre
    Microsoft.VisualStudio.Component.VC.MFC.ARM64
    Microsoft.VisualStudio.Component.VC.MFC.ARM64.Spectre
    Microsoft.VisualStudio.Component.VC.Redist.MSM
    Microsoft.VisualStudio.Component.VC.Runtimes.ARM.Spectre
    Microsoft.VisualStudio.Component.VC.Runtimes.ARM64.Spectre
    Microsoft.VisualStudio.Component.VC.Runtimes.x86.x64.Spectre
    Microsoft.VisualStudio.Component.VC.v141.ARM.Spectre
    Microsoft.VisualStudio.Component.VC.v141.ARM64.Spectre
    Microsoft.VisualStudio.Component.VC.v141.ATL
    Microsoft.VisualStudio.Component.VC.v141.ATL.ARM
    Microsoft.VisualStudio.Component.VC.v141.ATL.ARM.Spectre
    Microsoft.VisualStudio.Component.VC.v141.ATL.ARM64
    Microsoft.VisualStudio.Component.VC.v141.ATL.ARM64.Spectre
    Microsoft.VisualStudio.Component.VC.v141.ATL.Spectre
    Microsoft.VisualStudio.Component.VC.v141.CLI.Support
    Microsoft.VisualStudio.Component.VC.v141.MFC
    Microsoft.VisualStudio.Component.VC.v141.MFC.ARM
    Microsoft.VisualStudio.Component.VC.v141.MFC.ARM.Spectre
    Microsoft.VisualStudio.Component.VC.v141.MFC.ARM64
    Microsoft.VisualStudio.Component.VC.v141.MFC.ARM64.Spectre
    Microsoft.VisualStudio.Component.VC.v141.MFC.Spectre
    Microsoft.VisualStudio.Component.VC.v141.x86.x64.Spectre
    Microsoft.VisualStudio.Component.WinXP
    View Code

    如何制作自己的离线包

    https://stackoverflow.com/questions/46684230/visualstudio-build-tools-2017-offline-installer

    https://developercommunity.visualstudio.com/content/problem/39981/can-not-install-offline-unable-to-download-install-1.html#reply-54883

    https://developercommunity.visualstudio.com/content/problem/137779/the-getreferencenearesttargetframeworktask-task-wa.html

    https://docs.microsoft.com/en-us/visualstudio/install/workload-and-component-ids?view=vs-2019

    All steps to install build tools:

    1. Download build tools
    2. Download layout files for offline installation:
      • Possible workloads are specified here. Following command contains workloads for msbuild and C++ build tools.
      • Run (exe file will have some version numbers in name): vs_BuildTools.exe --layout c:BT2017offline --add Microsoft.VisualStudio.Workload.MSBuildTools --add Microsoft.VisualStudio.Workload.VCTools --add Microsoft.VisualStudio.Workload.WebBuildTools --add Microsoft.VisualStudio.Workload.NetCoreBuildTools --lang en-US
    3. Copy c:BT2017offline to box on which you want to install it.
    4. Open mmc and import all certificates from c:BT2017offlinecertificates to "Trusted Root Certification Authorities" of computer (not current user)
    5. Run (exe file will have some version numbers in name): c:BT2017offlinevs_BuildTools.exe --noweb
    6. Continue clicking next ...
     那么问题来了这些 
    --add Microsoft.VisualStudio.Workload.MSBuildTools
    参数去哪里找?    仔细阅读 !!!!!!!!!!!
    对没错就是这个链接
     
     
    还有一个证书问题
    第一次在线装完后 得导出证书 不然。。下次安装 离线包没证书可能你会疯掉。
     
    如果遇到问题
    建议看看

    非附属组件

    这些是不包含在任何工作负载中的组件,但可以选择作为单独的组件。

     

     
    编译openssl
     
     
     

    Command-line tools

  • 相关阅读:
    3.App Resources-Resource Types/Animation
    SwipeRefreshLayout下拉刷新
    3.App Resources-Handling Runtime Changes
    3.App Resources-Accessing Resources
    3.App Resources-Providing Resources
    3.App Resources-Overview
    2.App Components-Processes and Threads
    2.App Components-App Widgets/App Widget Host
    2.App Components-App Widgets
    2.App Components-Content Providers/Storage Access Framework
  • 原文地址:https://www.cnblogs.com/marklove/p/11962102.html
Copyright © 2011-2022 走看看