- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我有一个 .net 4.6 MVC 应用程序和一个由 Visual Studio 生成的标准测试项目,其中包含一些 Controller 测试。这些都发现并传入 VS 测试运行器,但我试图让 VSTS 现在执行这些测试,如果任何测试失败,则构建失败。但是,没有发现任何测试,我收到了很多“输入字符串格式不正确”的错误消息。
我在测试中没有改变任何东西,我所做的只是将测试任务添加到我的构建阶段。
这是完整的测试输出:
2017-11-28T09:54:11.2442325Z ##[section]Starting: Run Unit Tests
2017-11-28T09:54:11.2598856Z ==============================================================================
2017-11-28T09:54:11.2598856Z Task : Visual Studio Test
2017-11-28T09:54:11.2598856Z Description : Run tests with Visual Studio test runner
2017-11-28T09:54:11.2598856Z Version : 2.2.3
2017-11-28T09:54:11.2598856Z Author : Microsoft Corporation
2017-11-28T09:54:11.2598856Z Help : [More Information](https://go.microsoft.com/fwlink/?LinkId=835764)
2017-11-28T09:54:11.2598856Z ==============================================================================
2017-11-28T09:54:14.6192312Z Run the tests locally using vstest.console.exe
2017-11-28T09:54:14.6192312Z ========================================================
2017-11-28T09:54:14.6192312Z Test selector : Test assemblies
2017-11-28T09:54:14.6192312Z Test assemblies : **\*test*.dll,!**\obj\**
2017-11-28T09:54:14.6192312Z Test filter criteria : null
2017-11-28T09:54:14.6192312Z Search folder : C:\agent\_work\1\s
2017-11-28T09:54:14.6192312Z Run settings file : C:\agent\_work\1\s
2017-11-28T09:54:14.6192312Z Run in parallel : false
2017-11-28T09:54:14.6192312Z Run in isolation : false
2017-11-28T09:54:14.6192312Z Path to custom adapters : null
2017-11-28T09:54:14.6192312Z Other console options : null
2017-11-28T09:54:14.6192312Z Code coverage enabled : false
2017-11-28T09:54:14.6192312Z VisualStudio version selected for test execution : latest
2017-11-28T09:54:16.7609946Z ========================================================
2017-11-28T09:54:19.1015214Z [command]"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\TestWindow\vstest.console.exe" @C:\agent\_work\_temp\18c48b81-d422-11e7-8218-574cad38a3a3.txt
2017-11-28T09:54:26.1576050Z Microsoft (R) Test Execution Command Line Tool Version 15.0.26228.0
2017-11-28T09:54:26.1576050Z Copyright (c) Microsoft Corporation. All rights reserved.
2017-11-28T09:54:26.1576050Z
2017-11-28T09:54:26.1576050Z vstest.console.exe
2017-11-28T09:54:26.1576050Z "C:\agent\_work\1\s\MVC5\packages\MSTest.TestAdapter.1.1.17\build\_common\Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.dll"
2017-11-28T09:54:26.1576050Z "C:\agent\_work\1\s\MVC5\packages\MSTest.TestAdapter.1.1.17\build\_common\Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.Interface.dll"
2017-11-28T09:54:26.1576050Z "C:\agent\_work\1\s\MVC5\packages\MSTest.TestAdapter.1.1.17\build\_common\Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.dll"
2017-11-28T09:54:26.1576050Z "C:\agent\_work\1\s\MVC5\packages\MSTest.TestAdapter.1.1.17\build\_common\Microsoft.VisualStudio.TestPlatform.TestFramework.dll"
2017-11-28T09:54:26.1576050Z "C:\agent\_work\1\s\MVC5\packages\MSTest.TestAdapter.1.1.17\build\_common\cs\Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll"
2017-11-28T09:54:26.1576050Z "C:\agent\_work\1\s\MVC5\packages\MSTest.TestAdapter.1.1.17\build\_common\cs\Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll"
2017-11-28T09:54:26.1576050Z "C:\agent\_work\1\s\MVC5\packages\MSTest.TestAdapter.1.1.17\build\_common\cs\Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll"
2017-11-28T09:54:26.1576050Z "C:\agent\_work\1\s\MVC5\packages\MSTest.TestAdapter.1.1.17\build\_common\de\Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll"
2017-11-28T09:54:26.1576050Z "C:\agent\_work\1\s\MVC5\packages\MSTest.TestAdapter.1.1.17\build\_common\de\Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll"
2017-11-28T09:54:26.1576050Z "C:\agent\_work\1\s\MVC5\packages\MSTest.TestAdapter.1.1.17\build\_common\de\Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll"
2017-11-28T09:54:26.1576050Z "C:\agent\_work\1\s\MVC5\packages\MSTest.TestAdapter.1.1.17\build\_common\es\Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll"
2017-11-28T09:54:26.1576050Z "C:\agent\_work\1\s\MVC5\packages\MSTest.TestAdapter.1.1.17\build\_common\es\Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll"
2017-11-28T09:54:26.1576050Z "C:\agent\_work\1\s\MVC5\packages\MSTest.TestAdapter.1.1.17\build\_common\es\Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll"
2017-11-28T09:54:26.1576050Z "C:\agent\_work\1\s\MVC5\packages\MSTest.TestAdapter.1.1.17\build\_common\fr\Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll"
2017-11-28T09:54:26.1576050Z "C:\agent\_work\1\s\MVC5\packages\MSTest.TestAdapter.1.1.17\build\_common\fr\Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll"
2017-11-28T09:54:26.1576050Z "C:\agent\_work\1\s\MVC5\packages\MSTest.TestAdapter.1.1.17\build\_common\fr\Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll"
2017-11-28T09:54:26.1576050Z "C:\agent\_work\1\s\MVC5\packages\MSTest.TestAdapter.1.1.17\build\_common\it\Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll"
2017-11-28T09:54:26.1576050Z "C:\agent\_work\1\s\MVC5\packages\MSTest.TestAdapter.1.1.17\build\_common\it\Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll"
2017-11-28T09:54:26.1576050Z "C:\agent\_work\1\s\MVC5\packages\MSTest.TestAdapter.1.1.17\build\_common\it\Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll"
2017-11-28T09:54:26.1576050Z "C:\agent\_work\1\s\MVC5\packages\MSTest.TestAdapter.1.1.17\build\_common\ja\Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll"
2017-11-28T09:54:26.1576050Z "C:\agent\_work\1\s\MVC5\packages\MSTest.TestAdapter.1.1.17\build\_common\ja\Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll"
2017-11-28T09:54:26.1576050Z "C:\agent\_work\1\s\MVC5\packages\MSTest.TestAdapter.1.1.17\build\_common\ja\Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll"
2017-11-28T09:54:26.1576050Z "C:\agent\_work\1\s\MVC5\packages\MSTest.TestAdapter.1.1.17\build\_common\ko\Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll"
2017-11-28T09:54:26.1576050Z "C:\agent\_work\1\s\MVC5\packages\MSTest.TestAdapter.1.1.17\build\_common\ko\Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll"
2017-11-28T09:54:26.1576050Z "C:\agent\_work\1\s\MVC5\packages\MSTest.TestAdapter.1.1.17\build\_common\ko\Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll"
2017-11-28T09:54:26.1576050Z "C:\agent\_work\1\s\MVC5\packages\MSTest.TestAdapter.1.1.17\build\_common\pl\Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll"
2017-11-28T09:54:26.1576050Z "C:\agent\_work\1\s\MVC5\packages\MSTest.TestAdapter.1.1.17\build\_common\pl\Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll"
2017-11-28T09:54:26.1576050Z "C:\agent\_work\1\s\MVC5\packages\MSTest.TestAdapter.1.1.17\build\_common\pl\Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll"
2017-11-28T09:54:26.1576050Z "C:\agent\_work\1\s\MVC5\packages\MSTest.TestAdapter.1.1.17\build\_common\pt\Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll"
2017-11-28T09:54:26.1576050Z "C:\agent\_work\1\s\MVC5\packages\MSTest.TestAdapter.1.1.17\build\_common\pt\Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll"
2017-11-28T09:54:26.1576050Z "C:\agent\_work\1\s\MVC5\packages\MSTest.TestAdapter.1.1.17\build\_common\pt\Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll"
2017-11-28T09:54:26.1576050Z "C:\agent\_work\1\s\MVC5\packages\MSTest.TestAdapter.1.1.17\build\_common\ru\Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll"
2017-11-28T09:54:26.1576050Z "C:\agent\_work\1\s\MVC5\packages\MSTest.TestAdapter.1.1.17\build\_common\ru\Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll"
2017-11-28T09:54:26.1576050Z "C:\agent\_work\1\s\MVC5\packages\MSTest.TestAdapter.1.1.17\build\_common\ru\Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll"
2017-11-28T09:54:26.1576050Z "C:\agent\_work\1\s\MVC5\packages\MSTest.TestAdapter.1.1.17\build\_common\tr\Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll"
2017-11-28T09:54:26.1576050Z "C:\agent\_work\1\s\MVC5\packages\MSTest.TestAdapter.1.1.17\build\_common\tr\Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll"
2017-11-28T09:54:26.1576050Z "C:\agent\_work\1\s\MVC5\packages\MSTest.TestAdapter.1.1.17\build\_common\tr\Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll"
2017-11-28T09:54:26.1576050Z "C:\agent\_work\1\s\MVC5\packages\MSTest.TestAdapter.1.1.17\build\_common\zh-Hans\Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll"
2017-11-28T09:54:26.1576050Z "C:\agent\_work\1\s\MVC5\packages\MSTest.TestAdapter.1.1.17\build\_common\zh-Hans\Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll"
2017-11-28T09:54:26.1576050Z "C:\agent\_work\1\s\MVC5\packages\MSTest.TestAdapter.1.1.17\build\_common\zh-Hans\Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll"
2017-11-28T09:54:26.1576050Z "C:\agent\_work\1\s\MVC5\packages\MSTest.TestAdapter.1.1.17\build\_common\zh-Hant\Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll"
2017-11-28T09:54:26.1576050Z "C:\agent\_work\1\s\MVC5\packages\MSTest.TestAdapter.1.1.17\build\_common\zh-Hant\Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll"
2017-11-28T09:54:26.1576050Z "C:\agent\_work\1\s\MVC5\packages\MSTest.TestAdapter.1.1.17\build\_common\zh-Hant\Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll"
2017-11-28T09:54:26.1576050Z "C:\agent\_work\1\s\MVC5\packages\MSTest.TestAdapter.1.1.17\build\netcoreapp1.0\Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.dll"
2017-11-28T09:54:26.1576050Z "C:\agent\_work\1\s\MVC5\packages\MSTest.TestAdapter.1.1.17\build\uap10.0\Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.dll"
2017-11-28T09:54:26.1576050Z "C:\agent\_work\1\s\MVC5\packages\MSTest.TestFramework.1.1.17\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll"
2017-11-28T09:54:26.1576050Z "C:\agent\_work\1\s\MVC5\packages\MSTest.TestFramework.1.1.17\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.dll"
2017-11-28T09:54:26.1576050Z "C:\agent\_work\1\s\MVC5\packages\MSTest.TestFramework.1.1.17\lib\netstandard1.0\Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll"
2017-11-28T09:54:26.1576050Z "C:\agent\_work\1\s\MVC5\packages\MSTest.TestFramework.1.1.17\lib\netstandard1.0\Microsoft.VisualStudio.TestPlatform.TestFramework.dll"
2017-11-28T09:54:26.1576050Z "C:\agent\_work\1\s\MVC5\packages\MSTest.TestFramework.1.1.17\lib\uap10.0\Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll"
2017-11-28T09:54:26.1576050Z "C:\agent\_work\1\s\MVC5\packages\MSTest.TestFramework.1.1.17\lib\uap10.0\Microsoft.VisualStudio.TestPlatform.TestFramework.dll"
2017-11-28T09:54:26.1576050Z /logger:"trx"
2017-11-28T09:54:26.1576050Z /TestAdapterPath:"C:\agent\_work\1\s"
2017-11-28T09:54:29.0388328Z Starting test execution, please wait...
2017-11-28T09:54:35.4463920Z Warning: Input string was not in a correct format.
2017-11-28T09:54:35.4463920Z
2017-11-28T09:54:35.8082157Z Warning: Unable to load types from the test source 'C:\agent\_work\1\s\MVC5\packages\MSTest.TestAdapter.1.1.17\build\uap10.0\Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.dll'. Some or all of the tests in this source may not be discovered.
2017-11-28T09:54:35.8082157Z
2017-11-28T09:54:35.8394672Z Warning: Input string was not in a correct format.
2017-11-28T09:54:35.8394672Z
2017-11-28T09:54:36.1206800Z Warning: Input string was not in a correct format.
2017-11-28T09:54:36.1206800Z
2017-11-28T09:54:36.1676432Z Warning: Input string was not in a correct format.
2017-11-28T09:54:36.1676432Z
2017-11-28T09:54:36.3706773Z Warning: Unable to load types from the test source 'C:\agent\_work\1\s\MVC5\packages\MSTest.TestAdapter.1.1.17\build\_common\Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.dll'. Some or all of the tests in this source may not be discovered.
2017-11-28T09:54:36.3706773Z
2017-11-28T09:54:37.0547894Z Warning: No test is available in C:\agent\_work\1\s\MVC5\packages\MSTest.TestAdapter.1.1.17\build\_common\pt\Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll C:\agent\_work\1\s\MVC5\packages\MSTest.TestAdapter.1.1.17\build\_common\ru\Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll C:\agent\_work\1\s\MVC5\packages\MSTest.TestAdapter.1.1.17\build\_common\ru\Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll C:\agent\_work\1\s\MVC5\packages\MSTest.TestAdapter.1.1.17\build\_common\ru\Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll C:\agent\_work\1\s\MVC5\packages\MSTest.TestAdapter.1.1.17\build\_common\tr\Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll C:\agent\_work\1\s\MVC5\packages\MSTest.TestAdapter.1.1.17\build\_common\tr\Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll C:\agent\_work\1\s\MVC5\packages\MSTest.TestAdapter.1.1.17\build\_common\tr\Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll C:\agent\_work\1\s\MVC5\packages\MSTest.TestAdapter.1.1.17\build\_common\zh-Hans\Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll C:\agent\_work\1\s\MVC5\packages\MSTest.TestAdapter.1.1.17\build\_common\zh-Hans\Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll C:\agent\_work\1\s\MVC5\packages\MSTest.TestAdapter.1.1.17\build\_common\zh-Hans\Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll C:\agent\_work\1\s\MVC5\packages\MSTest.TestAdapter.1.1.17\build\_common\zh-Hant\Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll C:\agent\_work\1\s\MVC5\packages\MSTest.TestAdapter.1.1.17\build\_common\zh-Hant\Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll C:\agent\_work\1\s\MVC5\packages\MSTest.TestAdapter.1.1.17\build\_common\pt\Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll C:\agent\_work\1\s\MVC5\packages\MSTest.TestAdapter.1.1.17\build\netcoreapp1.0\Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.dll C:\agent\_work\1\s\MVC5\packages\MSTest.TestAdapter.1.1.17\build\uap10.0\Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.dll C:\agent\_work\1\s\MVC5\packages\MSTest.TestFramework.1.1.17\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.dll C:\agent\_work\1\s\MVC5\packages\MSTest.TestFramework.1.1.17\lib\netstandard1.0\Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll C:\agent\_work\1\s\MVC5\packages\MSTest.TestFramework.1.1.17\lib\netstandard1.0\Microsoft.VisualStudio.TestPlatform.TestFramework.dll C:\agent\_work\1\s\MVC5\packages\MSTest.TestFramework.1.1.17\lib\uap10.0\Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll C:\agent\_work\1\s\MVC5\packages\MSTest.TestFramework.1.1.17\lib\uap10.0\Microsoft.VisualStudio.TestPlatform.TestFramework.dll C:\agent\_work\1\s\MVC5\packages\MSTest.TestAdapter.1.1.17\build\_common\zh-Hant\Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll C:\agent\_work\1\s\MVC5\packages\MSTest.TestAdapter.1.1.17\build\_common\Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.dll C:\agent\_work\1\s\MVC5\packages\MSTest.TestAdapter.1.1.17\build\_common\pt\Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll C:\agent\_work\1\s\MVC5\packages\MSTest.TestAdapter.1.1.17\build\_common\pl\Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll C:\agent\_work\1\s\MVC5\packages\MSTest.TestAdapter.1.1.17\build\_common\Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.Interface.dll C:\agent\_work\1\s\MVC5\packages\MSTest.TestAdapter.1.1.17\build\_common\Microsoft.VisualStudio.TestPlatform.TestFramework.dll C:\agent\_work\1\s\MVC5\packages\MSTest.TestAdapter.1.1.17\build\_common\cs\Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll C:\agent\_work\1\s\MVC5\packages\MSTest.TestAdapter.1.1.17\build\_common\cs\Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll C:\agent\_work\1\s\MVC5\packages\MSTest.TestAdapter.1.1.17\build\_common\cs\Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll C:\agent\_work\1\s\MVC5\packages\MSTest.TestAdapter.1.1.17\build\_common\de\Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll C:\agent\_work\1\s\MVC5\packages\MSTest.TestAdapter.1.1.17\build\_common\de\Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll C:\agent\_work\1\s\MVC5\packages\MSTest.TestAdapter.1.1.17\build\_common\de\Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll C:\agent\_work\1\s\MVC5\packages\MSTest.TestAdapter.1.1.17\build\_common\es\Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll C:\agent\_work\1\s\MVC5\packages\MSTest.TestAdapter.1.1.17\build\_common\es\Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll C:\agent\_work\1\s\MVC5\packages\MSTest.TestAdapter.1.1.17\build\_common\pl\Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll C:\agent\_work\1\s\MVC5\packages\MSTest.TestAdapter.1.1.17\build\_common\es\Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll C:\agent\_work\1\s\MVC5\packages\MSTest.TestAdapter.1.1.17\build\_common\fr\Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll C:\agent\_work\1\s\MVC5\packages\MSTest.TestAdapter.1.1.17\build\_common\fr\Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll C:\agent\_work\1\s\MVC5\packages\MSTest.TestAdapter.1.1.17\build\_common\it\Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll C:\agent\_work\1\s\MVC5\packages\MSTest.TestAdapter.1.1.17\build\_common\it\Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll C:\agent\_work\1\s\MVC5\packages\MSTest.TestAdapter.1.1.17\build\_common\it\Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll C:\agent\_work\1\s\MVC5\packages\MSTest.TestAdapter.1.1.17\build\_common\ja\Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll C:\agent\_work\1\s\MVC5\packages\MSTest.TestAdapter.1.1.17\build\_common\ja\Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll C:\agent\_work\1\s\MVC5\packages\MSTest.TestAdapter.1.1.17\build\_common\ja\Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll C:\agent\_work\1\s\MVC5\packages\MSTest.TestAdapter.1.1.17\build\_common\ko\Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll C:\agent\_work\1\s\MVC5\packages\MSTest.TestAdapter.1.1.17\build\_common\ko\Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll C:\agent\_work\1\s\MVC5\packages\MSTest.TestAdapter.1.1.17\build\_common\ko\Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll C:\agent\_work\1\s\MVC5\packages\MSTest.TestAdapter.1.1.17\build\_common\pl\Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll C:\agent\_work\1\s\MVC5\packages\MSTest.TestAdapter.1.1.17\build\_common\fr\Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll C:\agent\_work\1\s\MVC5\packages\MSTest.TestFramework.1.1.17\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll C:\agent\_work\1\s\MVC5\packages\MSTest.TestAdapter.1.1.17\build\_common\Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.dll. Make sure that installed test discoverers & executors, platform & framework version settings are appropriate and try again.
2017-11-28T09:54:37.0547894Z
2017-11-28T09:54:37.0700167Z
2017-11-28T09:54:37.6168898Z Information: Additionally, you can try specifying '/UseVsixExtensions' command if the test discoverer & executor is installed on the machine as vsix extensions and your installation supports vsix extensions. Example: vstest.console.exe myTests.dll /UseVsixExtensions:true
2017-11-28T09:54:37.6168898Z
2017-11-28T09:54:38.6066846Z ##[warning]No results found to publish.
2017-11-28T09:54:38.6066846Z ##[section]Finishing: Run Unit Tests
最佳答案
VSTS 中为 Visual Studio 测试提供的模板默认为 测试组件 参数为:
**\*test*.dll
!**\*TestAdapter.dll
!**\obj\**
**\*test*.dll
!**\*TestAdapter*.dll <--- changed
!**\*VisualStudio*.dll <--- added
!**\obj\**
关于visual-studio-2017 - VSTS : Test runner finds no tests,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47528936/
我想根据我使用的 visual studio 版本编译不同的东西,比如 #if VISUAL_STUDIO_VERSION > 2015 eventH?.Invoke(this, EventArgs.
在 Visual Studio 2010 中调试并将鼠标悬停在变量名称上时,我可以选择使用 3 种不同的内置可视化工具:文本、XML 和 HTML。 这是我所指的示例: 由于我越来越多地使用基于 JS
我将可视化编程语言理解为允许程序员在屏幕上操作图形(而不是文本)对象以构建功能的语言。 我在 C#、VB 等中看到的最接近的东西是 RAD 控件,但这只是组成 UI 和最简单的功能——甚至与语言本身无
我目前正在使用 Visual Studio 2015 来编程 ASP.NET Core 应用程序。我对安装 Visual Studio 2017 有以下疑问: 什么被认为是最佳实践和/或最干净的方法?
尝试从扩展和更新获取 Visual Studio 扩展时,出现以下错误:- 向 visualstudiogallery.msdn.microsoft.com/Services/VStudio/Exte
我已经开发了Windows服务,并且该服务正在我的帐户下在本地计算机上运行。当我尝试通过在Visual Studio 2008中将其作为一个过程附加该服务来调试该服务时,我得到“无法附加到该过程。 V
作为标准安装的一部分,Visual Studio Code 带有一个名为“Monokai Dimmed”的颜色主题。 有没有办法将它移植到 Visual Studio 2015?我检查了社区主题( h
Visual Studio Community Edition是否可以使用Visual Studio Online帐户上的存储库? 我一直为包含在Online帐户中的Visual Studio Onl
我正在使用文本可视化工具在 Visual Studio 中调试字符串变量。然而,似乎字符串中间的大部分不见了。这背后的原因是什么? 最佳答案 Visual Studio 中的 Text Visuali
我正在开始一个涉及使用多个 SDK 的新项目,包括: 英特尔凌动开发者 SDK 文本转语音 SDK(建议?) 某种网络摄像头和增强现实支持(建议?) 我目前有 2008,但我也可以安装 2010。是否
我想知道,如果我发送一个解决方案文件夹(它是用 visual studio C# 编写的),您可以在 visual studio for mac 中打开解决方案吗? 在visual studio 20
有没有办法在 Visual Studio Code 和 Visual Studio 中设置相同的快捷方式(而不必每次都手动更改它们)? 例如,我在 Visual Studio Code 中经常使用 A
我无法启用 实时可视化树 在 Visual Studio 2017 用于 UWP 应用程序 (C#)。这个工具在 VS2015 上工作,但在 VS2017 中从来没有为我工作过。它对我的 WPF 项目
我刚开始了解 Visual Studio Code。我想知道,我可以将 Visual Studio 替换为所有 .NET 开发相关的工作吗? 我可以节省 Visual Studio 许可的成本吗? V
我安装了具有有效许可证(Visual Studio 订阅)的 Visual Studio 2019 企业版(VS 2019 16.1.4),它运行良好。 突然之间,当我尝试打开项目或项目中的任何文件时
Visual Studio 2015 Pro 提供以下 错误 : error BC36716: Visual Basic 9.0 does not support implicit line cont
我正在我的 PC 中使用 .net Framework 2.0 和 Visual C#(Microsoft Visual Studio 2008)开发 Windows 应用程序。 完成我的项目后,我必
有什么方法可以在启动 VS 时禁用 VA X 并仅在需要时将其重新打开?因为它会导致一些滞后。我似乎在 VS 的选项或 VA 的选项中都找不到该选项。 最佳答案 持shift在 Visual Stud
我可以将 Visual Studio 命令提示符 与免费的 Visual C# Express 一起使用吗? Visual Studio 命令提示符 被引用 here : Run 'Visual St
这很容易成为 Visual Studio 历史上最烦人的“功能”之一,我不明白它为什么存在 -- 曾经 . 为什么 CodePlex 项目需要关心我使用的是什么版本的 Visual Studio? 在
我是一名优秀的程序员,十分优秀!