Vstest: Could not load file or assembly 'Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies for net461

Created on 16 Sep 2017  路  24Comments  路  Source: microsoft/vstest

I keep getting the assembly binding error for net461:

System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.

It passes OK for netstandard2.0 test target library using netstandard2.0(target lib)/netcoreapp2.0(test lib) via the dotnet cli.

However if I remove the adapter, this makes things work through resharper/visual studio.

Any idea's

Issue Tracker Info

  • NUnit and NUnit3TestAdapter versions
NUnit 3.8.1
NUnit3TestAdapter 3.8.0
  • Visual Studio edition and full version number (see Help About)
Visual Studio Community Edition 15.3.4
  • A short repro, preferably attached or pointing to a git repo or gist
A very noddy wrapper around Castle Windsor. 

 - Clone https://github.com/cryosharp/fluentwindsor/
 - Checkout the `fluentwindsor-next-nunit-adapter-issue` branch
 - cd FluentWindsor\FluentWindsor.Tests
 - dotnet restore
 - dotnet test

  • What .net platform and version is being targeted
.NET Command Line Tools (2.0.0-preview2-006497)

Product Information:
 Version:            2.0.0-preview2-006497
 Commit SHA-1 hash:  06a2093335

Runtime Environment:
 OS Name:     Windows
 OS Version:  10.0.15063
 OS Platform: Windows
 RID:         win10-x64
 Base Path:   C:\Program Files\dotnet\sdk\2.0.0-preview2-006497\

Microsoft .NET Core Shared Framework Host

  Version  : 2.0.0-preview2-25407-01
  Build    : 40c565230930ead58a50719c0ec799df77bddee9

Full stacktrace of failure

Test run for C:\code\fluentwindsor\FluentWindsor\FluentWindsor.Tests\bin\Debug\net461\FluentWindsor.Tests.dll(.NETFramework,Version=v4.6.1)
Microsoft (R) Test Execution Command Line Tool Version 15.3.0-dev
Copyright (c) Microsoft Corporation.  All rights reserved.

Starting test execution, please wait...
NUnit Adapter 3.8.0.0: Test execution started
Running all tests in C:\code\fluentwindsor\FluentWindsor\FluentWindsor.Tests\bin\Debug\net461\FluentWindsor.Tests.dll
NUnit3TestExecutor converted 6 of 6 NUnit test cases
NUnit Adapter 3.8.0.0: Test execution complete
Failed   Then_We_Should_Be_Able_To_Register_Types_Multiple_Times_Without_Exceptions_Being_Raised
Error Message:
 System.Exception : FluentWindsor::Assembly Load Errors(If you use nuget please consolidate your versions or try installing the missing assemblies below, otherwise delete your bin/obj folders outside visual studio and then recompile and fix the missing assembly reference errors in your project) ->

System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
File name: 'Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'

=== Pre-bind state information ===
LOG: DisplayName = Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
 (Fully-specified)
LOG: Appbase = file:///C:/code/fluentwindsor/FluentWindsor/FluentWindsor.Tests/bin/Debug/net461/
LOG: Initial PrivatePath = NULL
Calling assembly : NUnit3.TestAdapter, Version=3.8.0.0, Culture=neutral, PublicKeyToken=4cb40d35494691ac.
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\code\fluentwindsor\FluentWindsor\FluentWindsor.Tests\bin\Debug\net461\FluentWindsor.Tests.dll.config
LOG: Using host configuration file:
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: Post-policy reference: Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
LOG: Attempting download of new URL file:///C:/code/fluentwindsor/FluentWindsor/FluentWindsor.Tests/bin/Debug/net461/Microsoft.VisualStudio.TestPlatform.ObjectModel.DLL.
LOG: Attempting download of new URL file:///C:/code/fluentwindsor/FluentWindsor/FluentWindsor.Tests/bin/Debug/net461/Microsoft.VisualStudio.TestPlatform.ObjectModel/Microsoft.VisualStudio.TestPlatform.ObjectModel.DLL.
LOG: Attempting download of new URL file:///C:/code/fluentwindsor/FluentWindsor/FluentWindsor.Tests/bin/Debug/net461/Microsoft.VisualStudio.TestPlatform.ObjectModel.EXE.
LOG: Attempting download of new URL file:///C:/code/fluentwindsor/FluentWindsor/FluentWindsor.Tests/bin/Debug/net461/Microsoft.VisualStudio.TestPlatform.ObjectModel/Microsoft.VisualStudio.TestPlatform.ObjectModel.EXE.
,System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
File name: 'Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'

=== Pre-bind state information ===
LOG: DisplayName = Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
 (Fully-specified)
LOG: Appbase = file:///C:/code/fluentwindsor/FluentWindsor/FluentWindsor.Tests/bin/Debug/net461/
LOG: Initial PrivatePath = NULL
Calling assembly : NUnit3.TestAdapter, Version=3.8.0.0, Culture=neutral, PublicKeyToken=4cb40d35494691ac.
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\code\fluentwindsor\FluentWindsor\FluentWindsor.Tests\bin\Debug\net461\FluentWindsor.Tests.dll.config
LOG: Using host configuration file:
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: Post-policy reference: Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
LOG: The same bind was seen before, and was failed with hr = 0x80070002.
,System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
File name: 'Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'

=== Pre-bind state information ===
LOG: DisplayName = Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
 (Fully-specified)
LOG: Appbase = file:///C:/code/fluentwindsor/FluentWindsor/FluentWindsor.Tests/bin/Debug/net461/
LOG: Initial PrivatePath = NULL
Calling assembly : NUnit3.TestAdapter, Version=3.8.0.0, Culture=neutral, PublicKeyToken=4cb40d35494691ac.
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\code\fluentwindsor\FluentWindsor\FluentWindsor.Tests\bin\Debug\net461\FluentWindsor.Tests.dll.config
LOG: Using host configuration file:
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: Post-policy reference: Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
LOG: The same bind was seen before, and was failed with hr = 0x80070002.

Stack Trace:
   at FluentlyWindsor.Extensions.AssemblyExtensions.HasAnyTypeThatImplementsInterface[T](Assembly assembly, IAssemblyScanningPolicy[] policies)
   at FluentlyWindsor.FluentWindsor.<>c.<WithInstallers>b__12_0(Assembly x)
   at FluentlyWindsor.AssemblyScanner.FindAssemblies(Predicate`1 isTrueOf)
   at FluentlyWindsor.FluentWindsor.WithInstallers()
   at FluentWindsor.Tests.Given_We_Are_Fluently_Registering.SetUp() in C:\code\fluentwindsor\FluentWindsor\FluentWindsor.Tests\Given_We_Are_Fluently_Registering.cs:line 14
Failed   Then_We_Should_Be_Able_To_Resolve_ServiceA
Error Message:
 System.Exception : FluentWindsor::Assembly Load Errors(If you use nuget please consolidate your versions or try installing the missing assemblies below, otherwise delete your bin/obj folders outside visual studio and then recompile and fix the missing assembly reference errors in your project) ->

System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
File name: 'Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'

=== Pre-bind state information ===
LOG: DisplayName = Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
 (Fully-specified)
LOG: Appbase = file:///C:/code/fluentwindsor/FluentWindsor/FluentWindsor.Tests/bin/Debug/net461/
LOG: Initial PrivatePath = NULL
Calling assembly : NUnit3.TestAdapter, Version=3.8.0.0, Culture=neutral, PublicKeyToken=4cb40d35494691ac.
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\code\fluentwindsor\FluentWindsor\FluentWindsor.Tests\bin\Debug\net461\FluentWindsor.Tests.dll.config
LOG: Using host configuration file:
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: Post-policy reference: Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
LOG: The same bind was seen before, and was failed with hr = 0x80070002.
,System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
File name: 'Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'

=== Pre-bind state information ===
LOG: DisplayName = Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
 (Fully-specified)
LOG: Appbase = file:///C:/code/fluentwindsor/FluentWindsor/FluentWindsor.Tests/bin/Debug/net461/
LOG: Initial PrivatePath = NULL
Calling assembly : NUnit3.TestAdapter, Version=3.8.0.0, Culture=neutral, PublicKeyToken=4cb40d35494691ac.
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\code\fluentwindsor\FluentWindsor\FluentWindsor.Tests\bin\Debug\net461\FluentWindsor.Tests.dll.config
LOG: Using host configuration file:
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: Post-policy reference: Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
LOG: The same bind was seen before, and was failed with hr = 0x80070002.
,System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
File name: 'Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'

=== Pre-bind state information ===
LOG: DisplayName = Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
 (Fully-specified)
LOG: Appbase = file:///C:/code/fluentwindsor/FluentWindsor/FluentWindsor.Tests/bin/Debug/net461/
LOG: Initial PrivatePath = NULL
Calling assembly : NUnit3.TestAdapter, Version=3.8.0.0, Culture=neutral, PublicKeyToken=4cb40d35494691ac.
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\code\fluentwindsor\FluentWindsor\FluentWindsor.Tests\bin\Debug\net461\FluentWindsor.Tests.dll.config
LOG: Using host configuration file:
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: Post-policy reference: Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
LOG: The same bind was seen before, and was failed with hr = 0x80070002.

Stack Trace:
   at FluentlyWindsor.Extensions.AssemblyExtensions.HasAnyTypeThatImplementsInterface[T](Assembly assembly, IAssemblyScanningPolicy[] policies)
   at FluentlyWindsor.FluentWindsor.<>c.<WithInstallers>b__12_0(Assembly x)
   at FluentlyWindsor.AssemblyScanner.FindAssemblies(Predicate`1 isTrueOf)
   at FluentlyWindsor.FluentWindsor.WithInstallers()
   at FluentWindsor.Tests.Given_We_Are_Fluently_Registering.SetUp() in C:\code\fluentwindsor\FluentWindsor\FluentWindsor.Tests\Given_We_Are_Fluently_Registering.cs:line 14
Failed   Then_We_Should_Be_Able_To_Resolve_ServiceB
Error Message:
 System.Exception : FluentWindsor::Assembly Load Errors(If you use nuget please consolidate your versions or try installing the missing assemblies below, otherwise delete your bin/obj folders outside visual studio and then recompile and fix the missing assembly reference errors in your project) ->

System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
File name: 'Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'

=== Pre-bind state information ===
LOG: DisplayName = Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
 (Fully-specified)
LOG: Appbase = file:///C:/code/fluentwindsor/FluentWindsor/FluentWindsor.Tests/bin/Debug/net461/
LOG: Initial PrivatePath = NULL
Calling assembly : NUnit3.TestAdapter, Version=3.8.0.0, Culture=neutral, PublicKeyToken=4cb40d35494691ac.
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\code\fluentwindsor\FluentWindsor\FluentWindsor.Tests\bin\Debug\net461\FluentWindsor.Tests.dll.config
LOG: Using host configuration file:
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: Post-policy reference: Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
LOG: The same bind was seen before, and was failed with hr = 0x80070002.
,System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
File name: 'Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'

=== Pre-bind state information ===
LOG: DisplayName = Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
 (Fully-specified)
LOG: Appbase = file:///C:/code/fluentwindsor/FluentWindsor/FluentWindsor.Tests/bin/Debug/net461/
LOG: Initial PrivatePath = NULL
Calling assembly : NUnit3.TestAdapter, Version=3.8.0.0, Culture=neutral, PublicKeyToken=4cb40d35494691ac.
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\code\fluentwindsor\FluentWindsor\FluentWindsor.Tests\bin\Debug\net461\FluentWindsor.Tests.dll.config
LOG: Using host configuration file:
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: Post-policy reference: Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
LOG: The same bind was seen before, and was failed with hr = 0x80070002.
,System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
File name: 'Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'

=== Pre-bind state information ===
LOG: DisplayName = Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
 (Fully-specified)
LOG: Appbase = file:///C:/code/fluentwindsor/FluentWindsor/FluentWindsor.Tests/bin/Debug/net461/
LOG: Initial PrivatePath = NULL
Calling assembly : NUnit3.TestAdapter, Version=3.8.0.0, Culture=neutral, PublicKeyToken=4cb40d35494691ac.
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\code\fluentwindsor\FluentWindsor\FluentWindsor.Tests\bin\Debug\net461\FluentWindsor.Tests.dll.config
LOG: Using host configuration file:
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: Post-policy reference: Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
LOG: The same bind was seen before, and was failed with hr = 0x80070002.

Stack Trace:
   at FluentlyWindsor.Extensions.AssemblyExtensions.HasAnyTypeThatImplementsInterface[T](Assembly assembly, IAssemblyScanningPolicy[] policies)
   at FluentlyWindsor.FluentWindsor.<>c.<WithInstallers>b__12_0(Assembly x)
   at FluentlyWindsor.AssemblyScanner.FindAssemblies(Predicate`1 isTrueOf)
   at FluentlyWindsor.FluentWindsor.WithInstallers()
   at FluentWindsor.Tests.Given_We_Are_Fluently_Registering.SetUp() in C:\code\fluentwindsor\FluentWindsor\FluentWindsor.Tests\Given_We_Are_Fluently_Registering.cs:line 14
Failed   Then_We_Should_Be_Able_To_Resolve_ServiceC
Error Message:
 System.Exception : FluentWindsor::Assembly Load Errors(If you use nuget please consolidate your versions or try installing the missing assemblies below, otherwise delete your bin/obj folders outside visual studio and then recompile and fix the missing assembly reference errors in your project) ->

System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
File name: 'Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'

=== Pre-bind state information ===
LOG: DisplayName = Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
 (Fully-specified)
LOG: Appbase = file:///C:/code/fluentwindsor/FluentWindsor/FluentWindsor.Tests/bin/Debug/net461/
LOG: Initial PrivatePath = NULL
Calling assembly : NUnit3.TestAdapter, Version=3.8.0.0, Culture=neutral, PublicKeyToken=4cb40d35494691ac.
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\code\fluentwindsor\FluentWindsor\FluentWindsor.Tests\bin\Debug\net461\FluentWindsor.Tests.dll.config
LOG: Using host configuration file:
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: Post-policy reference: Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
LOG: The same bind was seen before, and was failed with hr = 0x80070002.
,System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
File name: 'Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'

=== Pre-bind state information ===
LOG: DisplayName = Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
 (Fully-specified)
LOG: Appbase = file:///C:/code/fluentwindsor/FluentWindsor/FluentWindsor.Tests/bin/Debug/net461/
LOG: Initial PrivatePath = NULL
Calling assembly : NUnit3.TestAdapter, Version=3.8.0.0, Culture=neutral, PublicKeyToken=4cb40d35494691ac.
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\code\fluentwindsor\FluentWindsor\FluentWindsor.Tests\bin\Debug\net461\FluentWindsor.Tests.dll.config
LOG: Using host configuration file:
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: Post-policy reference: Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
LOG: The same bind was seen before, and was failed with hr = 0x80070002.
,System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
File name: 'Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'

=== Pre-bind state information ===
LOG: DisplayName = Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
 (Fully-specified)
LOG: Appbase = file:///C:/code/fluentwindsor/FluentWindsor/FluentWindsor.Tests/bin/Debug/net461/
LOG: Initial PrivatePath = NULL
Calling assembly : NUnit3.TestAdapter, Version=3.8.0.0, Culture=neutral, PublicKeyToken=4cb40d35494691ac.
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\code\fluentwindsor\FluentWindsor\FluentWindsor.Tests\bin\Debug\net461\FluentWindsor.Tests.dll.config
LOG: Using host configuration file:
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: Post-policy reference: Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
LOG: The same bind was seen before, and was failed with hr = 0x80070002.

Stack Trace:
   at FluentlyWindsor.Extensions.AssemblyExtensions.HasAnyTypeThatImplementsInterface[T](Assembly assembly, IAssemblyScanningPolicy[] policies)
   at FluentlyWindsor.FluentWindsor.<>c.<WithInstallers>b__12_0(Assembly x)
   at FluentlyWindsor.AssemblyScanner.FindAssemblies(Predicate`1 isTrueOf)
   at FluentlyWindsor.FluentWindsor.WithInstallers()
   at FluentWindsor.Tests.Given_We_Are_Fluently_Registering.SetUp() in C:\code\fluentwindsor\FluentWindsor\FluentWindsor.Tests\Given_We_Are_Fluently_Registering.cs:line 14
Failed   Then_We_Should_Be_Able_To_Discover_Assemblies_That_Has_Any_Type_That_Implements_An_Interface
Error Message:
 System.Exception : FluentWindsor::Assembly Load Errors(If you use nuget please consolidate your versions or try installing the missing assemblies below, otherwise delete your bin/obj folders outside visual studio and then recompile and fix the missing assembly reference errors in your project) ->

System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
File name: 'Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'

=== Pre-bind state information ===
LOG: DisplayName = Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
 (Fully-specified)
LOG: Appbase = file:///C:/code/fluentwindsor/FluentWindsor/FluentWindsor.Tests/bin/Debug/net461/
LOG: Initial PrivatePath = NULL
Calling assembly : NUnit3.TestAdapter, Version=3.8.0.0, Culture=neutral, PublicKeyToken=4cb40d35494691ac.
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\code\fluentwindsor\FluentWindsor\FluentWindsor.Tests\bin\Debug\net461\FluentWindsor.Tests.dll.config
LOG: Using host configuration file:
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: Post-policy reference: Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
LOG: The same bind was seen before, and was failed with hr = 0x80070002.
,System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
File name: 'Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'

=== Pre-bind state information ===
LOG: DisplayName = Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
 (Fully-specified)
LOG: Appbase = file:///C:/code/fluentwindsor/FluentWindsor/FluentWindsor.Tests/bin/Debug/net461/
LOG: Initial PrivatePath = NULL
Calling assembly : NUnit3.TestAdapter, Version=3.8.0.0, Culture=neutral, PublicKeyToken=4cb40d35494691ac.
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\code\fluentwindsor\FluentWindsor\FluentWindsor.Tests\bin\Debug\net461\FluentWindsor.Tests.dll.config
LOG: Using host configuration file:
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: Post-policy reference: Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
LOG: The same bind was seen before, and was failed with hr = 0x80070002.
,System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
File name: 'Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'

=== Pre-bind state information ===
LOG: DisplayName = Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
 (Fully-specified)
LOG: Appbase = file:///C:/code/fluentwindsor/FluentWindsor/FluentWindsor.Tests/bin/Debug/net461/
LOG: Initial PrivatePath = NULL
Calling assembly : NUnit3.TestAdapter, Version=3.8.0.0, Culture=neutral, PublicKeyToken=4cb40d35494691ac.
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\code\fluentwindsor\FluentWindsor\FluentWindsor.Tests\bin\Debug\net461\FluentWindsor.Tests.dll.config
LOG: Using host configuration file:
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: Post-policy reference: Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
LOG: The same bind was seen before, and was failed with hr = 0x80070002.

Stack Trace:
   at FluentlyWindsor.Extensions.AssemblyExtensions.HasAnyTypeThatImplementsInterface[T](Assembly assembly, IAssemblyScanningPolicy[] policies)
   at FluentlyWindsor.FluentWindsor.<>c.<WithInstallers>b__12_0(Assembly x)
   at FluentlyWindsor.AssemblyScanner.FindAssemblies(Predicate`1 isTrueOf)
   at FluentlyWindsor.FluentWindsor.WithInstallers()
   at FluentWindsor.Tests.Given_We_Are_Fluently_Registering.SetUp() in C:\code\fluentwindsor\FluentWindsor\FluentWindsor.Tests\Given_We_Are_Fluently_Registering.cs:line 14
Failed   Then_We_Should_Be_Able_To_Discover_Assemblies_That_Has_Any_Type_That_Inherits_From
Error Message:
 System.Exception : FluentWindsor::Assembly Load Errors(If you use nuget please consolidate your versions or try installing the missing assemblies below, otherwise delete your bin/obj folders outside visual studio and then recompile and fix the missing assembly reference errors in your project) ->

System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
File name: 'Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'

=== Pre-bind state information ===
LOG: DisplayName = Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
 (Fully-specified)
LOG: Appbase = file:///C:/code/fluentwindsor/FluentWindsor/FluentWindsor.Tests/bin/Debug/net461/
LOG: Initial PrivatePath = NULL
Calling assembly : NUnit3.TestAdapter, Version=3.8.0.0, Culture=neutral, PublicKeyToken=4cb40d35494691ac.
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\code\fluentwindsor\FluentWindsor\FluentWindsor.Tests\bin\Debug\net461\FluentWindsor.Tests.dll.config
LOG: Using host configuration file:
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: Post-policy reference: Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
LOG: The same bind was seen before, and was failed with hr = 0x80070002.
,System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
File name: 'Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'

=== Pre-bind state information ===
LOG: DisplayName = Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
 (Fully-specified)
LOG: Appbase = file:///C:/code/fluentwindsor/FluentWindsor/FluentWindsor.Tests/bin/Debug/net461/
LOG: Initial PrivatePath = NULL
Calling assembly : NUnit3.TestAdapter, Version=3.8.0.0, Culture=neutral, PublicKeyToken=4cb40d35494691ac.
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\code\fluentwindsor\FluentWindsor\FluentWindsor.Tests\bin\Debug\net461\FluentWindsor.Tests.dll.config
LOG: Using host configuration file:
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: Post-policy reference: Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
LOG: The same bind was seen before, and was failed with hr = 0x80070002.
,System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
File name: 'Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'

=== Pre-bind state information ===
LOG: DisplayName = Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
 (Fully-specified)
LOG: Appbase = file:///C:/code/fluentwindsor/FluentWindsor/FluentWindsor.Tests/bin/Debug/net461/
LOG: Initial PrivatePath = NULL
Calling assembly : NUnit3.TestAdapter, Version=3.8.0.0, Culture=neutral, PublicKeyToken=4cb40d35494691ac.
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\code\fluentwindsor\FluentWindsor\FluentWindsor.Tests\bin\Debug\net461\FluentWindsor.Tests.dll.config
LOG: Using host configuration file:
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: Post-policy reference: Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
LOG: The same bind was seen before, and was failed with hr = 0x80070002.

Stack Trace:
   at FluentlyWindsor.Extensions.AssemblyExtensions.HasAnyTypeThatImplementsInterface[T](Assembly assembly, IAssemblyScanningPolicy[] policies)
   at FluentlyWindsor.FluentWindsor.<>c.<WithInstallers>b__12_0(Assembly x)
   at FluentlyWindsor.AssemblyScanner.FindAssemblies(Predicate`1 isTrueOf)
   at FluentlyWindsor.FluentWindsor.WithInstallers()
   at FluentWindsor.Tests.Given_We_Are_Fluently_Registering.SetUp() in C:\code\fluentwindsor\FluentWindsor\FluentWindsor.Tests\Given_We_Are_Fluently_Registering.cs:line 14

Total tests: 6. Passed: 0. Failed: 6. Skipped: 0.
Test Run Failed.
Test execution time: 2.1195 Seconds
Test run for C:\code\fluentwindsor\FluentWindsor\FluentWindsor.Tests\bin\Debug\netcoreapp2.0\FluentWindsor.Tests.dll(.NETCoreApp,Version=v2.0)
Microsoft (R) Test Execution Command Line Tool Version 15.3.0-dev
Copyright (c) Microsoft Corporation.  All rights reserved.

Starting test execution, please wait...
NUnit Adapter 3.8.0.0: Test execution started
Running all tests in C:\code\fluentwindsor\FluentWindsor\FluentWindsor.Tests\bin\Debug\netcoreapp2.0\FluentWindsor.Tests.dll
NUnit3TestExecutor converted 6 of 6 NUnit test cases
NUnit Adapter 3.8.0.0: Test execution complete

Total tests: 6. Passed: 6. Failed: 0. Skipped: 0.
Test Run Successful.
Test execution time: 2.1551 Seconds

question

All 24 comments

Please see: https://github.com/castleproject/Core/issues/288

This might help you guys out, there is probably rogue AssemblyFileVersionAttribute's that are applying semver which should be switched to a major release version only,

The culprit right now stinks to high heaven of the TestPlatform.ObjectModel assemblies/consumers.

Just did another double check and updated my dotnet cli from

.NET Command Line Tools (2.0.0-preview2-006497)

to

.NET Command Line Tools (2.0.0)

New dotnet --info

.NET Command Line Tools (2.0.0)

Product Information:
 Version:            2.0.0
 Commit SHA-1 hash:  cdcd1928c9

Runtime Environment:
 OS Name:     Windows
 OS Version:  10.0.15063
 OS Platform: Windows
 RID:         win10-x64
 Base Path:   C:\Program Files\dotnet\sdk\2.0.0\

Microsoft .NET Core Shared Framework Host

  Version  : 2.0.0
  Build    : e8b8861ac7faf042c87a5c2f9f2d04c98b69f28d

Exception

````
C:\code\fluentwindsor\FluentWindsor\FluentWindsor.Tests>dotnet test
Build started, please wait...
Build completed.

Test run for C:\code\fluentwindsor\FluentWindsor\FluentWindsor.Tests\bin\Debug\net461\FluentWindsor.Tests.dll(.NETFramework,Version=v4.6.1)
Microsoft (R) Test Execution Command Line Tool Version 15.3.0-preview-20170628-02
Copyright (c) Microsoft Corporation. All rights reserved.

Starting test execution, please wait...
NUnit Adapter 3.8.0.0: Test execution started
Running all tests in C:\code\fluentwindsor\FluentWindsor\FluentWindsor.Tests\bin\Debug\net461\FluentWindsor.Tests.dll
NUnit3TestExecutor converted 6 of 6 NUnit test cases
NUnit Adapter 3.8.0.0: Test execution complete
Failed Then_We_Should_Be_Able_To_Register_Types_Multiple_Times_Without_Exceptions_Being_Raised
Error Message:
System.Exception : FluentWindsor::Assembly Load Errors(If you use nuget please consolidate your versions or try installing the missing assemblies below, otherwise delete your bin/obj folders outside visual studio and then recompile and fix the missing assembly reference errors in your project) ->

System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
File name: 'Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'

=== Pre-bind state information ===
LOG: DisplayName = Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
(Fully-specified)
LOG: Appbase = file:///C:/code/fluentwindsor/FluentWindsor/FluentWindsor.Tests/bin/Debug/net461/
LOG: Initial PrivatePath = NULL

Calling assembly : NUnit3.TestAdapter, Version=3.8.0.0, Culture=neutral, PublicKeyToken=4cb40d35494691ac.

LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\code\fluentwindsor\FluentWindsor\FluentWindsor.Tests\bin\Debug\net461\FluentWindsor.Tests.dll.config
LOG: Using host configuration file:
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: Post-policy reference: Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
LOG: Attempting download of new URL file:///C:/code/fluentwindsor/FluentWindsor/FluentWindsor.Tests/bin/Debug/net461/Microsoft.VisualStudio.TestPlatform.ObjectModel.DLL.
LOG: Attempting download of new URL file:///C:/code/fluentwindsor/FluentWindsor/FluentWindsor.Tests/bin/Debug/net461/Microsoft.VisualStudio.TestPlatform.ObjectModel/Microsoft.VisualStudio.TestPlatform.ObjectModel.DLL.
LOG: Attempting download of new URL file:///C:/code/fluentwindsor/FluentWindsor/FluentWindsor.Tests/bin/Debug/net461/Microsoft.VisualStudio.TestPlatform.ObjectModel.EXE.
LOG: Attempting download of new URL file:///C:/code/fluentwindsor/FluentWindsor/FluentWindsor.Tests/bin/Debug/net461/Microsoft.VisualStudio.TestPlatform.ObjectModel/Microsoft.VisualStudio.TestPlatform.ObjectModel.EXE.
,System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
File name: 'Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'

=== Pre-bind state information ===
LOG: DisplayName = Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
(Fully-specified)
LOG: Appbase = file:///C:/code/fluentwindsor/FluentWindsor/FluentWindsor.Tests/bin/Debug/net461/
LOG: Initial PrivatePath = NULL

Calling assembly : NUnit3.TestAdapter, Version=3.8.0.0, Culture=neutral, PublicKeyToken=4cb40d35494691ac.

LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\code\fluentwindsor\FluentWindsor\FluentWindsor.Tests\bin\Debug\net461\FluentWindsor.Tests.dll.config
LOG: Using host configuration file:
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: Post-policy reference: Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
LOG: The same bind was seen before, and was failed with hr = 0x80070002.
,System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
File name: 'Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'

=== Pre-bind state information ===
LOG: DisplayName = Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
(Fully-specified)
LOG: Appbase = file:///C:/code/fluentwindsor/FluentWindsor/FluentWindsor.Tests/bin/Debug/net461/
LOG: Initial PrivatePath = NULL

Calling assembly : NUnit3.TestAdapter, Version=3.8.0.0, Culture=neutral, PublicKeyToken=4cb40d35494691ac.

LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\code\fluentwindsor\FluentWindsor\FluentWindsor.Tests\bin\Debug\net461\FluentWindsor.Tests.dll.config
LOG: Using host configuration file:
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: Post-policy reference: Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
LOG: The same bind was seen before, and was failed with hr = 0x80070002.

Stack Trace:
at FluentlyWindsor.Extensions.AssemblyExtensions.HasAnyTypeThatImplementsInterfaceT
at FluentlyWindsor.FluentWindsor.<>c.b__12_0(Assembly x)
at FluentlyWindsor.AssemblyScanner.FindAssemblies(Predicate`1 isTrueOf)
at FluentlyWindsor.FluentWindsor.WithInstallers()
at FluentWindsor.Tests.Given_We_Are_Fluently_Registering.SetUp() in C:\code\fluentwindsor\FluentWindsor\FluentWindsor.Tests\Given_We_Are_Fluently_Registering.cs:line 14
Failed Then_We_Should_Be_Able_To_Resolve_ServiceA
Error Message:
System.Exception : FluentWindsor::Assembly Load Errors(If you use nuget please consolidate your versions or try installing the missing assemblies below, otherwise delete your bin/obj folders outside visual studio and then recompile and fix the missing assembly reference errors in your project) ->

System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
File name: 'Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'

=== Pre-bind state information ===
LOG: DisplayName = Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
(Fully-specified)
LOG: Appbase = file:///C:/code/fluentwindsor/FluentWindsor/FluentWindsor.Tests/bin/Debug/net461/
LOG: Initial PrivatePath = NULL

Calling assembly : NUnit3.TestAdapter, Version=3.8.0.0, Culture=neutral, PublicKeyToken=4cb40d35494691ac.

LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\code\fluentwindsor\FluentWindsor\FluentWindsor.Tests\bin\Debug\net461\FluentWindsor.Tests.dll.config
LOG: Using host configuration file:
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: Post-policy reference: Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
LOG: The same bind was seen before, and was failed with hr = 0x80070002.
,System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
File name: 'Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'

=== Pre-bind state information ===
LOG: DisplayName = Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
(Fully-specified)
LOG: Appbase = file:///C:/code/fluentwindsor/FluentWindsor/FluentWindsor.Tests/bin/Debug/net461/
LOG: Initial PrivatePath = NULL

Calling assembly : NUnit3.TestAdapter, Version=3.8.0.0, Culture=neutral, PublicKeyToken=4cb40d35494691ac.

LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\code\fluentwindsor\FluentWindsor\FluentWindsor.Tests\bin\Debug\net461\FluentWindsor.Tests.dll.config
LOG: Using host configuration file:
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: Post-policy reference: Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
LOG: The same bind was seen before, and was failed with hr = 0x80070002.
,System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
File name: 'Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'

=== Pre-bind state information ===
LOG: DisplayName = Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
(Fully-specified)
LOG: Appbase = file:///C:/code/fluentwindsor/FluentWindsor/FluentWindsor.Tests/bin/Debug/net461/
LOG: Initial PrivatePath = NULL

Calling assembly : NUnit3.TestAdapter, Version=3.8.0.0, Culture=neutral, PublicKeyToken=4cb40d35494691ac.

LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\code\fluentwindsor\FluentWindsor\FluentWindsor.Tests\bin\Debug\net461\FluentWindsor.Tests.dll.config
LOG: Using host configuration file:
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: Post-policy reference: Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
LOG: The same bind was seen before, and was failed with hr = 0x80070002.

Stack Trace:
at FluentlyWindsor.Extensions.AssemblyExtensions.HasAnyTypeThatImplementsInterfaceT
at FluentlyWindsor.FluentWindsor.<>c.b__12_0(Assembly x)
at FluentlyWindsor.AssemblyScanner.FindAssemblies(Predicate`1 isTrueOf)
at FluentlyWindsor.FluentWindsor.WithInstallers()
at FluentWindsor.Tests.Given_We_Are_Fluently_Registering.SetUp() in C:\code\fluentwindsor\FluentWindsor\FluentWindsor.Tests\Given_We_Are_Fluently_Registering.cs:line 14
Failed Then_We_Should_Be_Able_To_Resolve_ServiceB
Error Message:
System.Exception : FluentWindsor::Assembly Load Errors(If you use nuget please consolidate your versions or try installing the missing assemblies below, otherwise delete your bin/obj folders outside visual studio and then recompile and fix the missing assembly reference errors in your project) ->

System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
File name: 'Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'

=== Pre-bind state information ===
LOG: DisplayName = Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
(Fully-specified)
LOG: Appbase = file:///C:/code/fluentwindsor/FluentWindsor/FluentWindsor.Tests/bin/Debug/net461/
LOG: Initial PrivatePath = NULL

Calling assembly : NUnit3.TestAdapter, Version=3.8.0.0, Culture=neutral, PublicKeyToken=4cb40d35494691ac.

LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\code\fluentwindsor\FluentWindsor\FluentWindsor.Tests\bin\Debug\net461\FluentWindsor.Tests.dll.config
LOG: Using host configuration file:
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: Post-policy reference: Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
LOG: The same bind was seen before, and was failed with hr = 0x80070002.
,System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
File name: 'Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'

=== Pre-bind state information ===
LOG: DisplayName = Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
(Fully-specified)
LOG: Appbase = file:///C:/code/fluentwindsor/FluentWindsor/FluentWindsor.Tests/bin/Debug/net461/
LOG: Initial PrivatePath = NULL

Calling assembly : NUnit3.TestAdapter, Version=3.8.0.0, Culture=neutral, PublicKeyToken=4cb40d35494691ac.

LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\code\fluentwindsor\FluentWindsor\FluentWindsor.Tests\bin\Debug\net461\FluentWindsor.Tests.dll.config
LOG: Using host configuration file:
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: Post-policy reference: Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
LOG: The same bind was seen before, and was failed with hr = 0x80070002.
,System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
File name: 'Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'

=== Pre-bind state information ===
LOG: DisplayName = Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
(Fully-specified)
LOG: Appbase = file:///C:/code/fluentwindsor/FluentWindsor/FluentWindsor.Tests/bin/Debug/net461/
LOG: Initial PrivatePath = NULL

Calling assembly : NUnit3.TestAdapter, Version=3.8.0.0, Culture=neutral, PublicKeyToken=4cb40d35494691ac.

LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\code\fluentwindsor\FluentWindsor\FluentWindsor.Tests\bin\Debug\net461\FluentWindsor.Tests.dll.config
LOG: Using host configuration file:
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: Post-policy reference: Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
LOG: The same bind was seen before, and was failed with hr = 0x80070002.

Stack Trace:
at FluentlyWindsor.Extensions.AssemblyExtensions.HasAnyTypeThatImplementsInterfaceT
at FluentlyWindsor.FluentWindsor.<>c.b__12_0(Assembly x)
at FluentlyWindsor.AssemblyScanner.FindAssemblies(Predicate`1 isTrueOf)
at FluentlyWindsor.FluentWindsor.WithInstallers()
at FluentWindsor.Tests.Given_We_Are_Fluently_Registering.SetUp() in C:\code\fluentwindsor\FluentWindsor\FluentWindsor.Tests\Given_We_Are_Fluently_Registering.cs:line 14
Failed Then_We_Should_Be_Able_To_Resolve_ServiceC
Error Message:
System.Exception : FluentWindsor::Assembly Load Errors(If you use nuget please consolidate your versions or try installing the missing assemblies below, otherwise delete your bin/obj folders outside visual studio and then recompile and fix the missing assembly reference errors in your project) ->

System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
File name: 'Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'

=== Pre-bind state information ===
LOG: DisplayName = Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
(Fully-specified)
LOG: Appbase = file:///C:/code/fluentwindsor/FluentWindsor/FluentWindsor.Tests/bin/Debug/net461/
LOG: Initial PrivatePath = NULL

Calling assembly : NUnit3.TestAdapter, Version=3.8.0.0, Culture=neutral, PublicKeyToken=4cb40d35494691ac.

LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\code\fluentwindsor\FluentWindsor\FluentWindsor.Tests\bin\Debug\net461\FluentWindsor.Tests.dll.config
LOG: Using host configuration file:
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: Post-policy reference: Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
LOG: The same bind was seen before, and was failed with hr = 0x80070002.
,System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
File name: 'Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'

=== Pre-bind state information ===
LOG: DisplayName = Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
(Fully-specified)
LOG: Appbase = file:///C:/code/fluentwindsor/FluentWindsor/FluentWindsor.Tests/bin/Debug/net461/
LOG: Initial PrivatePath = NULL

Calling assembly : NUnit3.TestAdapter, Version=3.8.0.0, Culture=neutral, PublicKeyToken=4cb40d35494691ac.

LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\code\fluentwindsor\FluentWindsor\FluentWindsor.Tests\bin\Debug\net461\FluentWindsor.Tests.dll.config
LOG: Using host configuration file:
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: Post-policy reference: Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
LOG: The same bind was seen before, and was failed with hr = 0x80070002.
,System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
File name: 'Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'

=== Pre-bind state information ===
LOG: DisplayName = Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
(Fully-specified)
LOG: Appbase = file:///C:/code/fluentwindsor/FluentWindsor/FluentWindsor.Tests/bin/Debug/net461/
LOG: Initial PrivatePath = NULL

Calling assembly : NUnit3.TestAdapter, Version=3.8.0.0, Culture=neutral, PublicKeyToken=4cb40d35494691ac.

LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\code\fluentwindsor\FluentWindsor\FluentWindsor.Tests\bin\Debug\net461\FluentWindsor.Tests.dll.config
LOG: Using host configuration file:
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: Post-policy reference: Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
LOG: The same bind was seen before, and was failed with hr = 0x80070002.

Stack Trace:
at FluentlyWindsor.Extensions.AssemblyExtensions.HasAnyTypeThatImplementsInterfaceT
at FluentlyWindsor.FluentWindsor.<>c.b__12_0(Assembly x)
at FluentlyWindsor.AssemblyScanner.FindAssemblies(Predicate`1 isTrueOf)
at FluentlyWindsor.FluentWindsor.WithInstallers()
at FluentWindsor.Tests.Given_We_Are_Fluently_Registering.SetUp() in C:\code\fluentwindsor\FluentWindsor\FluentWindsor.Tests\Given_We_Are_Fluently_Registering.cs:line 14
Failed Then_We_Should_Be_Able_To_Discover_Assemblies_That_Has_Any_Type_That_Implements_An_Interface
Error Message:
System.Exception : FluentWindsor::Assembly Load Errors(If you use nuget please consolidate your versions or try installing the missing assemblies below, otherwise delete your bin/obj folders outside visual studio and then recompile and fix the missing assembly reference errors in your project) ->

System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
File name: 'Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'

=== Pre-bind state information ===
LOG: DisplayName = Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
(Fully-specified)
LOG: Appbase = file:///C:/code/fluentwindsor/FluentWindsor/FluentWindsor.Tests/bin/Debug/net461/
LOG: Initial PrivatePath = NULL

Calling assembly : NUnit3.TestAdapter, Version=3.8.0.0, Culture=neutral, PublicKeyToken=4cb40d35494691ac.

LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\code\fluentwindsor\FluentWindsor\FluentWindsor.Tests\bin\Debug\net461\FluentWindsor.Tests.dll.config
LOG: Using host configuration file:
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: Post-policy reference: Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
LOG: The same bind was seen before, and was failed with hr = 0x80070002.
,System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
File name: 'Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'

=== Pre-bind state information ===
LOG: DisplayName = Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
(Fully-specified)
LOG: Appbase = file:///C:/code/fluentwindsor/FluentWindsor/FluentWindsor.Tests/bin/Debug/net461/
LOG: Initial PrivatePath = NULL

Calling assembly : NUnit3.TestAdapter, Version=3.8.0.0, Culture=neutral, PublicKeyToken=4cb40d35494691ac.

LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\code\fluentwindsor\FluentWindsor\FluentWindsor.Tests\bin\Debug\net461\FluentWindsor.Tests.dll.config
LOG: Using host configuration file:
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: Post-policy reference: Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
LOG: The same bind was seen before, and was failed with hr = 0x80070002.
,System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
File name: 'Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'

=== Pre-bind state information ===
LOG: DisplayName = Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
(Fully-specified)
LOG: Appbase = file:///C:/code/fluentwindsor/FluentWindsor/FluentWindsor.Tests/bin/Debug/net461/
LOG: Initial PrivatePath = NULL

Calling assembly : NUnit3.TestAdapter, Version=3.8.0.0, Culture=neutral, PublicKeyToken=4cb40d35494691ac.

LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\code\fluentwindsor\FluentWindsor\FluentWindsor.Tests\bin\Debug\net461\FluentWindsor.Tests.dll.config
LOG: Using host configuration file:
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: Post-policy reference: Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
LOG: The same bind was seen before, and was failed with hr = 0x80070002.

Stack Trace:
at FluentlyWindsor.Extensions.AssemblyExtensions.HasAnyTypeThatImplementsInterfaceT
at FluentlyWindsor.FluentWindsor.<>c.b__12_0(Assembly x)
at FluentlyWindsor.AssemblyScanner.FindAssemblies(Predicate`1 isTrueOf)
at FluentlyWindsor.FluentWindsor.WithInstallers()
at FluentWindsor.Tests.Given_We_Are_Fluently_Registering.SetUp() in C:\code\fluentwindsor\FluentWindsor\FluentWindsor.Tests\Given_We_Are_Fluently_Registering.cs:line 14
Failed Then_We_Should_Be_Able_To_Discover_Assemblies_That_Has_Any_Type_That_Inherits_From
Error Message:
System.Exception : FluentWindsor::Assembly Load Errors(If you use nuget please consolidate your versions or try installing the missing assemblies below, otherwise delete your bin/obj folders outside visual studio and then recompile and fix the missing assembly reference errors in your project) ->

System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
File name: 'Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'

=== Pre-bind state information ===
LOG: DisplayName = Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
(Fully-specified)
LOG: Appbase = file:///C:/code/fluentwindsor/FluentWindsor/FluentWindsor.Tests/bin/Debug/net461/
LOG: Initial PrivatePath = NULL

Calling assembly : NUnit3.TestAdapter, Version=3.8.0.0, Culture=neutral, PublicKeyToken=4cb40d35494691ac.

LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\code\fluentwindsor\FluentWindsor\FluentWindsor.Tests\bin\Debug\net461\FluentWindsor.Tests.dll.config
LOG: Using host configuration file:
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: Post-policy reference: Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
LOG: The same bind was seen before, and was failed with hr = 0x80070002.
,System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
File name: 'Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'

=== Pre-bind state information ===
LOG: DisplayName = Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
(Fully-specified)
LOG: Appbase = file:///C:/code/fluentwindsor/FluentWindsor/FluentWindsor.Tests/bin/Debug/net461/
LOG: Initial PrivatePath = NULL

Calling assembly : NUnit3.TestAdapter, Version=3.8.0.0, Culture=neutral, PublicKeyToken=4cb40d35494691ac.

LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\code\fluentwindsor\FluentWindsor\FluentWindsor.Tests\bin\Debug\net461\FluentWindsor.Tests.dll.config
LOG: Using host configuration file:
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: Post-policy reference: Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
LOG: The same bind was seen before, and was failed with hr = 0x80070002.
,System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
File name: 'Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'

=== Pre-bind state information ===
LOG: DisplayName = Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
(Fully-specified)
LOG: Appbase = file:///C:/code/fluentwindsor/FluentWindsor/FluentWindsor.Tests/bin/Debug/net461/
LOG: Initial PrivatePath = NULL

Calling assembly : NUnit3.TestAdapter, Version=3.8.0.0, Culture=neutral, PublicKeyToken=4cb40d35494691ac.

LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\code\fluentwindsor\FluentWindsor\FluentWindsor.Tests\bin\Debug\net461\FluentWindsor.Tests.dll.config
LOG: Using host configuration file:
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: Post-policy reference: Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
LOG: The same bind was seen before, and was failed with hr = 0x80070002.

Stack Trace:
at FluentlyWindsor.Extensions.AssemblyExtensions.HasAnyTypeThatImplementsInterfaceT
at FluentlyWindsor.FluentWindsor.<>c.b__12_0(Assembly x)
at FluentlyWindsor.AssemblyScanner.FindAssemblies(Predicate`1 isTrueOf)
at FluentlyWindsor.FluentWindsor.WithInstallers()
at FluentWindsor.Tests.Given_We_Are_Fluently_Registering.SetUp() in C:\code\fluentwindsor\FluentWindsor\FluentWindsor.Tests\Given_We_Are_Fluently_Registering.cs:line 14

Total tests: 6. Passed: 0. Failed: 6. Skipped: 0.
Test Run Failed.
Test execution time: 2.3851 Seconds
Test run for C:\code\fluentwindsor\FluentWindsor\FluentWindsor.Tests\bin\Debug\netcoreapp2.0\FluentWindsor.Tests.dll(.NETCoreApp,Version=v2.0)
Microsoft (R) Test Execution Command Line Tool Version 15.3.0-preview-20170628-02
Copyright (c) Microsoft Corporation. All rights reserved.

Starting test execution, please wait...
NUnit Adapter 3.8.0.0: Test execution started
Running all tests in C:\code\fluentwindsor\FluentWindsor\FluentWindsor.Tests\bin\Debug\netcoreapp2.0\FluentWindsor.Tests.dll
NUnit3TestExecutor converted 6 of 6 NUnit test cases
NUnit Adapter 3.8.0.0: Test execution complete

Total tests: 6. Passed: 6. Failed: 0. Skipped: 0.
Test Run Successful.
Test execution time: 2.6363 Seconds
```

Bump

I had the same problem. Adding a reference to the Microsoft.VisualStudio.TestPlatform.ObjectModel package solved it for me.

Any news here?

I had the same problem. Adding a reference to the Microsoft.VisualStudio.TestPlatform.ObjectModel package solved it for me.

I looked but this does not look like an official Microsoft package.

@kidchenko

Are you also using the following package?

<PackageReference Include="NUnit3TestAdapter" Version="3.8.0" />

What dotnet framework are you targeting? In Windsor we are targeting net45 and netcoreapp1.0.

I have the same error the trying to run .net core 2.0 based NUnit test on VSTS using Test Plan option. I'm using C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\Extensions\TestPlatform\vstest.console.exe
Any help would be appreciated

@OrangeTimes - Can you please try installing the following NuGet and tell me if it works?

<ItemGroup>
        <PackageReference Include="NUnit" Version="3.8.1" />
        <PackageReference Include="NUnit3TestAdapter" Version="3.8.0" />
        <PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.3.0" />
</ItemGroup>

@fir3pho3nixx I did so and I have the same error, though i noticed that my initial error was different from yours "Could not load type 'Microsoft.VisualStudio.TestPlatform.Common.FilterExpressionWrapper' from assembly 'Microsoft.VisualStudio.TestPlatform.Common, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.":
My story is that I try to setup VSTS build step to run couple of NUnit test that are attached to test plan on .Net Core 2.0. And there absolutely no info how to do it correctly (though I managed to run tests but without the test plan which I need). I'm trying different solutions and combinations (I managed to get it working but on .net full framework). I have read that one way to fix it is to use vstest.console.exe from C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\Extensions\TestPlatform\vstest.console.exe but I receive this weird error now.

@OrangeTimes - Can you try something for me quick?

Please add this package and let me know if it works now:

<PackageReference Include="Microsoft.TestPlatform.ObjectModel" Version="11.0.0" />

@fir3pho3nixx I have tried and I receive the same error. Maybe I need to copy the contents of this nuget to C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\Extensions\TestPlatform
during build process?

I would try avoid this.

@fir3pho3nixx I think i have a different root cause and need to create a separate issue, in order not to confuse anyone more.

@fir3pho3nixx I couldn't repro the issue with latest dotnet sdk, See below image. I see there is no nunit3testadpater reference in test project.

image

@smadala thanks for checking. This problem has moved significantly since I first posted. Let me check again.

@fir3pho3nixx My bad, I checkout wrong branch.
Looks like you are trying to load all the assemblies from current appdomain base directory(Code here and here), Unfortunately NUnit3.TestAdapter present in app domain base directory but all of it's dependencies.

After below patch tests running fine.
FluentWindsor_NUnit.patch.txt

@cltshivash this was closed before I could validate it. Sorry about that was doing Castle work over the weekend.

Did not think this issue was time sensitive as it had been open for a while.

@fir3pho3nixx : Please reopen if the issue persists

I get the same error with the JetBrains Rider IDE. Same project works fine with VS2017 v.15.6.3.
I wonder, will this get organically fixed on Rider side whenever they update their dotnet components, or should I report the issue to JetBrains?

@blelem This wasn't bug on vstest https://github.com/Microsoft/vstest/issues/1098#issuecomment-364358027. If your test/product code dealing with appdomains this can happens. Use fusion logs to determine what going wrong.

@smalada Thanks for the hint. I now tried to run the tests from dotnet cli (v 2.1.101), and I get the same result (System.TypeLoadException : Could not load type 'Microsoft.VisualStudio.TestPlatform.ObjectModel.Navigation.DiaSourceClass' from assembly 'Microsoft.)
This rules Rider out of the equation. The problem happens on my mac, same test works fine on my Windows VM. Is there something equivalent to fusion logs on the mac dotnet front?

This still seems to be an issue.

I use xUnit and I still get this in one of my test projects. The solution is to add the ObjectModel package but why do I have to do that?

Was this page helpful?
0 / 5 - 0 ratings