haf / expecto

A smooth testing lib for F#. APIs made for humans! Strong testing methodologies for everyone!
Apache License 2.0
663 stars 96 forks source link

Expecto 8.1.1.0 seems to rely on FSharp.Core 4.4.3.0 #301

Closed jackfoxy closed 5 years ago

jackfoxy commented 5 years ago
Unhandled Exception: System.TypeInitializationException: The type initializer for '<StartupCode$Expecto>.$Expecto' threw an exception. ---> System.IO.FileLoadException: Could not load file or assembly 'FSharp.Core, Version=4.4.3.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
   at <StartupCode$Expecto>.$Expecto..cctor()
   --- End of inner exception stack trace ---
   at asdf.Tests.RunTests.main(String[] args)

Does not recognize FSharp.Core 4.5.0.0 is available.

jackfoxy commented 5 years ago

I think rather the problem is Fake.Dotnet.Testing.Expecto is stuck on 7.0.1 closing until I do better research

jackfoxy commented 5 years ago

Nope. Actual problem is with Expecto.VisualStudio.TestAdapter 10.0.1, which requested package Newtonsoft.Json: >= 10.0 < 11.0

Fake.DotNet.Cli 5.0.0 requested package Newtonsoft.Json: >= 11.0.2

causing Fake to downgrade Expecto

I'll report problem in Expecto.VisualStudio.TestAdapter project

jackfoxy commented 5 years ago

https://github.com/adamchester/expecto-adapter/issues/46