FsUnit support?

Lilith River's Avatar

Lilith River

09 Apr, 2014 07:55 AM

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. 1 Posted by jay on 09 Apr, 2014 06:00 PM

    jay's Avatar

    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. 2 Posted by ryan on 22 Apr, 2014 06:34 PM

    ryan's Avatar

    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. 3 Posted by ryan on 22 Apr, 2014 06:35 PM

    ryan's Avatar

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

  4. 4 Posted by Jon on 22 May, 2014 09:17 PM

    Jon's Avatar

    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

 

09 Jun, 2025 07:11 PM
04 Jun, 2025 04:08 PM
27 May, 2025 05:48 PM
27 May, 2025 06:37 AM
27 May, 2025 06:31 AM
20 May, 2025 02:54 PM