我正在使用最近重新安装的SSD笔记本电脑.我正在使用带有TFS的Visual Studio 2013.
我的问题是,当我开始和我结束合并或比较时,我需要等待大约20 - 25秒.结束Web调试会话的等待时间也约为30秒.
我没有特殊的配置.TFS服务器在我们的局域网中,我通过以太网连接.我没有在TFS设置中配置代理.
我已经尝试过以下方法:
对于TFS之外的项目,我没有这个问题.我的同事没有遇到这个问题.
我是JIRA + Greenhopper中敏捷流程的新手.我试图了解在JIRA + GH中使用敏捷的正确/更好的方法是什么.我已经在网上阅读了一些信息 - 到目前为止,我知道我们有故事和史诗(这是一个很大的故事).我想知道创建任务的流程是什么:
这是正确的流程吗?我的问题是:
非常感谢您的快速反应.
说我有这样一个类:
public class Test {
public class InnerTest{}
}
Run Code Online (Sandbox Code Playgroud)
现在有一个TypeInfo对象InnerTest.我怎样才能找到TypeInfoTest 的对象InnerTest?
反过来很简单,我可以使用GetNestedTypes(),但我找不到方法或属性(除了IsNestedType)以找出嵌套类的包含类.
我目前正在使用Build in Visual Studio Team Services(是Visual Studio Online),并且希望能够在Build Step中设置Build变量,以便可以在后续的Build Step中使用新值.
显然你可以在Build开始之前设置它,但我希望在后续的Build Step中后期绑定变量.
我正在使用VSTS 2008 + ADO.Net + C#+ .Net 3.5 + SQL Server 2008.我在客户端使用ADO.Net连接到数据库服务器以执行存储过程,然后从存储过程返回结果.
这是我的代码.我有两个关于超时的问题,
如果我没有明确设置任何与超时相关的设置,对于与数据库服务器的连接,是否有任何超时设置(例如,如果在一段默认时间内无法连接到数据库服务器,会有一些超时异常?)?
如果我没有明确设置任何超时相关设置,对于执行存储过程,是否有任何超时设置(例如,如果无法从服务器检索到ADO.Net客户端的结果一段默认时间,则会有一些超时例外?)?
using (SqlConnection currentConnection = new SqlConnection("Data Source=.;Initial Catalog=TestDB;Trusted_Connection=true;Asynchronous Processing=true"))
{
// check current batch conut
currentConnection.Open();
using (SqlCommand RetrieveOrderCommand = new SqlCommand())
{
RetrieveOrderCommand.Connection = currentConnection;
RetrieveOrderCommand.CommandType = CommandType.StoredProcedure;
RetrieveOrderCommand.CommandText = "prc_GetOrders";
RetrieveBatchCountCommand.Parameters.Add("@Count", SqlDbType.Int).Direction = ParameterDirection.Output;
RetrieveBatchCountCommand.ExecuteNonQuery();
int rowCount = Convert.ToInt32(RetrieveOrderCommand.Parameters["@Count"].Value);
}
}
Run Code Online (Sandbox Code Playgroud)我最近参加了一个类coursera关于"自然语言处理",我学到了很多分析,IR和其他有趣的方面,例如Q&A等,虽然我掌握的概念很好,但我实际上并没有得到任何实用知识.任何人都可以建议我为自然语言处理提供良好的在线教程或书籍吗?
谢谢
我们的团队使用visual studio online建立了持续集成.我们已经尝试通过付费构建限制来提升我们的高级订阅量,这是我们无法实现的.但是,构建时间异常缓慢.
构建将在队列中停留几分钟,然后花费几分钟来运行[甚至在测试将Nuget包添加到源代码控制时].
有没有办法加快Visual Studio Online的构建速度?如果没有什么是好的选择?
我认为在Azure VM上接受或设置我们自己的持续集成服务器是最糟糕的情况.
我试图在Visual Studio Online的Build vNext平台中使用xUnit测试适配器运行我们的xUnit测试.
根据本文的规定,我们需要提供指向的自定义测试适配器路径xunit.runner.visualstudio.testadapter.dll.
但是这个包由NuGet恢复到一个全局包文件夹,即C:\Users\{user}\.dnx\packages?
我如何在构建步骤中引用此文件夹?
我们正在使用VS 2015和DNX项目.
编辑:
我甚至尝试直接指向包路径DLL:
C:\Users\buildagent\.dnx\packages\xunit.runner.visualstudio\2.1.0-beta4-build1109\build\_common
Run Code Online (Sandbox Code Playgroud)
它似乎仍然没有使用适配器:
Executing C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\CommonExtensions\Microsoft\TestWindow\vstest.console.exe "C:\a\8ac4a4f6\Root\artifacts\bin\MyProject.UnitTest\release\dnx451\TransitApi.UnitTest.dll" /TestAdapterPath:C:\Users\buildguest\.dnx\packages\xunit.runner.visualstudio\2.1.0-beta4-build1109\build\_common /UseVsixExtensions:true /logger:trx
Microsoft (R) Test Execution Command Line Tool Version 14.0.23107.0
Copyright (c) Microsoft Corporation. All rights reserved.
Starting test execution, please wait...
Warning: No test is available in C:\a\8ac4a4f6\Root\artifacts\bin\MyProject.UnitTest\release\dnx451\TransitApi.UnitTest.dll. Make sure that installed test discoverers & executors, platform & framework version settings are appropriate and try again.
No results found to …Run Code Online (Sandbox Code Playgroud) xunit.net visual-studio-2015 dnx azure-devops azure-pipelines
问题几乎告诉了一切.
Continoustests是一个Windows安装程序(http://continuoustests.com/download.html),因此这里描述的技巧不起作用.
unit-testing continuous-testing visual-studio-2013 mightymoose
[环境:团队服务,GIT,托管构建代理]
我想创建一个能够执行以下操作的Team Services构建定义:
执行脚本以根据仓库中的现有文件生成一些新文件
将生成的文件提交/推送回repo
我可以毫无问题地做#1.但我不知道我怎么做#2.
我发现我实际上能够从构建作业中运行git.exe.但我不确定如何将凭证传递给git.基于构建日志,它失败了,因为它试图从stdin获取用户名.
我尝试在构建定义中添加一个步骤,例如"git config --global user.name xxxx",但它仍然没有帮助.
这是一个受支持的场景吗?有什么建议?
谢谢!
编辑
我在构建脚本中尝试了以下方法:
git -c http.extraheader="AUTHORIZATION: bearer %SYSTEM_ACCESSTOKEN%" pull ...
Run Code Online (Sandbox Code Playgroud)
它似乎适用于拉等等命令.但是当我试图推动更改时,我得到以下错误:
fatal: unable to access 'https://example.visualstudio.com/SampleTeam/_git/SampleRepo/': SSL read: error:00000000:lib(0):func(0):reason(0), errno 10054
Run Code Online (Sandbox Code Playgroud)
思考?
azure-devops ×4
.net ×2
c# ×2
tfs ×2
ado.net ×1
algorithm ×1
dnx ×1
git ×1
jira ×1
jira-agile ×1
mightymoose ×1
nlp ×1
reflection ×1
sql-server ×1
tfsbuild ×1
unit-testing ×1
xunit.net ×1