Today I upgraded VS 2017 to 15.4.5 and it stopped discovering any tests in any of my projects/solutions.
[12/4/2017 16:26:36 Informational] PowerShellTestContainerDiscoverer Constructor Entering
[12/4/2017 16:26:38 Error] c:\Temp\VisualStudioTestExplorerExtensions\MSTest.TestAdapter.1.2.0/build/_common/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.dll
[12/4/2017 16:26:39 Informational] ------ Load Playlist started ------
[12/4/2017 16:26:39 Informational] ========== Load Playlist finished (0:00:00.0039993) ==========
[12/4/2017 16:26:40 Informational] PowerShellTestContainerDiscoverer:OnTestContainersChanged - FindPs1Files
[12/4/2017 16:26:40 Informational] PowerShellTestContainerDiscoverer:IsTestFile - D:\Projects\UPP.Calc.Workflow\FunctionalTests.runsettings
[12/4/2017 16:26:40 Informational] PowerShellTestContainerDiscoverer:IsTestFile - D:\Projects\UPP.Calc.Workflow\NuGet.config
[12/4/2017 16:26:40 Informational] PowerShellTestContainerDiscoverer:IsTestFile - D:\Projects\UPP.Calc.Workflow\SharedAssemblyInfo.cs
[12/4/2017 16:26:40 Informational] PowerShellTestContainerDiscoverer:IsTestFile - D:\Projects\UPP.Calc.Workflow\UnitTests.runsettings
[12/4/2017 16:26:40 Informational] PowerShellTestContainerDiscoverer:OnTestContainersChanged - FindPs1Files
[12/4/2017 16:26:40 Informational] PowerShellTestContainerDiscoverer:IsTestFile - d:\projects\upp.calc.workflow\webjobs\properties\
[12/4/2017 16:26:40 Informational] PowerShellTestContainerDiscoverer:IsTestFile - d:\projects\upp.calc.workflow\webjobs\properties\assemblyinfo.cs
[12/4/2017 16:26:40 Informational] PowerShellTestContainerDiscoverer:IsTestFile - d:\projects\upp.calc.workflow\sharedassemblyinfo.cs
[12/4/2017 16:26:40 Informational] PowerShellTestContainerDiscoverer:IsTestFile - d:\projects\upp.calc.workflow\webjobs\properties\webjob-publish-settings.json
[12/4/2017 16:26:40 Informational] PowerShellTestContainerDiscoverer:IsTestFile -
[12/4/2017 16:26:41 Informational] PowerShellTestContainerDiscoverer:IsTestFile - d:\projects\upp.calc.workflow\api.functionaltests\controllers\
[12/4/2017 16:26:41 Informational] PowerShellTestContainerDiscoverer:IsTestFile - d:\projects\upp.calc.workflow\api.functionaltests\controllers\pingcontrollertest.cs
[12/4/2017 16:26:41 Informational] PowerShellTestContainerDiscoverer:IsTestFile - d:\projects\upp.calc.workflow\api.functionaltests\app.config
[12/4/2017 16:26:41 Informational] PowerShellTestContainerDiscoverer:IsTestFile - d:\projects\upp.calc.workflow\api.functionaltests\packages.config
[12/4/2017 16:26:41 Informational] PowerShellTestContainerDiscoverer:IsTestFile - d:\projects\upp.calc.workflow\api.functionaltests\testinitializer.cs
[12/4/2017 16:26:41 Informational] PowerShellTestContainerDiscoverer:OnTestContainersChanged - FindPs1Files
[12/4/2017 16:26:41 Informational] ------ Discover test started ------
[12/4/2017 16:26:44 Informational] ========== Discover test finished: 0 found (0:00:02.668585) ==========
Packages:
<package id="MSTest.TestAdapter" version="1.2.0" targetFramework="net462" />
<package id="MSTest.TestFramework" version="1.2.0" targetFramework="net462" />
IDE:
Microsoft Visual Studio Enterprise 2017
Version 15.4.5
VisualStudio.15.Release/15.4.5+27004.2010
Microsoft .NET Framework
Version 4.7.02556
Can you turn on the following diagnostic logs and share them here please:
Let me try. Small addition: it's %ProgramFiles(x86).
Here's what I got. Sorry for a long copy/paste, posting it in full since I didn't find the meaningful part:
I, 712, 1, 2017/12/05, 13:11:49.373, 265560495563, vstest.discoveryengine.x86.exe, ServiceMain: Starting the agent
I, 712, 1, 2017/12/05, 13:11:49.377, 265560498999, vstest.discoveryengine.x86.exe, ServiceMain: Parent process Id is 9084
E, 712, 1, 2017/12/05, 13:11:49.378, 265560499762, vstest.discoveryengine.x86.exe, ServiceMain: SetParentExitedHandler: Setting parent exit handler.
V, 712, 1, 2017/12/05, 13:11:49.486, 265560870350, vstest.discoveryengine.x86.exe, TestPlatformDataCollectorDiscovery.GetDataCollectorPluginDirectory: Can not find plugin directory realtive to main module assembly location.
V, 712, 1, 2017/12/05, 13:11:49.494, 265560895242, vstest.discoveryengine.x86.exe, TestPlatformDataCollectorDiscovery.GetDataCollectorPluginDirectory: Using plugin directory 'C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\PrivateAssemblies\DataCollectors' relative to directory location in registry.
I, 712, 1, 2017/12/05, 13:11:49.504, 265560929127, vstest.discoveryengine.x86.exe, ServiceMain: Created server Uri net.pipe://alexbat-z4/vstest.discoveryengine/712
I, 712, 1, 2017/12/05, 13:11:49.521, 265560989129, vstest.discoveryengine.x86.exe, ServiceMain: Opened the service host net.pipe://alexbat-z4/vstest.discoveryengine/712
I, 712, 1, 2017/12/05, 13:11:49.521, 265560989234, vstest.discoveryengine.x86.exe, ServiceMain: Started the service host 712
V, 712, 10, 2017/12/05, 13:11:49.554, 265561099486, vstest.discoveryengine.x86.exe, TestPluginCache: Updating loadOnlyWellKnownExtensions from False to False.
V, 712, 10, 2017/12/05, 13:11:49.555, 265561104939, vstest.discoveryengine.x86.exe, TestPluginCache: Using directories for assembly resolution 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\ENTERPRISE\COMMON7\IDE\EXTENSIONS\0VV0KIA1.I0J'.
V, 712, 10, 2017/12/05, 13:11:49.555, 265561106093, vstest.discoveryengine.x86.exe, TestPluginCache: Updated the available extensions to 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\ENTERPRISE\COMMON7\IDE\EXTENSIONS\0VV0KIA1.I0J\PowerShellTools.TestAdapter.dll'.
V, 712, 10, 2017/12/05, 13:11:49.556, 265561106574, vstest.discoveryengine.x86.exe, WcfTestRunnerService: Queued a thread to load discoverers/create callback connection/update the data collector cache.
V, 712, 15, 2017/12/05, 13:11:49.557, 265561110637, vstest.discoveryengine.x86.exe, WcfTestRunnerService: Loading the extensions
V, 712, 15, 2017/12/05, 13:11:49.575, 265561171584, vstest.discoveryengine.x86.exe, TestPluginCache: Creating the plugin discoverer.
V, 712, 15, 2017/12/05, 13:11:49.575, 265561173016, vstest.discoveryengine.x86.exe, TestPluginCache: Discovering the extensions using extension path.
I, 712, 15, 2017/12/05, 13:11:49.627, 265561349036, vstest.discoveryengine.x86.exe, AssemblyResolver: PowerShellTools.TestAdapter: Resolving assembly.
I, 712, 15, 2017/12/05, 13:11:49.652, 265561433848, vstest.discoveryengine.x86.exe, AssemblyResolver: PowerShellTools.TestAdapter: Resolved assembly.
V, 712, 15, 2017/12/05, 13:11:49.692, 265561572859, vstest.discoveryengine.x86.exe, TestPluginCache: Discovered the extensions using extension path 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\ENTERPRISE\COMMON7\IDE\EXTENSIONS\0VV0KIA1.I0J\PowerShellTools.TestAdapter.dll'.
V, 712, 15, 2017/12/05, 13:11:49.693, 265561575641, vstest.discoveryengine.x86.exe, TestPluginCache: Discoverers are 'Microsoft.VisualStudio.TestPlatform.Extensions.CodedWebTestAdapter.CodedWebTestDiscoverer, Microsoft.VisualStudio.TestPlatform.Extensions.CodedWebTestAdapter, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a,Microsoft.VisualStudio.TestPlatform.Extensions.GenericTestAdapter.GenericTestDiscoverer, Microsoft.VisualStudio.TestPlatform.Extensions.GenericTestAdapter, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a,Microsoft.VisualStudio.TestPlatform.Extensions.MSAppContainerAdapter.MSAppContainerTestDiscoverer, Microsoft.VisualStudio.TestPlatform.Extensions.MSAppContainerAdapter, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a,Microsoft.VisualStudio.TestPlatform.Extensions.OrderedTestAdapter.OrderedTestDiscoverer, Microsoft.VisualStudio.TestPlatform.Extensions.OrderedTestAdapter, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a,Microsoft.VisualStudio.TestPlatform.Extensions.VSTestIntegration.MSTestDiscoverer, Microsoft.VisualStudio.TestPlatform.Extensions.VSTestIntegration, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a,Microsoft.VisualStudio.TestPlatform.Extensions.WebTestAdapter.WebTestDiscoverer, Microsoft.VisualStudio.TestPlatform.Extensions.WebTestAdapter, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a,PowerShellTools.TestAdapter.PowerShellTestDiscoverer, PowerShellTools.TestAdapter, Version=3.0.585.0, Culture=neutral, PublicKeyToken=32cd18849a3a99f8'.
V, 712, 15, 2017/12/05, 13:11:49.693, 265561575896, vstest.discoveryengine.x86.exe, TestPluginCache: Executors are 'executor://CodedWebTestAdapter/v1,executor://GenericTestAdapter/v1,executor://MSAppContainerTestAdapter/v1,executor://uapexecutoridentifier/,executor://OrderedTestAdapter/v1,executor://MSTestAdapter/v1,executor://WebTestAdapter/v1,executor://PowerShellTestExecutor/v1'.
V, 712, 15, 2017/12/05, 13:11:49.693, 265561575980, vstest.discoveryengine.x86.exe, TestPluginCache: Setting providers are 'DataCollectionRunSettings,RunConfiguration,MSAppContainerTest,MSTest'.
V, 712, 15, 2017/12/05, 13:11:49.693, 265561576032, vstest.discoveryengine.x86.exe, TestPluginCache: Loggers are 'logger://Microsoft/TestPlatform/ConsoleLogger/v1,logger://Microsoft/TestPlatform/TfsLogger/v1,logger://Microsoft/TeamFoundation/TimelineLogger,logger://Microsoft/TestPlatform/TrxLogger/v1'.
I, 712, 15, 2017/12/05, 13:11:49.697, 265561589799, vstest.discoveryengine.x86.exe, TestPluginManager.CreateTestExtension: Attempting to load test extension: Microsoft.VisualStudio.TestPlatform.Extensions.CodedWebTestAdapter.CodedWebTestDiscoverer
V, 712, 15, 2017/12/05, 13:11:49.697, 265561590199, vstest.discoveryengine.x86.exe, TestDiscoveryManager: LoadExtensions: Created discoverer Microsoft.VisualStudio.TestPlatform.Extensions.CodedWebTestAdapter.CodedWebTestDiscoverer
I, 712, 15, 2017/12/05, 13:11:49.698, 265561590507, vstest.discoveryengine.x86.exe, TestPluginManager.CreateTestExtension: Attempting to load test extension: Microsoft.VisualStudio.TestPlatform.Extensions.GenericTestAdapter.GenericTestDiscoverer
V, 712, 15, 2017/12/05, 13:11:49.698, 265561590858, vstest.discoveryengine.x86.exe, TestDiscoveryManager: LoadExtensions: Created discoverer Microsoft.VisualStudio.TestPlatform.Extensions.GenericTestAdapter.GenericTestDiscoverer
I, 712, 15, 2017/12/05, 13:11:49.698, 265561591107, vstest.discoveryengine.x86.exe, TestPluginManager.CreateTestExtension: Attempting to load test extension: Microsoft.VisualStudio.TestPlatform.Extensions.MSAppContainerAdapter.MSAppContainerTestDiscoverer
V, 712, 15, 2017/12/05, 13:11:49.698, 265561591535, vstest.discoveryengine.x86.exe, TestDiscoveryManager: LoadExtensions: Created discoverer Microsoft.VisualStudio.TestPlatform.Extensions.MSAppContainerAdapter.MSAppContainerTestDiscoverer
I, 712, 15, 2017/12/05, 13:11:49.698, 265561591756, vstest.discoveryengine.x86.exe, TestPluginManager.CreateTestExtension: Attempting to load test extension: Microsoft.VisualStudio.TestPlatform.Extensions.OrderedTestAdapter.OrderedTestDiscoverer
V, 712, 15, 2017/12/05, 13:11:49.698, 265561592086, vstest.discoveryengine.x86.exe, TestDiscoveryManager: LoadExtensions: Created discoverer Microsoft.VisualStudio.TestPlatform.Extensions.OrderedTestAdapter.OrderedTestDiscoverer
I, 712, 15, 2017/12/05, 13:11:49.698, 265561592334, vstest.discoveryengine.x86.exe, TestPluginManager.CreateTestExtension: Attempting to load test extension: Microsoft.VisualStudio.TestPlatform.Extensions.VSTestIntegration.MSTestDiscoverer
V, 712, 15, 2017/12/05, 13:11:49.698, 265561592781, vstest.discoveryengine.x86.exe, TestDiscoveryManager: LoadExtensions: Created discoverer Microsoft.VisualStudio.TestPlatform.Extensions.VSTestIntegration.MSTestDiscoverer
I, 712, 15, 2017/12/05, 13:11:49.698, 265561593004, vstest.discoveryengine.x86.exe, TestPluginManager.CreateTestExtension: Attempting to load test extension: Microsoft.VisualStudio.TestPlatform.Extensions.WebTestAdapter.WebTestDiscoverer
V, 712, 15, 2017/12/05, 13:11:49.698, 265561593445, vstest.discoveryengine.x86.exe, TestDiscoveryManager: LoadExtensions: Created discoverer Microsoft.VisualStudio.TestPlatform.Extensions.WebTestAdapter.WebTestDiscoverer
I, 712, 9, 2017/12/05, 13:11:49.699, 265561595597, vstest.discoveryengine.x86.exe, TestPluginManager.CreateTestExtension: Attempting to load test extension: Microsoft.VisualStudio.TestPlatform.Extensions.RunConfigurationSettingsProvider
I, 712, 16, 2017/12/05, 13:11:49.703, 265561610210, vstest.discoveryengine.x86.exe, TestDiscoveryManager.DoDiscovery: Background test discovery started.
I, 712, 16, 2017/12/05, 13:11:49.709, 265561629974, vstest.discoveryengine.x86.exe, AssemblyResolver: Microsoft.VisualStudio.TestPlatform.Utilities.PhoneAppContainer, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a: Resolving assembly.
I, 712, 16, 2017/12/05, 13:11:49.709, 265561630294, vstest.discoveryengine.x86.exe, AssemblyResolver: Microsoft.VisualStudio.TestPlatform.Utilities.PhoneAppContainer, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a: Resolving assembly.
V, 712, 16, 2017/12/05, 13:11:49.710, 265561632252, vstest.discoveryengine.x86.exe, TestExtensionResolver:Resolving assembly 'Microsoft.VisualStudio.TestPlatform.Utilities.PhoneAppContainer, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
V, 712, 16, 2017/12/05, 13:11:49.710, 265561633042, vstest.discoveryengine.x86.exe, TestExtensionResolver: Failed to load the assembly 'Microsoft.VisualStudio.TestPlatform.Utilities.PhoneAppContainer, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
I, 712, 16, 2017/12/05, 13:11:49.710, 265561633571, vstest.discoveryengine.x86.exe, AssemblyResolver: Microsoft.VisualStudio.TestPlatform.Utilities.PhoneAppContainer, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a: Resolving assembly.
I, 712, 16, 2017/12/05, 13:11:49.710, 265561633838, vstest.discoveryengine.x86.exe, AssemblyResolver: Microsoft.VisualStudio.TestPlatform.Utilities.PhoneAppContainer, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a: Resolving assembly.
V, 712, 16, 2017/12/05, 13:11:49.711, 265561634849, vstest.discoveryengine.x86.exe, TestExtensionResolver:Resolving assembly 'Microsoft.VisualStudio.TestPlatform.Utilities.PhoneAppContainer, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
V, 712, 16, 2017/12/05, 13:11:49.711, 265561635644, vstest.discoveryengine.x86.exe, TestExtensionResolver: Failed to load the assembly 'Microsoft.VisualStudio.TestPlatform.Utilities.PhoneAppContainer, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
I, 712, 16, 2017/12/05, 13:11:49.711, 265561636666, vstest.discoveryengine.x86.exe, TestDiscoveryManager: Discovering tests from sources D:\Projects\UPP.Calc.Rules\Api.Client.UnitTests\bin\Release\Microsoft.UPP.Calc.Rules.Api.Client.UnitTests.dll,D:\Projects\UPP.Calc.Rules\Api.Client\bin\Release\Microsoft.UPP.Calc.Rules.Api.Client.dll,D:\Projects\UPP.Calc.Rules\Api.FunctionalTests\bin\Release\Microsoft.UPP.Calc.Rules.Api.FunctionalTests.dll,D:\Projects\UPP.Calc.Rules\Api.Models\bin\Release\Microsoft.UPP.Calc.Rules.Api.Models.dll,D:\Projects\UPP.Calc.Rules\Api.Services.UnitTests\bin\Release\Microsoft.UPP.Calc.Rules.Api.Services.UnitTests.dll,D:\Projects\UPP.Calc.Rules\Api.Services\bin\Release\Microsoft.UPP.Calc.Rules.Api.Services.dll,D:\Projects\UPP.Calc.Rules\Api.UnitTests\bin\Release\Microsoft.UPP.Calc.Rules.Api.UnitTests.dll,D:\Projects\UPP.Calc.Rules\Api\bin\Microsoft.UPP.Calc.Rules.Api.dll,D:\Projects\UPP.Calc.Rules\Contracts\bin\Release\Microsoft.UPP.Calc.Rules.Contracts.dll,D:\Projects\UPP.Calc.Rules\ProgramRules.Publisher.UnitTests\bin\Release\Microsoft.UPP.Calc.Rules.ProgramRules.Publisher.UnitTests.dll,D:\Projects\UPP.Calc.Rules\ProgramRules.Publisher\bin\Release\ProgramRulesPublisher.exe,D:\Projects\UPP.Calc.Rules\ProgramRules\bin\Release\Microsoft.UPP.Calc.Rules.ProgramRules.dll,D:\Projects\UPP.Calc.Rules\RuleBuilder.FunctionalTests\bin\Release\Microsoft.UPP.Calc.Rules.RulesBuilder.FunctionalTests.dll,D:\Projects\UPP.Calc.Rules\RuleBuilder.PerformanceTests\bin\Release\Microsoft.UPP.Calc.Rules.RuleBuilder.PerformanceTests.dll,D:\Projects\UPP.Calc.Rules\RuleBuilder.UnitTests\bin\Release\Microsoft.UPP.Calc.Rules.RulesBuilder.UnitTests.dll,D:\Projects\UPP.Calc.Rules\RuleBuilder\bin\Release\Microsoft.UPP.Calc.Rules.RuleBuilder.dll,D:\Projects\UPP.Calc.Rules\Tests.Shared\bin\Release\Microsoft.UPP.Calc.Rules.Tests.Shared.dll
I, 712, 15, 2017/12/05, 13:11:49.739, 265561732766, vstest.discoveryengine.x86.exe, AssemblyResolver: PowerShellTools.TestAdapter, Version=3.0.585.0, Culture=neutral, PublicKeyToken=32cd18849a3a99f8: Resolving assembly.
I, 712, 15, 2017/12/05, 13:11:49.740, 265561734612, vstest.discoveryengine.x86.exe, AssemblyResolver: PowerShellTools.TestAdapter, Version=3.0.585.0, Culture=neutral, PublicKeyToken=32cd18849a3a99f8: Resolved assembly.
I, 712, 15, 2017/12/05, 13:11:49.740, 265561734865, vstest.discoveryengine.x86.exe, TestPluginManager.CreateTestExtension: Attempting to load test extension: PowerShellTools.TestAdapter.PowerShellTestDiscoverer
V, 712, 15, 2017/12/05, 13:11:49.740, 265561735187, vstest.discoveryengine.x86.exe, TestDiscoveryManager: LoadExtensions: Created discoverer PowerShellTools.TestAdapter.PowerShellTestDiscoverer
I, 712, 15, 2017/12/05, 13:11:49.740, 265561735266, vstest.discoveryengine.x86.exe, WcfTestRunnerService: Loaded the extensions
I, 712, 16, 2017/12/05, 13:11:49.742, 265561741434, vstest.discoveryengine.x86.exe, TestDiscoveryManager.RunMessage: calling TestRunMessage(Informational, TelemetryTimeToLoadAdaptersInSec0.0271604) callback.
V, 712, 15, 2017/12/05, 13:11:49.777, 265561860934, vstest.discoveryengine.x86.exe, TestPlatformDataCollectorCache.ForceCacheUpdate: Performing data collector discovery.
V, 712, 16, 2017/12/05, 13:11:49.846, 265562095367, vstest.discoveryengine.x86.exe, DiscoveryContext.LoadTests: Loading tests for Microsoft.VisualStudio.TestPlatform.Extensions.CodedWebTestAdapter.CodedWebTestDiscoverer
I, 712, 16, 2017/12/05, 13:11:49.857, 265562135272, vstest.discoveryengine.x86.exe, TmiBridge: Setting an environment variable __UNITTESTEXPLORER_VSINSTALLPATH__ to value C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE
V, 712, 16, 2017/12/05, 13:11:49.872, 265562185550, vstest.discoveryengine.x86.exe, CodedWebTestAdapter: PruningSources: Ignored source D:\Projects\UPP.Calc.Rules\Api.Client.UnitTests\bin\Release\Microsoft.UPP.Calc.Rules.Api.Client.UnitTests.dll as it does not refer to CodedWebTestFramework dll.
V, 712, 16, 2017/12/05, 13:11:49.882, 265562218182, vstest.discoveryengine.x86.exe, CodedWebTestAdapter: PruningSources: Ignored source D:\Projects\UPP.Calc.Rules\Api.Client\bin\Release\Microsoft.UPP.Calc.Rules.Api.Client.dll as it does not refer to CodedWebTestFramework dll.
V, 712, 16, 2017/12/05, 13:11:49.888, 265562240479, vstest.discoveryengine.x86.exe, CodedWebTestAdapter: PruningSources: Ignored source D:\Projects\UPP.Calc.Rules\Api.FunctionalTests\bin\Release\Microsoft.UPP.Calc.Rules.Api.FunctionalTests.dll as it does not refer to CodedWebTestFramework dll.
V, 712, 16, 2017/12/05, 13:11:49.894, 265562260547, vstest.discoveryengine.x86.exe, CodedWebTestAdapter: PruningSources: Ignored source D:\Projects\UPP.Calc.Rules\Api.Models\bin\Release\Microsoft.UPP.Calc.Rules.Api.Models.dll as it does not refer to CodedWebTestFramework dll.
V, 712, 16, 2017/12/05, 13:11:49.900, 265562280906, vstest.discoveryengine.x86.exe, CodedWebTestAdapter: PruningSources: Ignored source D:\Projects\UPP.Calc.Rules\Api.Services.UnitTests\bin\Release\Microsoft.UPP.Calc.Rules.Api.Services.UnitTests.dll as it does not refer to CodedWebTestFramework dll.
V, 712, 16, 2017/12/05, 13:11:49.906, 265562301820, vstest.discoveryengine.x86.exe, CodedWebTestAdapter: PruningSources: Ignored source D:\Projects\UPP.Calc.Rules\Api.Services\bin\Release\Microsoft.UPP.Calc.Rules.Api.Services.dll as it does not refer to CodedWebTestFramework dll.
V, 712, 16, 2017/12/05, 13:11:49.912, 265562322228, vstest.discoveryengine.x86.exe, CodedWebTestAdapter: PruningSources: Ignored source D:\Projects\UPP.Calc.Rules\Api.UnitTests\bin\Release\Microsoft.UPP.Calc.Rules.Api.UnitTests.dll as it does not refer to CodedWebTestFramework dll.
V, 712, 16, 2017/12/05, 13:11:49.918, 265562342672, vstest.discoveryengine.x86.exe, CodedWebTestAdapter: PruningSources: Ignored source D:\Projects\UPP.Calc.Rules\Api\bin\Microsoft.UPP.Calc.Rules.Api.dll as it does not refer to CodedWebTestFramework dll.
V, 712, 16, 2017/12/05, 13:11:49.924, 265562362869, vstest.discoveryengine.x86.exe, CodedWebTestAdapter: PruningSources: Ignored source D:\Projects\UPP.Calc.Rules\Contracts\bin\Release\Microsoft.UPP.Calc.Rules.Contracts.dll as it does not refer to CodedWebTestFramework dll.
V, 712, 16, 2017/12/05, 13:11:49.934, 265562396643, vstest.discoveryengine.x86.exe, CodedWebTestAdapter: PruningSources: Ignored source D:\Projects\UPP.Calc.Rules\ProgramRules.Publisher.UnitTests\bin\Release\Microsoft.UPP.Calc.Rules.ProgramRules.Publisher.UnitTests.dll as it does not refer to CodedWebTestFramework dll.
V, 712, 16, 2017/12/05, 13:11:49.940, 265562418038, vstest.discoveryengine.x86.exe, CodedWebTestAdapter: PruningSources: Ignored source D:\Projects\UPP.Calc.Rules\ProgramRules.Publisher\bin\Release\ProgramRulesPublisher.exe as it does not refer to CodedWebTestFramework dll.
V, 712, 15, 2017/12/05, 13:11:49.943, 265562426734, vstest.discoveryengine.x86.exe, TestPlatformDataCollectorDiscovery.GetDataCollectorPluginDirectory: Can not find plugin directory realtive to main module assembly location.
V, 712, 15, 2017/12/05, 13:11:49.945, 265562432744, vstest.discoveryengine.x86.exe, TestPlatformDataCollectorDiscovery.GetDataCollectorPluginDirectory: Using plugin directory 'C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\PrivateAssemblies\DataCollectors' relative to directory location in registry.
V, 712, 16, 2017/12/05, 13:11:49.946, 265562438007, vstest.discoveryengine.x86.exe, CodedWebTestAdapter: PruningSources: Ignored source D:\Projects\UPP.Calc.Rules\ProgramRules\bin\Release\Microsoft.UPP.Calc.Rules.ProgramRules.dll as it does not refer to CodedWebTestFramework dll.
V, 712, 16, 2017/12/05, 13:11:49.952, 265562459123, vstest.discoveryengine.x86.exe, CodedWebTestAdapter: PruningSources: Ignored source D:\Projects\UPP.Calc.Rules\RuleBuilder.FunctionalTests\bin\Release\Microsoft.UPP.Calc.Rules.RulesBuilder.FunctionalTests.dll as it does not refer to CodedWebTestFramework dll.
V, 712, 16, 2017/12/05, 13:11:49.958, 265562479589, vstest.discoveryengine.x86.exe, CodedWebTestAdapter: PruningSources: Ignored source D:\Projects\UPP.Calc.Rules\RuleBuilder.PerformanceTests\bin\Release\Microsoft.UPP.Calc.Rules.RuleBuilder.PerformanceTests.dll as it does not refer to CodedWebTestFramework dll.
V, 712, 16, 2017/12/05, 13:11:49.964, 265562500137, vstest.discoveryengine.x86.exe, CodedWebTestAdapter: PruningSources: Ignored source D:\Projects\UPP.Calc.Rules\RuleBuilder.UnitTests\bin\Release\Microsoft.UPP.Calc.Rules.RulesBuilder.UnitTests.dll as it does not refer to CodedWebTestFramework dll.
V, 712, 16, 2017/12/05, 13:11:49.970, 265562520006, vstest.discoveryengine.x86.exe, CodedWebTestAdapter: PruningSources: Ignored source D:\Projects\UPP.Calc.Rules\RuleBuilder\bin\Release\Microsoft.UPP.Calc.Rules.RuleBuilder.dll as it does not refer to CodedWebTestFramework dll.
V, 712, 16, 2017/12/05, 13:11:49.976, 265562540317, vstest.discoveryengine.x86.exe, CodedWebTestAdapter: PruningSources: Ignored source D:\Projects\UPP.Calc.Rules\Tests.Shared\bin\Release\Microsoft.UPP.Calc.Rules.Tests.Shared.dll as it does not refer to CodedWebTestFramework dll.
V, 712, 16, 2017/12/05, 13:11:49.976, 265562540442, vstest.discoveryengine.x86.exe, CodedWebTestDiscoverer: No coded web tests were found in the provided sources D:\Projects\UPP.Calc.Rules\Api.Client.UnitTests\bin\Release\Microsoft.UPP.Calc.Rules.Api.Client.UnitTests.dll, D:\Projects\UPP.Calc.Rules\Api.Client\bin\Release\Microsoft.UPP.Calc.Rules.Api.Client.dll, D:\Projects\UPP.Calc.Rules\Api.FunctionalTests\bin\Release\Microsoft.UPP.Calc.Rules.Api.FunctionalTests.dll, D:\Projects\UPP.Calc.Rules\Api.Models\bin\Release\Microsoft.UPP.Calc.Rules.Api.Models.dll, D:\Projects\UPP.Calc.Rules\Api.Services.UnitTests\bin\Release\Microsoft.UPP.Calc.Rules.Api.Services.UnitTests.dll, D:\Projects\UPP.Calc.Rules\Api.Services\bin\Release\Microsoft.UPP.Calc.Rules.Api.Services.dll, D:\Projects\UPP.Calc.Rules\Api.UnitTests\bin\Release\Microsoft.UPP.Calc.Rules.Api.UnitTests.dll, D:\Projects\UPP.Calc.Rules\Api\bin\Microsoft.UPP.Calc.Rules.Api.dll, D:\Projects\UPP.Calc.Rules\Contracts\bin\Release\Microsoft.UPP.Calc.Rules.Contracts.dll, D:\Projects\UPP.Calc.Rules\ProgramRules.Publisher.UnitTests\bin\Release\Microsoft.UPP.Calc.Rules.ProgramRules.Publisher.UnitTests.dll, D:\Projects\UPP.Calc.Rules\ProgramRules.Publisher\bin\Release\ProgramRulesPublisher.exe, D:\Projects\UPP.Calc.Rules\ProgramRules\bin\Release\Microsoft.UPP.Calc.Rules.ProgramRules.dll, D:\Projects\UPP.Calc.Rules\RuleBuilder.FunctionalTests\bin\Release\Microsoft.UPP.Calc.Rules.RulesBuilder.FunctionalTests.dll, D:\Projects\UPP.Calc.Rules\RuleBuilder.PerformanceTests\bin\Release\Microsoft.UPP.Calc.Rules.RuleBuilder.PerformanceTests.dll, D:\Projects\UPP.Calc.Rules\RuleBuilder.UnitTests\bin\Release\Microsoft.UPP.Calc.Rules.RulesBuilder.UnitTests.dll, D:\Projects\UPP.Calc.Rules\RuleBuilder\bin\Release\Microsoft.UPP.Calc.Rules.RuleBuilder.dll, D:\Projects\UPP.Calc.Rules\Tests.Shared\bin\Release\Microsoft.UPP.Calc.Rules.Tests.Shared.dll.
V, 712, 16, 2017/12/05, 13:11:49.977, 265562542233, vstest.discoveryengine.x86.exe, DiscoveryContext.LoadTests: Done loading tests for Microsoft.VisualStudio.TestPlatform.Extensions.CodedWebTestAdapter.CodedWebTestDiscoverer
V, 712, 16, 2017/12/05, 13:11:49.977, 265562542327, vstest.discoveryengine.x86.exe, DiscoveryContext.LoadTests: Loading tests for Microsoft.VisualStudio.TestPlatform.Extensions.MSAppContainerAdapter.MSAppContainerTestDiscoverer
V, 712, 15, 2017/12/05, 13:11:49.998, 265562619755, vstest.discoveryengine.x86.exe, TestPlatformDataCollectorDiscovery: Scanning for data collectors in 'Microsoft.IntelliTrace.ConfigUI.dll'
W, 712, 15, 2017/12/05, 13:11:50.043, 265562769147, vstest.discoveryengine.x86.exe, DataCollectorDiscovery: No configuration file found for data collector collector assembly Microsoft.IntelliTrace.ConfigUI, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a in all 2 locations
V, 712, 15, 2017/12/05, 13:11:50.044, 265562770829, vstest.discoveryengine.x86.exe, TestPlatformDataCollectorDiscovery: Scanning for data collectors in 'Microsoft.VisualStudio.PerformanceTools.DataCollection.dll'
V, 712, 15, 2017/12/05, 13:11:50.048, 265562787080, vstest.discoveryengine.x86.exe, DataCollectorDiscovery: using configuration file C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\PrivateAssemblies\DataCollectors\Microsoft.VisualStudio.PerformanceTools.DataCollection.dll.config.
V, 712, 16, 2017/12/05, 13:11:50.092, 265562936809, vstest.discoveryengine.x86.exe, DiscoveryContext.LoadTests: Done loading tests for Microsoft.VisualStudio.TestPlatform.Extensions.MSAppContainerAdapter.MSAppContainerTestDiscoverer
V, 712, 16, 2017/12/05, 13:11:50.092, 265562936923, vstest.discoveryengine.x86.exe, DiscoveryContext.LoadTests: Loading tests for Microsoft.VisualStudio.TestPlatform.Extensions.VSTestIntegration.MSTestDiscoverer
V, 712, 15, 2017/12/05, 13:11:50.196, 265563291124, vstest.discoveryengine.x86.exe, TestPlatformDataCollectorDiscovery: Scanning for data collectors in 'Microsoft.VisualStudio.PerformanceTools.DataCollection.Editor.dll'
V, 712, 16, 2017/12/05, 13:11:50.200, 265563304605, vstest.discoveryengine.x86.exe, DiscoveryContext.LoadTests: Done loading tests for Microsoft.VisualStudio.TestPlatform.Extensions.VSTestIntegration.MSTestDiscoverer
I, 712, 16, 2017/12/05, 13:11:50.200, 265563304943, vstest.discoveryengine.x86.exe, TestDiscoveryManager.RunMessage: calling TestRunMessage(Informational, TelemetryTimeToDiscoverAdaptersInSec,executor://codedwebtestadapter/v1,0.1309293,executor://msappcontainertestadapter/v1,0.1156398,executor://mstestadapter/v1,0.1077086) callback.
V, 712, 16, 2017/12/05, 13:11:50.202, 265563309250, vstest.discoveryengine.x86.exe, TestDiscoveryManager.DoDiscovery: Background Test Discovery complete.
V, 712, 16, 2017/12/05, 13:11:50.202, 265563309465, vstest.discoveryengine.x86.exe, TestDiscoveryManager.DiscoveryComplete: Calling DiscoveryComplete callback.
V, 712, 16, 2017/12/05, 13:11:50.205, 265563319299, vstest.discoveryengine.x86.exe, TestDiscoveryManager.DiscoveryComplete: Called DiscoveryComplete callback.
W, 712, 15, 2017/12/05, 13:11:50.203, 265563312903, vstest.discoveryengine.x86.exe, DataCollectorDiscovery: No configuration file found for data collector collector assembly Microsoft.VisualStudio.PerformanceTools.DataCollection.Editor, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a in all 2 locations
V, 712, 15, 2017/12/05, 13:11:50.206, 265563323579, vstest.discoveryengine.x86.exe, TestPlatformDataCollectorDiscovery: Scanning for data collectors in 'Microsoft.VisualStudio.QualityTools.Plugins.CodeCoverage.dll'
V, 712, 15, 2017/12/05, 13:11:50.209, 265563333891, vstest.discoveryengine.x86.exe, DataCollectorDiscovery: using configuration file C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\PrivateAssemblies\DataCollectors\Microsoft.VisualStudio.QualityTools.Plugins.CodeCoverage.dll.config.
V, 712, 15, 2017/12/05, 13:11:50.225, 265563390782, vstest.discoveryengine.x86.exe, TestPlatformDataCollectorDiscovery: Scanning for data collectors in 'Microsoft.VisualStudio.QualityTools.Plugins.ScreenCapture.dll'
V, 712, 15, 2017/12/05, 13:11:50.228, 265563398926, vstest.discoveryengine.x86.exe, DataCollectorDiscovery: using configuration file C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\PrivateAssemblies\DataCollectors\Microsoft.VisualStudio.QualityTools.Plugins.ScreenCapture.dll.config.
V, 712, 15, 2017/12/05, 13:11:50.236, 265563426592, vstest.discoveryengine.x86.exe, TestPlatformDataCollectorDiscovery: Scanning for data collectors in 'Microsoft.VisualStudio.QualityTools.VideoRecorderEngine.dll'
W, 712, 15, 2017/12/05, 13:11:50.259, 265563503502, vstest.discoveryengine.x86.exe, TestPlatformDataCollectorDiscovery: Failed to load file 'C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\PrivateAssemblies\DataCollectors\Microsoft.VisualStudio.QualityTools.VideoRecorderEngine.dll'. Skipping data collector scan for this file. Error: System.BadImageFormatException: Could not load file or assembly 'file:///C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\PrivateAssemblies\DataCollectors\Microsoft.VisualStudio.QualityTools.VideoRecorderEngine.dll' or one of its dependencies. The module was expected to contain an assembly manifest.
File name: 'file:///C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\PrivateAssemblies\DataCollectors\Microsoft.VisualStudio.QualityTools.VideoRecorderEngine.dll'
at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.InternalLoadFrom(String assemblyFile, Evidence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm, Boolean forIntrospection, Boolean suppressSecurityChecks, StackCrawlMark& stackMark)
at System.Reflection.Assembly.LoadFrom(String assemblyFile)
at Microsoft.VisualStudio.TestPlatform.TestRunnerService.DataCollectors.TestPlatformDataCollectorDiscovery.GetCollectorsFromFiles(String[] files, Dictionary`2 collectorInfoByName)
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
V, 712, 15, 2017/12/05, 13:11:50.259, 265563505100, vstest.discoveryengine.x86.exe, TestPlatformDataCollectorDiscovery: Scanning for data collectors in 'Microsoft.VisualStudio.TestTools.DataCollection.CodeCoverage.Editor.dll'
I, 712, 15, 2017/12/05, 13:11:50.264, 265563521638, vstest.discoveryengine.x86.exe, AssemblyResolver: Microsoft.VisualStudio.TestTools.TestSettings.Common, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a: Resolving assembly.
I, 712, 15, 2017/12/05, 13:11:50.267, 265563532486, vstest.discoveryengine.x86.exe, AssemblyResolver: Microsoft.VisualStudio.TestTools.TestSettings.Common, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a: Resolved assembly.
W, 712, 15, 2017/12/05, 13:11:50.271, 265563546849, vstest.discoveryengine.x86.exe, DataCollectorDiscovery: No configuration file found for data collector collector assembly Microsoft.VisualStudio.TestTools.DataCollection.CodeCoverage.Editor, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a in all 2 locations
V, 712, 15, 2017/12/05, 13:11:50.272, 265563548305, vstest.discoveryengine.x86.exe, TestPlatformDataCollectorDiscovery: Scanning for data collectors in 'Microsoft.VisualStudio.TestTools.DataCollection.EventLog.dll'
V, 712, 15, 2017/12/05, 13:11:50.274, 265563556674, vstest.discoveryengine.x86.exe, DataCollectorDiscovery: using configuration file C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\PrivateAssemblies\DataCollectors\Microsoft.VisualStudio.TestTools.DataCollection.EventLog.dll.config.
V, 712, 15, 2017/12/05, 13:11:50.281, 265563579243, vstest.discoveryengine.x86.exe, TestPlatformDataCollectorDiscovery: Scanning for data collectors in 'Microsoft.VisualStudio.TestTools.DataCollection.GenericCollector.Editor.dll'
W, 712, 15, 2017/12/05, 13:11:50.283, 265563587647, vstest.discoveryengine.x86.exe, DataCollectorDiscovery: No configuration file found for data collector collector assembly Microsoft.VisualStudio.TestTools.DataCollection.GenericCollector.Editor, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a in all 2 locations
V, 712, 15, 2017/12/05, 13:11:50.284, 265563589044, vstest.discoveryengine.x86.exe, TestPlatformDataCollectorDiscovery: Scanning for data collectors in 'Microsoft.VisualStudio.TestTools.DataCollection.NetworkEmulation.dll'
V, 712, 15, 2017/12/05, 13:11:50.286, 265563597311, vstest.discoveryengine.x86.exe, DataCollectorDiscovery: using configuration file C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\PrivateAssemblies\DataCollectors\Microsoft.VisualStudio.TestTools.DataCollection.NetworkEmulation.dll.config.
V, 712, 15, 2017/12/05, 13:11:50.292, 265563617989, vstest.discoveryengine.x86.exe, TestPlatformDataCollectorDiscovery: Scanning for data collectors in 'Microsoft.VisualStudio.TestTools.DataCollection.NetworkEmulation.Editor.dll'
W, 712, 15, 2017/12/05, 13:11:50.295, 265563626783, vstest.discoveryengine.x86.exe, DataCollectorDiscovery: No configuration file found for data collector collector assembly Microsoft.VisualStudio.TestTools.DataCollection.NetworkEmulation.Editor, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a in all 2 locations
V, 712, 15, 2017/12/05, 13:11:50.295, 265563628242, vstest.discoveryengine.x86.exe, TestPlatformDataCollectorDiscovery: Scanning for data collectors in 'Microsoft.VisualStudio.TestTools.DataCollection.SystemInfo.dll'
W, 712, 15, 2017/12/05, 13:11:50.297, 265563636278, vstest.discoveryengine.x86.exe, DataCollectorDiscovery: No configuration file found for data collector collector assembly Microsoft.VisualStudio.TestTools.DataCollection.SystemInfo, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a in all 2 locations
V, 712, 15, 2017/12/05, 13:11:50.298, 265563638708, vstest.discoveryengine.x86.exe, TestPlatformDataCollectorDiscovery: Scanning for data collectors in 'Microsoft.VisualStudio.TestTools.DataCollection.VideoRecorder.dll'
V, 712, 15, 2017/12/05, 13:11:50.303, 265563656366, vstest.discoveryengine.x86.exe, DataCollectorDiscovery: using configuration file C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\PrivateAssemblies\DataCollectors\Microsoft.VisualStudio.TestTools.DataCollection.VideoRecorder.dll.config.
V, 712, 15, 2017/12/05, 13:11:50.309, 265563677235, vstest.discoveryengine.x86.exe, TestPlatformDataCollectorDiscovery: Scanning for data collectors in 'Microsoft.VisualStudio.TestTools.ManualTest.ActionLog.ConfigUI.dll'
W, 712, 15, 2017/12/05, 13:11:50.314, 265563691965, vstest.discoveryengine.x86.exe, DataCollectorDiscovery: No configuration file found for data collector collector assembly Microsoft.VisualStudio.TestTools.ManualTest.ActionLog.ConfigUI, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a in all 2 locations
V, 712, 15, 2017/12/05, 13:11:50.314, 265563693416, vstest.discoveryengine.x86.exe, TestPlatformDataCollectorDiscovery: Scanning for data collectors in 'Microsoft.VisualStudio.TestTools.ManualTest.ActionLog.dll'
I, 712, 15, 2017/12/05, 13:11:50.318, 265563705998, vstest.discoveryengine.x86.exe, AssemblyResolver: Microsoft.VisualStudio.TestTools.UITest.Common, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a: Resolving assembly.
I, 712, 15, 2017/12/05, 13:11:50.319, 265563710054, vstest.discoveryengine.x86.exe, AssemblyResolver: Microsoft.VisualStudio.TestTools.UITest.Common, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a: Resolving assembly.
W, 712, 15, 2017/12/05, 13:11:50.321, 265563717616, vstest.discoveryengine.x86.exe, TestPlatformDataCollectorDiscovery: Failed to get types from assembly 'Microsoft.VisualStudio.TestTools.ManualTest.ActionLog, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Skipping data collector scan for this assembly. Error: System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
at System.Reflection.RuntimeModule.GetTypes()
at System.Reflection.Assembly.GetTypes()
at Microsoft.VisualStudio.TestPlatform.TestRunnerService.DataCollectors.TestPlatformDataCollectorDiscovery.GetCollectorsFromAssembly(Assembly assembly, Dictionary`2 collectorInfoByName)
V, 712, 15, 2017/12/05, 13:11:50.322, 265563719273, vstest.discoveryengine.x86.exe, TestPlatformDataCollectorDiscovery: Scanning for data collectors in 'Microsoft.VisualStudio.TraceCollector.dll'
I, 712, 15, 2017/12/05, 13:11:50.336, 265563767836, vstest.discoveryengine.x86.exe, AssemblyResolver: Microsoft.VisualStudio.ArchitectureTools.PEReader, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a: Resolving assembly.
I, 712, 15, 2017/12/05, 13:11:50.339, 265563777939, vstest.discoveryengine.x86.exe, AssemblyResolver: Microsoft.VisualStudio.ArchitectureTools.PEReader, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a: Resolved assembly.
I, 712, 15, 2017/12/05, 13:11:50.342, 265563789656, vstest.discoveryengine.x86.exe, AssemblyResolver: Microsoft.IntelliTrace.Core, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a: Resolving assembly.
I, 712, 15, 2017/12/05, 13:11:50.346, 265563802601, vstest.discoveryengine.x86.exe, AssemblyResolver: Microsoft.IntelliTrace.Core, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a: Resolved assembly.
V, 712, 15, 2017/12/05, 13:11:50.347, 265563804796, vstest.discoveryengine.x86.exe, DataCollectorDiscovery: using configuration file C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\PrivateAssemblies\DataCollectors\en\Microsoft.VisualStudio.TraceCollector.dll.config.
V, 712, 15, 2017/12/05, 13:11:50.366, 265563869425, vstest.discoveryengine.x86.exe, TestPlatformDataCollectorDiscovery: Scanning for data collectors in 'VSPerfControl.Interop.dll'
W, 712, 15, 2017/12/05, 13:11:50.369, 265563880784, vstest.discoveryengine.x86.exe, DataCollectorDiscovery: No configuration file found for data collector collector assembly VSPerfControl.Interop, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a in all 2 locations
V, 712, 15, 2017/12/05, 13:11:50.370, 265563882686, vstest.discoveryengine.x86.exe, TestPlatformDataCollectorDiscovery: Scanning for data collectors in 'VSTestVideoRecorder.exe'
V, 712, 15, 2017/12/05, 13:11:50.371, 265563887430, vstest.discoveryengine.x86.exe, DataCollectorDiscovery: using configuration file C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\PrivateAssemblies\DataCollectors\VSTestVideoRecorder.exe.config.
V, 712, 15, 2017/12/05, 13:11:50.400, 265563985452, vstest.discoveryengine.x86.exe, TestPlatformDataCollectorCache.ForceCacheUpdate: Done performing data collector discovery.
V, 712, 15, 2017/12/05, 13:11:50.400, 265563985581, vstest.discoveryengine.x86.exe, WcfTestRunnerService: Data collector cache is updated.
Can you please take a look and suggest what to do next?
also experiencing this, created an out of the box unit test project and can't discover tests.
[12/4/2017 16:26:38 Error] c:\Temp\VisualStudioTestExplorerExtensions\MSTest.TestAdapter.1.2.0/build/_common/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.dll
This seems to be an issue with adapter dll not getting loaded from appropriate location.
@abatishchev, @twilly86 : Can you guys try deleting this folder "c:\Temp\VisualStudioTestExplorerExtensions", restart VS and do discovery again?
If this still doesn't work, can you also try deleting "/packages" folder(containing all nuget packages required for that solution) which is created at solution level.
For me it has self-fixed but I cleared %temp% at some point of time
We are glad to hear that the issue got fixed. Please feel free to reopen this thread if you still face any problem.
Experiencing the same issue while running the mstest from command line.
mstest.exe /testcontainer:abc.dll
Says:
Microsoft (R) Test Execution Command Line Tool Version 15.0.27019.1
Copyright (c) Microsoft Corporation. All rights reserved.
Loading abc.dll...
Starting execution...
No tests to execute.
Clearing %temp% & package directory doesn't work for me.
@santoshaher11 : Running MSTestV2 tests is not supported with mstest.exe. Please use vstest.console.exe to run MSTestV2 based tests.
I seem to be having the same error even though MSTest is still finding my tests; some of them are simply failing for no reason, then the inner exception says System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.TestPlatform.Utilities, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.. Is this a separate issue, or does it have something to do with my code? The outer exception says that a type initializer for one of my classes threw an exception; this seems misleading because it basically implies that my type initializer failed because it was trying to access Microsoft.TestPlatform.Utilities, though I know for a fact that it doesn't even touch anything to do with unit testing.
Full test result:
Message: Test method Test1.DecoderTests.TestDecodeDate threw exception:
System.TypeInitializationException: The type initializer for 'Decoder.Client' threw an exception. ---> System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.TestPlatform.Utilities, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.
@TheFanatr : What is the target framework for your project (net46/netcore)? What are the versions of nuget packages that you are using? If possible, can you share a repro project with us?
Also, please provide us diagnostics logs for your scenario. This doc should help.
Should we reopen the issue since more people are coming with having it? Thanks.
I recently upgraded to MSTest 2.0 on a fresh install of VS2017.
Am experiencing same issue as OP.
I am experiencing the same issue.
Visual Studio Version: 15.5.3
Test Project: .Net 4.7.1
MSTest.TestAdapter: 1.2.0
MSTest.TestFramework: 1.2.0
I took a look at the error and the stack trace, neither provided much information, but the fusion log seems to give a little more detail of where the error is occurring. If you still need a repro, let me know
=== Pre-bind state information ===
LOG: DisplayName = Microsoft.VisualStudio.QualityTools.VideoRecorderEngine
(Partial)
WRN: Partial binding information was supplied for an assembly:
WRN: Assembly Name: Microsoft.VisualStudio.QualityTools.VideoRecorderEngine | Domain ID: 1
WRN: A partial bind occurs when only part of the assembly display name is provided.
WRN: This might result in the binder loading an incorrect assembly.
WRN: It is recommended to provide a fully specified textual identity for the assembly,
WRN: that consists of the simple name, version, culture, and public key token.
WRN: See whitepaper http://go.microsoft.com/fwlink/?LinkId=109270 for more information and common solutions to this issue.
LOG: Appbase = file:///C:/PROGRAM FILES (X86)/MICROSOFT VISUAL STUDIO/2017/PROFESSIONAL/COMMON7/IDE/EXTENSIONS/TESTPLATFORM/
LOG: Initial PrivatePath = NULL
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\PROFESSIONAL\COMMON7\IDE\EXTENSIONS\TESTPLATFORM\testhost.x86.exe.Config
LOG: Using host configuration file:
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Attempting download of new URL file:///C:/PROGRAM FILES (X86)/MICROSOFT VISUAL STUDIO/2017/PROFESSIONAL/COMMON7/IDE/EXTENSIONS/TESTPLATFORM/Microsoft.VisualStudio.QualityTools.VideoRecorderEngine.DLL.
LOG: Attempting download of new URL file:///C:/PROGRAM FILES (X86)/MICROSOFT VISUAL STUDIO/2017/PROFESSIONAL/COMMON7/IDE/EXTENSIONS/TESTPLATFORM/Microsoft.VisualStudio.QualityTools.VideoRecorderEngine/Microsoft.VisualStudio.QualityTools.VideoRecorderEngine.DLL.
LOG: Attempting download of new URL file:///C:/PROGRAM FILES (X86)/MICROSOFT VISUAL STUDIO/2017/PROFESSIONAL/COMMON7/IDE/EXTENSIONS/TESTPLATFORM/Extensions/Microsoft.VisualStudio.QualityTools.VideoRecorderEngine.DLL.
ERR: Failed to complete setup of assembly (hr = 0x80131018). Probing terminated.
I'm running VS 2017 Pro 15.5.6. Same issue.
Test discovery is completely broken.
Based on diagnostic logs. The test runners are failing to load.
This is both from VS and using dotnet test
Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter: Failed to load assembly. Reason:System.BadImageFormatException
xunit.runner.visualstudio.dotnetcore.testadapter: Failed to load assembly. Reason:System.BadImageFormatException
I can get xunit test to run from command-line using:
dotnet xunit --fxversion 2.0.5
Or by specifying RuntimeVersion in the csproj.
dotnet info
.NET Command Line Tools (2.1.4)
Product Information:
Version: 2.1.4
Commit SHA-1 hash: 5e8add2190
Runtime Environment:
OS Name: Windows
OS Version: 10.0.15063
OS Platform: Windows
RID: win10-x64
Base Path: C:\Program Files\dotnet\sdk\2.1.4\
Microsoft .NET Core Shared Framework Host
Version : 2.0.5
Build : 17373eb129b3b05aa18ece963f8795d65ef8ea54
sample project is attached
vs2017_15.5.6_UnitTestIssues.zip
I have been ignoring this issue for the past couple weeks, because I figured out if I run the tests without debugging from the test explorer they execute without any issues. Just this morning, I was able to resolve the issue for myself by closing Visual Studio, deleting both the .vs directory and the TestResults directory, then reopening VS. Stupidly, I did them both at the same time, so I cannot tell you which one actually fixed the issue.
Also, I just opened Douglas Marshall's project and when trying to run the original tests it said "No test is available in ..."
In an attempt to debug the issue, I added a new test project both regular MSTest and .Net Core and added a test and they both worked normally. So I went back into the .csproj file for UnitTestProject and xUnitProject and changed it to match a newly created project and it worked without any issues. The RuntimeFrameworkVersion element seems to be the culprit, for my setup.
Remove:
<RuntimeFrameworkVersion>2.0.5</RuntimeFrameworkVersion>
Let me know if either one of these "fixes" is unclear?
Your fix didn't work for me.
however I have isolated it to .Net Core Unit Tests.
A Full Framework test executes with no issues.
I initially started with a OTB unit test template and added RuntimeFrameworkVersion was based on the workaround documented in issue https://github.com/xunit/xunit/issues/1573
My tests are on full .net only
@DouglasMarsh : We apologize for the inconvenience. Thank you for sharing repro project with us. However, we are able to run tests just fine and the issue is not reproing for us.
Can you please share following information with us:
dotnet versions: 1.05, 1.1.2, 2.0.0, 2.0.3, 2.0.5
We had a similar problem that we were able to fix.
Scenario
We had a solution with multiple version of the framework, namely 1.1.11 and 1.1.18 in use by two distinct unit test projects.
Resolution
Once I had upgraded both to use the same version (the 1.1.18) then my tests started becoming visible again.
Problem
There appears to be a conflict somewhere when VS is referencing the two versions within the same solution. This is just my theory based on the observed behavior. Perhaps someone could investigate a potential compatibility issue. If true, the behavior of VS always pulling in the latest version from NuGet regardless of what other versions are already being referenced within the solution will only spread this problem. On the other hand, perhaps this is only a collision of specific versions of MSTest.
@abatishchev Could you please confirm if the issue is present post update to 15.6.2 and using the same adapater version in your solution ?
@cltshivash unfortunately I cannot. I switched team and now fighting with CloudBuild to recognize MsTest from NuGet rather then use the built-in. You can imagine :)
Was able to repro this issue with VS 15.6.3 and MsTest versions 1.2.0 and 1.3.0 used by 2 projects in the same solution
Same here with VS 15.6.4. Removed AppData/Local/Temp/VisualStudioTestExplorerExtensions folder and worked fine again. The original folder VisualStudioTestExplorerExtensions/MSTest.TestAdapter.1.2.0/bin/_common was empty, instead I had another folder with expected files VisualStudioTestExplorerExtensions/1.2.0/bin/_common.
Hope it helps!
VS 15.6.6, same results as @joanjane.

I closed VS, delete VisualStudioTestExplorerExtensions and then it started to work again.
Supposedly fixed in 15.7 preview 4. Source.
Closing the issue for now. Please feel free to re-open if you hit this again after updating to 15.7 Preview 4 and above.
@abatishchev
I am also having trouble running test script on CloudBuild. Did you solved your problem and how?
@MohammadHazara CloudBuild? The only system I know of this name is Microsoft internal. Are you working for Microsoft?
Most helpful comment
Same here with VS 15.6.4. Removed
AppData/Local/Temp/VisualStudioTestExplorerExtensionsfolder and worked fine again. The original folderVisualStudioTestExplorerExtensions/MSTest.TestAdapter.1.2.0/bin/_commonwas empty, instead I had another folder with expected filesVisualStudioTestExplorerExtensions/1.2.0/bin/_common.Hope it helps!