We recently upgraded our MVC 6 project to the beta2 and .Net Core is complaining that it cannot use System.Convert. Can someone tell me where this has been moved?
My project JSON contains the following for Core:
"aspnetcore50": {
"dependencies": {
"System.Runtime": "4.0.20-beta-22416",
"System.Threading.Tasks": "4.0.10-beta-22416",
"System.Net.Http": "4.0.0-beta-22416",
"Newtonsoft.Json": "6.0.6.0",
"System.Collections": "4.0.10-beta-22416"
}
}
You can use the unofficial package search website to see in which package a certain API is.
System.Convert
is in System.Runtime.Extensions
if you are are using CoreCLR (aspnetcore50)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With