简体   繁体   English

如何使用Powershell从我的Visual Studio在线帐户中“获取”?

[英]How can I do a “get” from my Visual Studio Online Account Using Powershell?

I am setting up an automated build environment but I am having trouble connecting to my Visual Studio Online account through Powershell to fully automate the get-latest, build-project, and run-unit test process. 我正在设置一个自动构建环境,但是无法通过Powershell连接到Visual Studio Online帐户以完全自动化最新,构建项目和运行单元测试过程。 Anyone have experience with this? 有人对此有经验吗?

Update: 更新:

I am using TF Version Control 我正在使用TF版本控制

First, you should use the Team Build functionality to do this. 首先,您应该使用团队构建功能来执行此操作。 It supports what you want to do out of the box and you don't need any scripting. 它支持您要立即执行的操作,并且不需要任何脚本。

If you need a script you can use the "tf.exe" commands. 如果需要脚本,可以使用“ tf.exe”命令。

http://msdn.microsoft.com/en-us/library/z51z7zy0(v=vs.100).aspx http://msdn.microsoft.com/en-us/library/z51z7zy0(v=vs.100).aspx

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在Visual Studio 2015的C#项目中运行简单的Powershell命令? - How do I run a simple Powershell command from my C# project in Visual Studio 2015? 如何将发电机代码导入Visual Studio? - How do I get my dynamo code into visual studio? 如何从发送到我的电子邮件的文本框中获取信息? (C#,Visual studio 2013) - How do I get information from a text box sent to my email? (C#, Visual studio 2013) 如何让我的 Selenium 测试在 Visual Studio 中运行? - How can I get my Selenium test to run in Visual Studio? 如何使用Unity 2017.3.1f1和Visual Studio 2017更新脚本? - How can I get my scripts to update using Unity 2017.3.1f1 and Visual Studio 2017? 如何从Visual Studio中的数据库获得自动完成功能? - How do I get an auto completion from a database in visual studio ? 如何从Visual Studio中通过PowerShell获取数组的值 - How to get values of array by powershell from Visual Studio 为什么我可以在没有凭据的情况下以编程方式连接到我的Visual Studio Online项目? - Why can I programmatically connect to my Visual Studio Online Project without Credentials? 更新数据库源后,如何让 Visual Studio 2010 刷新我的数据集? - How do I get Visual Studio 2010 to refresh my DataSet after I have updated the Database source? (Visual Studio) 如何将 powershell 脚本导入 c# 项目,以便我可以将 .NET 应用程序与脚本一起发布 - (Visual Studio) How to import powershell scripts into c# project so that I can publish my .NET application together with the scripts
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM