无法发布新工作项目的VS 2013负载测试结果-“找不到适合中立文化的资源". [英] Cannot publish VS 2013 Load Test result for a new work item - "Could not find any resources appropriate for the neutral culture."

查看:74
本文介绍了无法发布新工作项目的VS 2013负载测试结果-“找不到适合中立文化的资源".的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我进行了VS 2013负载测试,并且正在使用TFS 2013. ,我已将负载测试数据成功转到负载测试结果存储.现在我要发布 数据发送到TFS,以便团队的其他成员可以访问它.

I have a VS 2013 load test, and am using TFS 2013. I have builds to publish against, I have load test data successfully going to the load test results store. Now I want to publish that data to TFS so the rest of the team has access to it.

我的第一个问题 如何通过Visual Studio将这些结果发布到TFS?在旧版VS 中,我可以右键单击结果,然后有一个发布选项权 那里.除了在测试之外创建工作项之外,现在是否没有基于GUI的发布选项?如果有的话,我或我的任何同事都无法在VS或MSDN文档中找到它.这是我们可以找到的全部: http://msdn.microsoft.com/en-us/library/ms243151.aspx ,并且仅用于命令行发布.

My first question is how do I post those results to TFS against a build through Visual Studio? In older versions of VS I could right click a result and there was a publish option right there. Is there no GUI based publish option anymore, short of creating a work item off of the test? If there is, neither me or any of my colleagues can find it in VS or the MSDN docs.  Here is all we can find: http://msdn.microsoft.com/en-us/library/ms243151.aspx and it is only for command line publish.

第二, 有一个发布视图"测试结果工具栏中的选项.我找不到MSDN上任何地方的文档.为什么没有帮助或文档?

Second, there is a "Publish View" option in the Test Results toolbar. This isn't documented anywhere on MSDN that I can find. Why is there no help or documentation on it?

我正在猜这个我在哪里发布东西?还是这仅允许我查看已发布的内容?我不知道,MSDN上没有任何内容告诉我这是做什么的.如果存在此页面,请 告诉我它在哪里.每当我单击发布视图"时,都会看到以下内容.从未发布过任何内容.这可能是Visual Studio的问题吗?

I am GUESSING this where I publish things? Or does this just allow me to view things already published? I have no idea, nothing on MSDN tells me what this does. If this page exists, please show me where it is. Whenever I click Publish View, I see the following. Nothing EVER publishes. Could this be an issue with Visual Studio?

第三, 当我通过针对负载测试结果的GUI创建工作项时,我弄清楚如何通过GUI发布结果的唯一方法是,我得到一个错误:

Third, when I create a work item through the GUI against a load test result, the only way I can figure out how to publish results through the GUI, I get an error:

找不到适合中立文化的资源.确保"Microsoft.VisualStudio.TeamSystem.Integration.PublishResultDialog.resources"正确嵌入 或链接到程序集"Microsoft.VisualStudio.TeamSystem.Integration"在编译时,或者所需的所有附属程序集均已加载并且已完全签名.

Could not find any resources appropriate for the neutral culture. Make sure "Microsoft.VisualStudio.TeamSystem.lntegration.PublishResultDialog.resources" was correctly embedded or linked into assembly "Microsoft.VisualStudio.TeamSystem.Integration" at compile time, or that all the satellite assemblies required are loadable and fully signed.

我无法在线找到有关此错误的任何诊断信息,因此我不知道如何解决它.这个错误是什么意思?

I cannot find any diagnostic info online about this error so I have no idea how to fix it. What does this error mean?

我正在针对TFS 2013 Update 2 RC运行VS 2013 Update 2 CTP. TFS 2013在运行测试的同一台机器上本地运行.

I am running VS 2013 Update 2 CTP against TFS 2013 Update 2 RC.  TFS 2013 is running locally on the same box I am running my tests on.

Angela Dugan

Angela Dugan

推荐答案

安吉拉,

是否已经缺少基于GUI的发布选项,而没有从测试中创建工作项?

在VS2013中有这样的选项.您可以在团队资源管理器中连接到TFS团队项目,在测试结果"窗口中右键单击测试结果,选择创建工作项"->测试用例"以将该测试结果发布到工作项.但 我们在VS2013 IDE中执行此操作时也会收到此类错误:

There is such option in VS2013. You can connect to TFS team project in Team Explorer, right click the test result in Test Results window, select ‘Create Work Item’->’Test Case’ to publish this test result to a work item. But we can also get such error when we do it in VS2013 IDE:

找不到适合中立文化的资源.确保"Microsoft.VisualStudio.TeamSystem.Integration.PublishResultDialog.resources"已正确嵌入或链接到程序集"Microsoft.VisualStudio.TeamSystem.Integration"中. 在编译时,或者所需的所有附属程序集均已加载并且已完全签名.也许这是VS2013的错误.

Could not find any resources appropriate for the neutral culture. Make sure "Microsoft.VisualStudio.TeamSystem.lntegration.PublishResultDialog.resources" was correctly embedded or linked into assembly "Microsoft.VisualStudio.TeamSystem.Integration" at compile time, or that all the satellite assemblies required are loadable and fully signed. Maybe this is an error is VS2013.

我在VS2012中尝试了相同的步骤,因此我可以将测试结果成功发布到一个测试用例中,而不会出现该错误.发布后,我可以看到测试结果附在测试用例的附件"选项卡上.当我点击发布 在VS2012中完成发布后的查看",我可以看到已发布的测试结果. 我没有找到介绍发布视图"选项的文档.我认为发布视图"用于显示发布到TFS的测试结果.

I tried the same steps in VS2012, I can publish test result successfully to a test case without that error. After publishing, I can see the test result is attached to the test case ‘Attachment’ tab. And when I click the ‘Publish View’ after finishing publish in VS2012, I can see the published test results. I did not find a document which introduce ‘Publish View’ option. I think that ‘Publish View’ is used to display the test results which are published to TFS.

要得到产品团队的确认和诊断,请为它创建连接报告吗?您将收到电子邮件通知以进行更新. http://connect.microsoft.com/VisualStudio/feedback/CreateFeedback .aspx , 如果您提交了该文档,则可以在此处与我们共享链接,以便我们可以从产品团队专家那里获得最新信息.

To get the issue confirmed and diagnose by product team, would you please create connect report for it? You will get email notification for update.http://connect.microsoft.com/VisualStudio/feedback/CreateFeedback.aspx, if you submit it, you could share us the link here, so we could know the latest information from the Product team expert.

即使我们无法在VS2013 IDE中发布测试结果,也可以通过mstest.exe/vstest.console.exe命令行来完成.  

Even though we can’t publish test result in VS2013 IDE, but we can do it through mstest.exe/vstest.console.exe command line.  

参考:

命令发布测试结果的在线选项
通过命令行测试运行程序发布测试结果:

Command-Line Options for Publishing Test Results
Publishing test results through command line test runner:

http ://blogs.msdn.com/b/visualstudioalm/archive/2012/12/06/publishing-test-results-through-command-line-test-runner.aspx

最好的问候,


这篇关于无法发布新工作项目的VS 2013负载测试结果-“找不到适合中立文化的资源".的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆