我使用以下命令创建了一个脱机布局文件夹:
vs_enterprise.exe --layout c:\vs2017layout --add Microsoft.VisualStudio.Workload.ManagedDesktop --add Microsoft.VisualStudio.Workload.NetWeb --add Component.GitHub.VisualStudio --includeOptional --lang en-US
Run Code Online (Sandbox Code Playgroud)
然后我将整个结果vs2017layout文件夹(~2.57GB)复制到另一台没有Internet访问权限的计算机上并运行以下命令:
vs_enterprise.exe --add Microsoft.VisualStudio.Workload.ManagedDesktop --add Microsoft.VisualStudio.Workload.NetWeb --add Component.GitHub.VisualStudio --includeOptional --lang en-US
Run Code Online (Sandbox Code Playgroud)
但是,安装程序仍然需要Internet连接.请告知我缺少的东西.

先感谢您.
我在使用新的 VS 2015 字符串插值语法时遇到 TFS 2013 构建错误(意外字符“$”)。我已经像这样修改了构建过程模板的“Run MSBuild for Project”任务,但它仍然没有帮助。
在构建定义中,我还指定了“MSBuild Arguments”= /p:VisualStudioVersion=14.0。
我有一个Web API项目,遵循此处概述的基本帐户身份验证过程:http://www.asp.net/web-api/overview/security/individual-accounts-in-web-api.我的问题是我应该用SSL(或其他东西)保护/ Token enpoint吗?否则,对"myURL/Token"的API调用只是通过明文发送,其用户名和密码在其正文中?
我在Web API SSL上阅读了这篇文章:http://www.asp.net/web-api/overview/security/working-with-ssl-in-web-api但我不知道我应该把它放在哪里[RequireHttps]属性,因为/ Token enpoint实际上不是控制器动作.
感谢您提供的任何指导!
我有以下字符串数组:
var myArray1 = new string[] {"A", "B", "C"};
var myArray2 = new string[] {"t1", "t2"};
Run Code Online (Sandbox Code Playgroud)
我希望能够生成一个如下所示的最终字符串:
var myFinalString = "t1.A, t2.A, t1.B, t2.B, t1.C, t2.C";
Run Code Online (Sandbox Code Playgroud)
我知道我可以迭代遍历数组的每个元素并手动构建字符串.但是,我想知道是否有更好的方法.我试图找出如何使String.Join()方法工作,但不能:-(.