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

adamv's Avatar

adamv

20 Jan, 2016 06:42 PM

Hey,

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=4.0.0.0, 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!

Adam

  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

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

Recent Discussions

17 Jul, 2019 12:16 AM
17 Jul, 2019 12:15 AM
16 Jul, 2019 10:50 PM
16 Jul, 2019 07:47 PM
16 Jul, 2019 06:34 PM

 

16 Jul, 2019 05:17 PM
16 Jul, 2019 10:17 AM
16 Jul, 2019 07:46 AM
15 Jul, 2019 06:33 PM
15 Jul, 2019 06:09 PM
15 Jul, 2019 05:53 PM