.net core project with nunit 3 tests referencing a .net framework project not working

cedd's Avatar


31 Jul, 2020 02:42 PM

Hi there

I have a .net core project, with nunit 3 tests, referencing a .net framework, and everything works locally, but not on appveyor.

I have used the matching versions of things locally as below, and done a fresh checkout of the repo, and it still works locally, but fails on appveyor
Dotnet test 16.6.0
msbuild 16.6.0+5ff7b0c9e

You can see the build here

Some things to note:
nuget on appveyor shows a lot of warnings, that I don't see locally (although it is the same version)
msbuild output is the same locally and on AppVeyor
dotnet test output is different locally

The error returned is "Could not load file or assembly 'System.IO.Packaging'", which is something that it needs.



Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? 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