FsUnit support?

Does AppVeyor support FsUnit/xUnit?

https://ci.appveyor.com/project/nathanaeljones/resizer

I'm getting the following exception trying to test with FsUnit.

System.IO.FileLoadException: Could not load file or assembly 'FSharp.Core, Version=4.0.0.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)
85File name: 'FSharp.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'

  1. I use fsunit/xunit (https://ci.appveyor.com/project/jbtule/composableextensions), have a very different build setup though. But it is using the appveyor auto discovered test and is working with my binding redirects for both 2.0 and 4.0 runtimes.

  2. We have working fsunit/xunit through a FAKE script. If you aren't using FAKE, I highly recommend it: http://fsharp.github.io/FAKE.

  3. Also, you generally need to set FSharp.Core to CopyLocal in order to build on CI servers.

  4. For me it was the auto discovery of tests; specifying the assemblies in the yml fixed it.

  5. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:43 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac