I am new to this area. I have already updated VS2015 with Update 3. Now I have: .Net Core 1.0.0 with Preview Tool 2 installed.
Then I use VS2015 to create a new .Net Source project (class library). I copied some existing .net 4.6.1 code to a new location and compiled the error, as expected. Then I use the "migration analyzer tool" ( https://docs.microsoft.com/en-us/dotnet/articles/core/porting/index ) to compare, and this gave some suggestion on how to use the new method in .Net core.
But there are several more classes that are missing and cannot compile, for example, "TypeDescriptor" or "NullableConverter", etc. Then I googled and someone from Github said that they already added this function, but I still don't know why I still get a compilation error.
I also noticed that my libary project class has a project.json file like:
"frameworks": {
"netstandard1.6": {
"imports": "dnxcore50"
}
}
I found that if I remove 'netstandard1.6', but change to:
"frameworks": {
"net461": {}
}
The whole compilation error went away, but I could guess that this is NOT a .Net core project, and more likely, as a standard .Net 4.6.1 project.
So basically I would like to ask:
Why does the developer from Github say it is fixed already, but I still could not find / compile these classes in my project (for example, TypeDescriptor: https://github.com/dotnet/corefx/issues/8262 )?
"net461", "netstard1.6" "netcoreapp1.0" "frameworks" project.json. ?
'net461' , , , .Net Framework 4.6.1. ?
!