In the .Net Standard 1.5 project (1.6 is installed from nuget).
I cannot use the extension methods Linqthat are in System.Linq.Enumerable.
like Where, Selectmethods onLIST<string>
I have already installed below packages:
"System.Linq": "4.3.0",
"System.Linq.Expressions": "4.3.0",
"System.Linq.Queryable": "4.3.0",
Update
Example:
using System.Linq;
List<string> myList = new List();
myList =
myList.Where(
Note
System.Linq.Enumerable static class containing extension methods is not available.
Update 2
{
"supports": {},
"dependencies": {
"Chance.MvvmCross.Plugins.UserInteraction": "1.1.4",
"Fody": "1.29.4",
"MethodDecorator.Fody": "0.9.0.6",
"Microsoft.NETCore.Portable.Compatibility": "1.0.1",
"MvvmCross": "4.3.0",
"MvvmCross.Platform": "4.3.0",
"NEST": "5.0.0",
"NETStandard.Library": "1.6.1",
"Newtonsoft.Json": "9.0.1",
"PropertyChanged.Fody": "1.52.1",
"System.Linq": "4.3.0",
"System.Linq.Expressions": "4.3.0",
"System.Linq.Queryable": "4.3.0",
"System.ServiceModel": "1.0.0",
"System.ServiceModel.Http": "4.3.0",
"System.ServiceModel.Security": "4.3.0"
},
"frameworks": {
"netstandard1.5": {
"imports": "portable-net45+netcore45+wp8"
}
}
}
source
share