I’m using the monogame nuget binaries package from nuget.org and building for .Net 4 however I get build problems like ;
Error 1 The type ‘System.IDisposable’ 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’.
According to ILSpy then the monogame dll contains the reference System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
which I believe is a façade for .NET 4.5. I don’t have 4.5 only 4 so cannot add the required reference and so although I want to target version 4 it seems the nuget build contains the wrong reference.