I am working on one of these new projects, "Class Library (NuGet Package)" in Visual Studio. Everything went well until the other day there was an error in the assembly System.Runtime.Extensions:
Assembly 'System.Runtime.Extensions' with identity 'System.Runtime.Extensions,
Version=4.0.10.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' uses 'System.Runtime,
Version=4.0.20.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' which has a higher
version than referenced assembly 'System.Runtime' with identity 'System.Runtime,
Version=4.0.10.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
I checked on NuGet , and it is really true, System.Runtime.Extensionsrequires System.Runtimeat least 4.0.20.
I tried changing the following line in "dependencies"my section project.json:
"System.Runtime": "4.0.10-beta-23019",
before "4.0.20-beta-23019", but then he tells me that "type IOExceptionexists in both System.IO, and in System.Runtime."
What can I do to fix this?
Thanks.
EDIT: Just tried this on the new project of the new package, and it seems to fail too, so something is wrong.