These are chat archives for Microsoft/CodeContracts

24th
Feb 2016
Onur Gumus
@OnurGumus
Feb 24 2016 12:43
with new newtonsoft.json I am getting below error:
All packages listed in C:\Users\onur.gumus\Documents\Projects\PIWorks.Web\PIWorks.Web.WebAPI.Client\packages.config are already installed.
3> elapsed time: 1183,8611ms
3> Reading assembly 'Newtonsoft.Json' from 'C:\Users\onur.gumus\Documents\Projects\PIWorks.Web\packages\Newtonsoft.Json.8.0.2\lib\portable-net40+sl5+wp80+win8+wpa81\Newtonsoft.Json.dll' resulted in errors.
3> Could not resolve type reference: [mscorlib]System.IConvertible.
3> Could not resolve type reference: [mscorlib]System.TypeCode.
3> Could not resolve member reference: System.IConvertible::GetTypeCode.
3> Could not resolve member reference: System.IConvertible::ToBoolean.
3> Could not resolve member reference: System.IConvertible::ToChar.
3> Could not resolve member reference: System.IConvertible::ToSByte.
3> Could not resolve member reference: System.IConvertible::ToByte.
3> Could not resolve member reference: System.IConvertible::ToInt16.
3> Could not resolve member reference: System.IConvertible::ToUInt16.
3> Could not resolve member reference: System.IConvertible::ToInt32.
3> Could not resolve member reference: System.IConvertible::ToUInt32.
3> Could not resolve member reference: System.IConvertible::ToInt64.
3> Could not resolve member reference: System.IConvertible::ToUInt64.
3> Could not resolve member reference: System.IConvertible::ToSingle.
3> Could not resolve member reference: System.IConvertible::ToDouble.
3> Could not resolve member reference: System.IConvertible::ToDecimal.
3> Could not resolve member reference: System.IConvertible::ToDateTime.
3> Could not resolve member reference: System.IConvertible::ToType.
3>ccrewrite : error : Rewrite aborted due to metadata errors. Check output window