Upgraded to 4.6.1 and build fails because of a missing reference???

adamv's Avatar


20 Jan, 2016 06:42 PM


So I upgraded to 4.6.1 from 4.5.1 and it builds locally and runs as well but when I build on appveyor I get the following error:

The type 'System.Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.

Have you seen this? Is this something I have to manually edit in my SLN or Proj files to tell MSBuild the right target?

I checked my SLN and I have Visual Studio 14 header.

Any help appreciated!


  1. Support Staff 1 Posted by Feodor Fitsner on 20 Jan, 2016 06:46 PM

    Feodor Fitsner's Avatar

    Hi Adam,

    Make sure you use Visual Studio 2015 build worker image: http://www.appveyor.com/blog/2015/08/02/visual-studio-2015-rtm

  2. 2 Posted by adamv on 20 Jan, 2016 08:38 PM

    adamv's Avatar

    That was it! I knew it was something simple!!! Thank you!

  3. adamv closed this discussion on 20 Jan, 2016 08:39 PM.

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

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