码迷,mamicode.com
首页 > 其他好文 > 详细

MSBuild Tools offline

时间:2019-11-30 13:30:43      阅读:257      评论:0      收藏:0      [点我收藏+]

标签:current   c++   mic   post   contain   developer   amp   在线   reference   

 

如何制作自己的离线包

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:\BT2017offline\certificates to "Trusted Root Certification Authorities" of computer (not current user)
  5. Run (exe file will have some version numbers in name): c:\BT2017offline\vs_BuildTools.exe --noweb
  6. Continue clicking next ...
 那么问题来了这些 
--add Microsoft.VisualStudio.Workload.MSBuildTools
参数去哪里找?    仔细阅读 !!!!!!!!!!!
对没错就是这个链接
 
 
还有一个证书问题
第一次在线装完后 得导出证书 不然。。下次安装 离线包没证书可能你会疯掉。
 
如果遇到问题
建议看看

非附属组件

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

 

 

MSBuild Tools offline

标签:current   c++   mic   post   contain   developer   amp   在线   reference   

原文地址:https://www.cnblogs.com/marklove/p/11962102.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!